/* Securex — design tokens from React prototype */
:root {
  --sx-green: #006341;
  --sx-green-dark: #005535;
  --sx-gold: #d4af37;
  --sx-gold-bright: #f9d949;
  --sx-text: #0a0a0a;
  --sx-muted: #717182;
  --sx-border: rgba(0, 0, 0, 0.1);
  --sx-urgent-from: #e7000b;
  --sx-urgent-to: #9f0712;
  --sx-footer: #1a1a2e;
  --sx-radius: 12px;
  --sx-max: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body.securex-theme {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--sx-text);
  background: #fff;
  line-height: 1.6;
}

/* —— شاشات صغيرة وتابلت: منع الانزلاق الأفقي —— */
@media (max-width: 1023px) {
  html {
    overflow-x: hidden;
    max-width: 100%;
  }

  body.securex-theme {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .site {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .site-main {
    max-width: 100%;
    min-width: 0;
  }

  iframe,
  video,
  embed,
  object {
    max-width: 100%;
  }

  pre,
  code {
    max-width: 100%;
    overflow-x: auto;
    word-break: break-word;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sx-container {
  width: 100%;
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* —— Header —— */
.securex-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--sx-border);
}

.securex-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.securex-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.securex-logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sx-green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.securex-logo__mark img {
  width: 24px;
  height: 24px;
}

.securex-logo__text p {
  margin: 0;
  line-height: 1.2;
}

.securex-logo__name {
  font-size: 1.25rem;
  font-weight: 700;
}

.securex-logo__tag {
  font-size: 0.75rem;
  color: var(--sx-muted);
}

.securex-nav__desktop {
  display: none;
}

@media (min-width: 1024px) {
  .securex-nav__desktop {
    display: block;
  }
  .securex-nav__toggle {
    display: none;
  }

  .securex-nav__mobile-shell {
    display: none !important;
  }
}

.securex-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.securex-nav__list a {
  font-size: 1rem;
  color: #364153;
  transition: color 0.2s;
}

.securex-nav__list a:hover,
.securex-nav__list .current-menu-item > a {
  color: var(--sx-green);
  font-weight: 700;
}

.securex-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.securex-nav__toggle {
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.securex-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sx-text);
  margin: 5px 0;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.securex-nav__toggle.is-open .securex-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.securex-nav__toggle.is-open .securex-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.securex-nav__toggle.is-open .securex-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* قائمة الجوال — مطابقة Navbar.tsx: شريط بعرض الشاشة + حشوة أفقية واضحة (px-6) */
.securex-nav__mobile-shell {
  display: none;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--sx-border);
}

.securex-nav__mobile-shell.is-open {
  display: block;
}

.securex-nav__mobile-inner {
  width: 100%;
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-block: 1rem 1.25rem;
  padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.securex-nav__mobile-inner .securex-nav__list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.securex-nav__mobile-inner .securex-nav__list li {
  margin: 0;
  padding: 0;
  border: 0;
}

.securex-nav__mobile-inner .securex-nav__list a {
  display: block;
  padding: 0.5rem 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #364153;
  text-decoration: none;
  text-align: start;
  border-radius: 0.5rem;
  transition: color 0.15s, background 0.15s;
}

.securex-nav__mobile-inner .securex-nav__list a:hover,
.securex-nav__mobile-inner .securex-nav__list .current-menu-item > a {
  color: var(--sx-green);
  font-weight: 700;
  background: rgba(0, 99, 65, 0.06);
}

body.securex-nav-mobile-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.securex-nav-mobile-open {
    overflow: auto;
  }
}

/* Buttons */
.sx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.sx-btn--primary {
  background: var(--sx-green);
  color: #fff;
}

.sx-btn--primary:hover {
  background: var(--sx-green-dark);
}

.sx-btn--ghost {
  background: rgba(0, 99, 65, 0.1);
  color: var(--sx-green);
}

.sx-btn--ghost:hover {
  background: rgba(0, 99, 65, 0.2);
}

.sx-btn--urgent {
  background: linear-gradient(to left, var(--sx-urgent-from), var(--sx-urgent-to));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.sx-btn--urgent:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero */
.sx-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    206deg,
    rgba(0, 99, 65, 0.05) 0%,
    #fff 50%,
    rgba(212, 175, 55, 0.05) 100%
  );
  padding-block: 3rem;
}

.sx-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
  .sx-hero__text {
    order: 1;
  }
  .sx-hero__visual {
    order: 2;
  }
}

.sx-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--sx-gold);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.sx-hero__title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

.sx-hero__title span {
  color: var(--sx-green);
}

.sx-hero__desc {
  font-size: 1.05rem;
  color: var(--sx-muted);
  max-width: 36rem;
  margin: 1.5rem 0 2rem;
}

.sx-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.sx-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.sx-checklist svg {
  flex-shrink: 0;
  color: var(--sx-green);
}

.sx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sx-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sx-border);
  text-align: center;
}

.sx-hero__stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--sx-green);
}

.sx-hero__stats span {
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.securex-hero-grid {
  position: relative;
  height: 320px;
}

@media (min-width: 1024px) {
  .securex-hero-grid {
    height: 420px;
  }
}

.securex-hero-grid__pos1 {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 65%;
  height: 55%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.securex-hero-grid__pos2 {
  position: absolute;
  top: 18%;
  inset-inline-start: 0;
  width: 38%;
  height: 50%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.securex-hero-grid__pos3 {
  position: absolute;
  bottom: 0;
  inset-inline-end: 10%;
  width: 52%;
  height: 45%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.securex-hero-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections */
.sx-section {
  padding-block: 4rem;
}

.sx-section--muted {
  background: #f8faf8;
}

.sx-section__head {
  text-align: center;
  margin-bottom: 3rem;
}

.sx-section__head .sx-badge {
  margin-bottom: 1rem;
}

.sx-section__head h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.sx-section__head p {
  color: var(--sx-muted);
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Service cards */
.sx-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .sx-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .sx-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sx-card {
  background: #fff;
  border-radius: var(--sx-radius);
  overflow: hidden;
  border: 1px solid var(--sx-border);
  transition: box-shadow 0.2s;
}

.sx-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.sx-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.sx-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-card__body {
  padding: 1.25rem;
}

.sx-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.sx-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sx-muted);
}

.sx-card__badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: #9a7b0a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* Home services — matches ServiceCard.tsx */
.sx-home-service-card {
  background: #fff;
  border-radius: 1rem;
  border: 1.5px solid rgba(26, 107, 58, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.sx-home-service-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.sx-home-service-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sx-home-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sx-home-service-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 77, 46, 0.8), transparent);
  pointer-events: none;
}

.sx-home-service-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f9d949;
  color: #1a4d2e;
  padding: 0.35rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.sx-home-service-card__shield {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #1a6b3a, #065f46);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.sx-home-service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.sx-home-service-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #1a4d2e;
  line-height: 1.3;
}

.sx-home-service-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #364153;
}

.sx-home-service-card__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.sx-home-service-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: #364153;
}

.sx-home-service-card__features li:last-child {
  margin-bottom: 0;
}

.sx-home-service-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #1a6b3a, #f9d949);
}

.sx-home-service-card__feat-text {
  flex: 1;
  text-align: right;
}

.sx-home-service-card__cta {
  display: block;
  text-align: center;
  border: 1.5px solid #1a6b3a;
  color: #1a6b3a;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sx-home-service-card__cta:hover {
  background: #1a6b3a;
  color: #fff;
}

/* Why section */
.sx-why {
  background: var(--sx-green);
  color: #fff;
  padding-block: 4rem;
}

.sx-why h2,
.sx-why .sx-section__head p {
  color: #fff;
}

.sx-why .sx-section__head p {
  opacity: 0.85;
}

.sx-why-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .sx-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sx-why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sx-why-item {
  text-align: center;
}

.sx-why-icon {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  background: var(--sx-gold-bright);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  color: var(--sx-green);
  font-size: 1.75rem;
}

.sx-why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 2rem;
}

.sx-why-stats > div {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  text-align: center;
}

.sx-why-stats strong {
  display: block;
  font-size: 1.75rem;
  color: var(--sx-gold-bright);
}

/* CTA / contact block */
.sx-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .sx-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-info-card {
  background: #fff;
  border-radius: var(--sx-radius);
  padding: 1.25rem;
  border: 1px solid var(--sx-border);
  margin-bottom: 1rem;
}

.sx-info-card strong {
  display: block;
  color: var(--sx-green);
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.sx-form {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--sx-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.sx-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.sx-form input,
.sx-form select,
.sx-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 0;
  background: #f3f3f5;
  font: inherit;
  margin-bottom: 1rem;
}

.sx-form textarea {
  min-height: 120px;
  resize: vertical;
}

.sx-alert--ok {
  text-align: center;
  padding: 2rem;
  color: var(--sx-green);
}

/* Home — contact CTA (HomePage.tsx) */
.sx-home-contact .sx-section__head {
  margin-bottom: 4rem;
}

.sx-home-contact .sx-section__head h2 {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #0a0a0a;
}

.sx-home-contact .sx-section__head p {
  font-size: 1.0625rem;
  max-width: 42rem;
}

.sx-badge--contact {
  background: rgba(0, 99, 65, 0.1);
  color: var(--sx-green);
  margin-bottom: 1rem;
}

.sx-home-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .sx-home-contact__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.sx-home-contact__h3 {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-home-contact__h3--hours {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.sx-home-contact__cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sx-home-contact__card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-home-contact__card-label {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sx-green);
}

.sx-home-contact__card-value {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #364153;
  white-space: pre-line;
}

.sx-home-contact__hours {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sx-home-contact__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.sx-home-contact__hours-label {
  color: var(--sx-muted);
}

.sx-home-contact__hours-value {
  color: #364153;
  font-weight: 500;
}

.sx-home-contact__form {
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

@media (min-width: 640px) {
  .sx-home-contact__form {
    padding: 2rem;
  }
}

.sx-home-contact__form-title {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-home-contact__form-lead {
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-home-contact__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .sx-home-contact__fields {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sx-home-contact__field--full {
  grid-column: 1 / -1;
}

.sx-home-contact__field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.35rem;
  text-align: right;
}

.sx-home-contact__field input,
.sx-home-contact__field select,
.sx-home-contact__field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 0;
  background: #f3f3f5;
  font: inherit;
  font-size: 0.875rem;
  margin-bottom: 0;
  outline: none;
  transition: box-shadow 0.15s ease;
}

.sx-home-contact__field input:focus,
.sx-home-contact__field select:focus,
.sx-home-contact__field textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 99, 65, 0.25);
}

.sx-home-contact__field textarea {
  min-height: 7rem;
  resize: none;
}

.sx-home-contact__field select {
  color: var(--sx-muted);
}

.sx-home-contact__form.sx-form input,
.sx-home-contact__form.sx-form select,
.sx-home-contact__form.sx-form textarea {
  margin-bottom: 0;
}

.sx-home-contact__form.sx-form label {
  margin-bottom: 0.35rem;
}

.sx-home-contact__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.sx-home-contact__success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.sx-home-contact__success-icon {
  color: var(--sx-green);
  margin: 0 auto 1rem;
  display: block;
}

.sx-home-contact__success-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sx-green);
}

.sx-home-contact__success-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-home-contact__success-again {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-green);
  text-decoration: underline;
}

/* Footer */
.securex-footer {
  background: var(--sx-footer);
  color: #fff;
  padding-block: 4rem;
  margin-top: auto;
}

.securex-footer a {
  color: #9ca3af;
  transition: color 0.2s;
}

.securex-footer a:hover {
  color: var(--sx-gold-bright);
}

.securex-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .securex-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .securex-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.securex-footer h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.securex-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.securex-footer li {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.securex-footer__brand p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.7;
}

.securex-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Inner pages */
.sx-page-hero {
  padding: 3rem 0;
  background: linear-gradient(
    206deg,
    rgba(0, 99, 65, 0.06) 0%,
    #fff 100%
  );
  text-align: center;
}

.sx-page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.sx-page-body {
  padding: 2rem 0 4rem;
  max-width: 820px;
  margin-inline: auto;
}

.sx-page-body--wide {
  max-width: var(--sx-max);
}

.sx-page-body p {
  color: #364153;
  line-height: 1.85;
}

/* WooCommerce */
.woocommerce .securex-woo {
  padding: 2rem 0 4rem;
}

.securex-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.securex-product-card {
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  overflow: hidden;
  background: #fff;
}

.securex-product-card .woocommerce-loop-product__title {
  font-size: 1.1rem;
  padding: 0 1rem;
}

.securex-product-card .price {
  padding: 0 1rem 1rem;
  color: var(--sx-green);
  font-weight: 700;
}

.securex-checkout,
.securex-account {
  padding: 2rem 0 4rem;
}

.securex-checkout-page .site-main,
.woocommerce-checkout:not(.woocommerce-order-received) .site-main {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

/* حسابي: عرض كامل للهيرو، المحتوى يبقى ضمن sx-container */
.woocommerce-account .site-main {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.woocommerce-account .sx-page-body--wide {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin-bottom: 0.5rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: inherit;
  font-weight: 600;
}

.woocommerce table.shop_table {
  border-radius: var(--sx-radius);
}

/* Layout shell */
.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* —— Shop = Services page (ServicesPage.tsx hero: py-16, badge, h1 32–44px, sub 16px / white 80%) —— */
.sx-shop-hero {
  background: var(--sx-green);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.sx-shop-hero__inner {
  max-width: 37.5rem;
  margin-inline: auto;
}

.sx-shop-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sx-shop-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
}

.sx-shop-hero__sub {
  margin: 0 auto;
  max-width: 37.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.sx-shop-filters {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 1rem 0;
}

.sx-shop-filters__inner {
  overflow: hidden;
}

.sx-shop-filters__scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sx-shop-filters__scroll::-webkit-scrollbar {
  display: none;
}

.sx-shop-filter-pill {
  flex-shrink: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #364153;
  font-family: inherit;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.sx-shop-filter-pill:hover {
  border-color: var(--sx-green);
  color: var(--sx-green);
}

.sx-shop-filter-pill.is-active {
  background: var(--sx-green);
  border-color: var(--sx-green);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 99, 65, 0.25);
}

.sx-shop-filter-pill__count {
  display: inline-block;
  margin-inline-start: 0.35rem;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  background: #f3f3f5;
  color: #717182;
}

.sx-shop-filter-pill.is-active .sx-shop-filter-pill__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sx-shop-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.sx-shop-results__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-shop-results__num {
  font-weight: 700;
  color: var(--sx-green);
  margin-inline: 0.25rem;
}

.sx-shop-results__reset {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sx-green);
  cursor: pointer;
  font-family: inherit;
}

.sx-shop-results__reset:hover {
  text-decoration: underline;
}

.sx-shop-catalog {
  background: #f8faf8;
  margin: 0 -1.5rem;
  padding: 3.5rem 1.5rem;
}

.sx-shop-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--sx-max);
}

@media (min-width: 768px) {
  .sx-shop-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .sx-shop-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-service-card {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.sx-service-card__inner {
  background: #fff;
  border-radius: 1rem;
  border: 1.5px solid rgba(26, 107, 58, 0.15);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.sx-service-card__inner:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.sx-service-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #e8ebe8;
}

.sx-service-card__img-el,
.sx-service-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-service-card__placeholder {
  background: linear-gradient(135deg, #e8ebe8, #d1d5db);
}

.sx-service-card__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 61, 42, 0.75), transparent);
  pointer-events: none;
}

.sx-service-card__shield {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: linear-gradient(to bottom, #1a6b3a, #065f46);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sx-service-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sx-service-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a4d2e;
  text-align: right;
}

.sx-service-card__title a {
  color: inherit;
}

.sx-service-card__title a:hover {
  color: var(--sx-green);
}

.sx-service-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #364153;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sx-service-card__bullets {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.sx-service-card__bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: #364153;
  text-align: right;
}

.sx-service-card__bullets li span:last-child {
  flex: 1;
}

.sx-service-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(to bottom, #1a6b3a, var(--sx-gold-bright));
}

.sx-service-card__cta {
  display: block;
  text-align: center;
  border: 1.5px solid #1a6b3a;
  color: #1a6b3a;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.sx-service-card__cta:hover {
  background: #1a6b3a;
  color: #fff;
}

.sx-shop-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--sx-muted);
}

.sx-shop-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.35;
}

.sx-shop-why {
  padding: 4rem 0;
  background: #fff;
}

.sx-shop-why__head {
  text-align: center;
  margin-bottom: 3rem;
}

.sx-shop-why__badge {
  display: inline-block;
  background: rgba(0, 99, 65, 0.1);
  color: var(--sx-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.sx-shop-why__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.sx-shop-why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .sx-shop-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sx-shop-why__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sx-shop-why__card {
  background: #f8faf8;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-shop-why__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(0, 99, 65, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.sx-shop-why__card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.sx-shop-why__card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--sx-muted);
  line-height: 1.65;
}

.sx-shop-faq {
  padding: 4rem 0;
  background: #f8faf8;
}

.sx-shop-faq__inner {
  max-width: 800px;
  margin-inline: auto;
}

.sx-shop-faq__head {
  text-align: center;
  margin-bottom: 3rem;
}

.sx-shop-faq__badge {
  display: inline-block;
  background: rgba(0, 99, 65, 0.1);
  color: var(--sx-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.sx-shop-faq__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.sx-shop-faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sx-shop-faq__item {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.sx-shop-faq__summary {
  padding: 1.25rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  text-align: right;
}

.sx-shop-faq__summary::-webkit-details-marker {
  display: none;
}

.sx-shop-faq__item[open] .sx-shop-faq__summary {
  color: var(--sx-green);
}

.sx-shop-faq__answer {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.65;
}

.sx-shop-cta {
  padding: 4rem 0;
  background: var(--sx-green);
  color: #fff;
  text-align: center;
}

.sx-shop-cta__inner {
  max-width: 600px;
  margin-inline: auto;
}

.sx-shop-cta__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
}

.sx-shop-cta__sub {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.sx-shop-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.sx-shop-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sx-shop-cta__btn--primary {
  background: var(--sx-gold-bright);
  color: var(--sx-green);
}

.sx-shop-cta__btn--primary:hover {
  background: #e8c83a;
  color: var(--sx-green);
}

.sx-shop-cta__btn--outline {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 600;
}

.sx-shop-cta__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sx-shop-cta__phone-icon {
  display: inline-flex;
}

/* —— Single product = service detail (ServicesPage card + shop sections) —— */
.single-product .sx-container.securex-woo {
  max-width: none;
  width: 100%;
  padding-inline: 0;
}

.single-product.woocommerce .securex-woo {
  padding-top: 0;
  padding-bottom: 0;
}

.sx-single-service {
  margin: 0;
}

.sx-single-hero {
  background: var(--sx-green);
  color: #fff;
  text-align: center;
  padding: 2.25rem 0 3rem;
}

.sx-single-hero__inner {
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sx-single-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}

.sx-single-breadcrumb a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.sx-single-breadcrumb a:hover {
  text-decoration: underline;
}

.sx-single-breadcrumb__sep {
  opacity: 0.6;
  user-select: none;
}

.sx-single-breadcrumb__current {
  color: #fff;
  font-weight: 600;
}

.sx-single-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sx-single-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
}

.sx-single-hero__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.sx-single-hero__lead p {
  margin: 0;
}

.sx-single-body {
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sx-single-intro {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1rem;
}

@media (min-width: 900px) {
  .sx-single-intro {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
    gap: 2.5rem;
    padding-top: 3rem;
  }
}

.sx-single-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid rgba(26, 107, 58, 0.15);
  background: #f3f4f6;
  min-height: 220px;
}

.sx-single-media__img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .sx-single-media__img {
    min-height: 340px;
  }
}

.sx-single-media__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 61, 42, 0.72), transparent 55%);
  pointer-events: none;
}

.sx-single-media__shield {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 0.875rem;
  background: linear-gradient(to bottom, #1a6b3a, #065f46);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.sx-single-aside {
  text-align: right;
}

.sx-single-aside__label {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a4d2e;
}

.sx-single-features {
  margin-bottom: 1.5rem;
}

.sx-single-order {
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--sx-border);
}

.sx-single-order .price {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sx-green);
}

.sx-single-order form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.sx-single-order .quantity {
  margin: 0;
}

.sx-single-order .quantity .qty {
  min-height: 48px;
  border-radius: 0.5rem;
  border: 1px solid var(--sx-border);
  padding: 0.25rem 0.5rem;
  text-align: center;
}

.sx-single-order .single_add_to_cart_button {
  background: var(--sx-green);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.sx-single-order .single_add_to_cart_button:hover {
  background: #005535;
}

.sx-single-rich {
  max-width: 48rem;
  margin: 2rem auto 0;
  padding-bottom: 1rem;
  color: #364153;
  line-height: 1.85;
}

.sx-single-rich > *:first-child {
  margin-top: 0;
}

.sx-single-stats {
  padding: 2.5rem 0 1rem;
}

.sx-single-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .sx-single-stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.sx-single-stats__cell {
  background: #f8faf8;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.sx-single-stats__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sx-green);
  margin-bottom: 0.35rem;
}

.sx-single-stats__label {
  font-size: 0.8125rem;
  color: var(--sx-muted);
  line-height: 1.4;
}

/* ═══ Design pages: Contact / Careers / About (Securex React) ═══ */
.sx-design-page {
  font-family: Cairo, system-ui, sans-serif;
}

/* —— Contact —— */
.sx-cx-hero {
  position: relative;
  background: var(--sx-green);
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

.sx-cx-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.sx-cx-hero__inner {
  position: relative;
}

.sx-cx-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sx-cx-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.sx-cx-hero__lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.sx-cx-cards {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  margin-bottom: 4rem;
}

.sx-cx-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sx-cx-cards__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-cx-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.sx-cx-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sx-cx-card__icon--green {
  background: var(--sx-green);
  color: #fff;
}

.sx-cx-card__icon--gold {
  background: var(--sx-gold-bright);
  color: var(--sx-green);
}

.sx-cx-card__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-cx-card__line {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-cx-card__line a {
  color: inherit;
}

.sx-cx-card__line a:hover {
  color: var(--sx-green);
}

.sx-cx-main {
  padding-bottom: 5rem;
}

.sx-cx-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .sx-cx-main__grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.sx-cx-form-wrap {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-cx-form__h {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-cx-form__sub {
  margin: 0 0 2rem;
  font-size: 0.9375rem;
  color: var(--sx-muted);
}

.sx-cx-alert {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.sx-cx-alert--ok {
  background: rgba(0, 99, 65, 0.08);
  color: var(--sx-green);
}

.sx-cx-alert--err {
  background: #fef2f2;
  color: #b91c1c;
}

.sx-cx-form__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .sx-cx-form__row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-cx-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
}

.sx-cx-input,
.sx-cx-select,
.sx-cx-textarea {
  width: 100%;
  background: #f3f3f5;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.sx-cx-input:focus,
.sx-cx-select:focus,
.sx-cx-textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 99, 65, 0.25);
}

.sx-cx-textarea {
  resize: none;
}

.sx-cx-form__full {
  margin-bottom: 1.25rem;
}

.sx-cx-submit {
  width: 100%;
  background: var(--sx-green);
  color: #fff;
  border: 0;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

.sx-cx-submit:hover {
  background: #005535;
}

.sx-cx-aside {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sx-cx-aside__green {
  background: var(--sx-green);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem;
}

.sx-cx-aside__title {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.sx-cx-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sx-cx-aside__list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sx-cx-aside__list li:last-child {
  margin-bottom: 0;
}

.sx-cx-aside__ico {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.sx-cx-aside__item-title {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.sx-cx-aside__item-desc {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.sx-cx-aside__card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-cx-aside__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sx-cx-aside__cardbody {
  padding: 1.5rem;
}

.sx-cx-aside__headphones {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sx-cx-aside__headphones h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-cx-aside__support {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.65;
}

.sx-cx-map {
  background: #f8faf8;
  padding: 4rem 0;
  text-align: center;
}

.sx-cx-map__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--sx-green);
  color: #fff;
  border-radius: 1rem;
  display: grid;
  place-items: center;
}

.sx-cx-map__h {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-cx-map__line {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--sx-muted);
}

.sx-cx-map__line2 {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-cx-map__addr {
  color: var(--sx-muted);
  font-size: 0.9375rem;
  max-width: 32rem;
  margin-inline: auto;
}

.sx-cx-map__addr p {
  margin: 0.25rem 0;
}

/* —— Careers —— */
.sx-cr-hero {
  background: var(--sx-green);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.sx-cr-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sx-cr-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  font-weight: 700;
}

.sx-cr-hero__sub {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.sx-cr-benefits {
  padding: 4rem 0;
  background: #fff;
}

.sx-cr-benefits__h {
  margin: 0 0 3rem;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
}

.sx-cr-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .sx-cr-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-cr-benefit {
  background: #f8faf8;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-cr-benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: rgba(0, 99, 65, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.sx-cr-benefit h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.sx-cr-benefit p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.65;
}

.sx-cr-form-section {
  background: var(--sx-green);
  padding: 4rem 0;
}

.sx-cr-form-section__inner {
  max-width: 900px;
}

.sx-cr-form-head {
  text-align: center;
  color: #fff;
  margin-bottom: 2.5rem;
}

.sx-cr-form-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.sx-cr-form-head p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.sx-cr-form {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sx-cr-block__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sx-cr-block__title h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.sx-cr-form__row2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .sx-cr-form__row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-cr-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.5rem;
}

.sx-cr-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--sx-muted);
}

.sx-cr-input,
.sx-cr-textarea {
  width: 100%;
  background: #f3f3f5;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}

.sx-cr-input:focus,
.sx-cr-textarea:focus {
  box-shadow: 0 0 0 2px rgba(0, 99, 65, 0.25);
}

.sx-cr-textarea {
  resize: none;
}

.sx-cr-field.has-error .sx-cr-input,
.sx-cr-field.has-error .sx-cr-textarea,
.sx-cr-field.has-error select,
.sx-cr-field.has-error-client .sx-cr-input,
.sx-cr-field.has-error-client .sx-cr-textarea,
.sx-cr-field.has-error-client select {
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.6);
}

.sx-cr-field-error {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #dc2626;
}

.sx-cr-summary-err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
}

.sx-cr-summary-err p {
  margin: 0;
  font-size: 0.8125rem;
  color: #dc2626;
  font-weight: 600;
}

.sx-cr-submit {
  width: 100%;
  background: var(--sx-green);
  color: #fff;
  border: 0;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
}

.sx-cr-submit:hover {
  background: #005535;
}

/* —— About —— */
.sx-ab-hero {
  position: relative;
  background: var(--sx-green);
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

.sx-ab-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

.sx-ab-hero__inner {
  position: relative;
}

.sx-ab-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sx-ab-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.sx-ab-hero__lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.sx-ab-story {
  padding: 5rem 0;
  background: #fff;
}

.sx-ab-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sx-ab-story__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-ab-story__badge {
  display: inline-block;
  background: rgba(0, 99, 65, 0.1);
  color: var(--sx-green);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.sx-ab-story__h {
  margin: 0 0 1.5rem;
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #0a0a0a;
}

.sx-ab-story__p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--sx-muted);
  line-height: 1.85;
}

.sx-ab-story__visual {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  height: 400px;
}

.sx-ab-story__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sx-ab-stats {
  padding: 3rem 0;
  background: #f8faf8;
}

.sx-ab-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sx-ab-stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sx-ab-stat {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.sx-ab-stat--dark {
  background: var(--sx-green);
  color: #fff;
}

.sx-ab-stat--light {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-ab-stat__num {
  margin: 0 0 0.35rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--sx-gold-bright);
}

.sx-ab-stat__num--green {
  color: var(--sx-green);
}

.sx-ab-stat__label {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.sx-ab-stat--light .sx-ab-stat__label {
  color: var(--sx-muted);
}

.sx-ab-vm {
  padding: 5rem 0;
  background: #fff;
}

.sx-ab-vm__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sx-ab-vm__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-ab-vm__card {
  border-radius: 1rem;
  padding: 2.5rem;
}

.sx-ab-vm__card--green {
  background: var(--sx-green);
  color: #fff;
}

.sx-ab-vm__card--gold {
  background: var(--sx-gold-bright);
  color: #0a0a0a;
}

.sx-ab-vm__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sx-ab-vm__head h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.sx-ab-vm__icon {
  font-size: 1.5rem;
}

.sx-ab-vm__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.sx-ab-vm__text--dark {
  color: #364153;
}

.sx-ab-values {
  padding: 5rem 0;
  background: #f8faf8;
  text-align: center;
}

.sx-ab-values__h {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  font-weight: 700;
}

.sx-ab-values__sub {
  margin: 0 0 3rem;
  font-size: 1rem;
  color: var(--sx-muted);
}

.sx-ab-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .sx-ab-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sx-ab-values__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sx-ab-value {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-ab-value__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: rgba(0, 99, 65, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.sx-ab-value h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a0a0a;
}

.sx-ab-value p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.65;
}

.sx-ab-certs {
  padding: 5rem 0;
  background: #fff;
  text-align: center;
}

.sx-ab-certs__h {
  margin: 0 0 3rem;
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  font-weight: 700;
}

.sx-ab-certs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .sx-ab-certs__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-ab-cert {
  background: #f8faf8;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.sx-ab-cert__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: var(--sx-gold-bright);
  color: var(--sx-green);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.sx-ab-cert h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.sx-ab-cert p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

/* —— Guards archive (service_provider /guards/) —— */
.sx-guards-page {
  background: #f8faf8;
  padding-bottom: 3rem;
}

.sx-guards-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(210deg, #003d27 0%, var(--sx-green) 45%, #004d33 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}

.sx-guards-hero__deco {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(249, 217, 73, 0.12) 0%, transparent 40%);
}

.sx-guards-hero .sx-container {
  position: relative;
}

.sx-guards-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
}

.sx-guards-hero .sx-guards-breadcrumb {
  color: rgba(255, 255, 255, 0.6);
}

.sx-guards-hero .sx-guards-breadcrumb a {
  color: inherit;
}

.sx-guards-hero .sx-guards-breadcrumb a:hover {
  color: #fff;
}

.sx-guards-breadcrumb__sep {
  opacity: 0.7;
}

.sx-guards-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .sx-guards-hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sx-guards-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sx-guards-hero__badge-icon {
  flex-shrink: 0;
  color: var(--sx-gold-bright);
}

.sx-guards-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.sx-guards-hero__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.sx-guards-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sx-guards-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.sx-guards-hero__btn--gold {
  background: var(--sx-gold-bright);
  color: var(--sx-green);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.sx-guards-hero__btn--gold:hover {
  background: #e8c83a;
  color: var(--sx-green);
}

.sx-guards-hero__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-weight: 600;
}

.sx-guards-hero__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sx-guards-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .sx-guards-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.sx-guards-stats__item {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1rem;
}

.sx-guards-stats__icon {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.sx-guards-stats__item strong {
  display: block;
  font-size: 1.35rem;
  color: var(--sx-gold-bright);
}

.sx-guards-stats__item span:last-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.sx-guards-filters {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sx-guards-filters__inner {
  max-width: var(--sx-max);
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sx-guards-filters__scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sx-guards-filters__scroll::-webkit-scrollbar {
  display: none;
}

.sx-guards-available-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #364153;
  cursor: pointer;
  white-space: nowrap;
}

.sx-guards-available-toggle input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--sx-green);
}

.sx-guards-results {
  max-width: var(--sx-max);
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sx-guards-results__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-guards-catalog {
  padding-bottom: 2rem;
}

.sx-guards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sx-guards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .sx-guards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-guard-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(26, 107, 58, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}

.sx-guard-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.sx-guard-card__photo {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #f3f3f5;
}

@media (min-width: 640px) {
  .sx-guard-card__photo {
    height: 260px;
  }
}

.sx-guard-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sx-guard-card__img--placeholder {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.sx-guard-card__photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 40, 25, 0.75), transparent 55%);
  pointer-events: none;
}

.sx-guard-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--sx-gold-bright);
  color: #1a4d2e;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.sx-guard-card__avail {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  color: #fff;
}

.sx-guard-card__avail--yes {
  background: rgba(0, 180, 80, 0.92);
}

.sx-guard-card__avail--no {
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.85);
}

.sx-guard-card__avail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.sx-guard-card__avail--no .sx-guard-card__avail-dot {
  background: #9ca3af;
}

.sx-guard-card__overlay-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

.sx-guard-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.sx-guard-card__job {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.82);
}

.sx-guard-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sx-guard-card__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sx-guard-card__rating-block {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sx-guard-card__stars {
  display: inline-flex;
  gap: 1px;
  letter-spacing: 1px;
}

.sx-guard-card__star {
  color: #d0d0d8;
  font-size: 0.875rem;
}

.sx-guard-card__star.is-on {
  color: var(--sx-gold-bright);
}

.sx-guard-card__rating-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1a4d2e;
}

.sx-guard-card__reviews {
  font-size: 0.75rem;
  color: var(--sx-muted);
}

.sx-guard-card__exp {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--sx-muted);
}

.sx-guard-card__bio {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #364153;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sx-guard-card__skills {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sx-guard-card__skills li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #364153;
  margin-bottom: 0.35rem;
  text-align: right;
}

.sx-guard-card__skills li span:last-child {
  flex: 1;
}

.sx-guard-card__check {
  color: var(--sx-green);
  font-weight: 700;
  flex-shrink: 0;
}

.sx-guard-card__divider {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: auto;
}

.sx-guard-card__actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.sx-guard-card__profile {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--sx-green);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.sx-guard-card__profile:hover {
  background: #005535;
  color: #fff;
}

.sx-guards-empty-filter {
  max-width: var(--sx-max);
  margin-inline: auto;
}

.sx-guards-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.sx-guards-pagination {
  padding: 2rem 1.5rem 0;
}

.sx-guards-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.sx-guards-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--sx-border);
  font-size: 0.875rem;
  font-weight: 600;
}

.sx-guards-pagination .page-numbers.current,
.sx-guards-pagination .page-numbers:hover {
  background: var(--sx-green);
  border-color: var(--sx-green);
  color: #fff;
}

/* Single provider */
.sx-guard-single {
  padding: 2rem 0 4rem;
  background: #f8faf8;
}

.sx-guard-single .sx-guards-breadcrumb {
  margin-bottom: 2rem;
  color: var(--sx-muted);
}

.sx-guard-single .sx-guards-breadcrumb a {
  color: var(--sx-green);
}

.sx-guard-single .sx-guards-breadcrumb a:hover {
  text-decoration: underline;
}

.sx-guard-single__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 900px) {
  .sx-guard-single__grid {
    grid-template-columns: minmax(0, 340px) 1fr;
    align-items: start;
  }
}

.sx-guard-single__media {
  position: relative;
}

.sx-guard-single__img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  max-height: 480px;
}

.sx-guard-single__img--placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
  border-radius: 1rem;
}

.sx-guard-single__avail {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.sx-guard-single__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.sx-guard-single__job {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a4d2e;
}

.sx-guard-single__spec {
  margin: 0 0 1.25rem;
  color: var(--sx-muted);
  font-size: 0.9375rem;
}

.sx-guard-single__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sx-guard-single__stat {
  background: #fff;
  border: 1px solid var(--sx-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  min-width: 6rem;
}

.sx-guard-single__stat strong {
  display: block;
  font-size: 1.125rem;
  color: var(--sx-green);
}

.sx-guard-single__stat span {
  font-size: 0.75rem;
  color: var(--sx-muted);
}

.sx-guard-single__prose {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--sx-border);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.sx-guard-single__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Auth (Login / Register / Forgot) —— */
.sx-auth-page {
  position: relative;
  min-height: calc(100vh - 5.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3.5rem;
  background: linear-gradient(165deg, #f6faf7 0%, #ecf4ef 45%, #e4efe8 100%);
  overflow: hidden;
}

.sx-auth-page__deco {
  position: absolute;
  inset: -20% -30% auto auto;
  width: min(70vw, 28rem);
  height: min(70vw, 28rem);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 99, 65, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.sx-auth-page__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.sx-auth-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--sx-border);
  box-shadow: 0 18px 50px rgba(0, 99, 65, 0.1);
}

.sx-auth-card--narrow {
  max-width: 24rem;
  margin-inline: auto;
}

.sx-auth-card .woocommerce-error,
.sx-auth-card .woocommerce-message,
.sx-auth-card .woocommerce-info {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
}

.sx-auth-card__logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(0, 99, 65, 0.08);
  color: var(--sx-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.sx-auth-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--sx-text);
}

.sx-auth-card__lead {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--sx-muted);
  font-size: 0.9375rem;
}

.sx-auth-card__brand {
  color: var(--sx-green);
  font-weight: 700;
}

.sx-auth-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  margin-bottom: 1.25rem;
  background: #f3f4f6;
  border-radius: 0.75rem;
}

.sx-auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 0.5rem;
  border-radius: 0.55rem;
  cursor: pointer;
  color: var(--sx-muted);
  transition: background 0.15s, color 0.15s;
}

.sx-auth-tab.is-active {
  background: #fff;
  color: var(--sx-green);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.sx-auth-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--sx-text);
}

.sx-auth-hint {
  font-size: 0.75rem;
  color: var(--sx-muted);
  margin: -0.15rem 0 0.4rem;
}

.sx-auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.sx-auth-input-wrap .input-text {
  width: 100%;
  padding: 0.75rem 0.85rem 0.75rem 2.5rem;
  border: 1px solid var(--sx-border);
  border-radius: 0.65rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sx-auth-input-wrap .input-text:focus {
  outline: none;
  border-color: var(--sx-green);
  box-shadow: 0 0 0 3px rgba(0, 99, 65, 0.12);
}

.sx-auth-input-icon {
  position: absolute;
  inset-inline-start: 0.75rem;
  font-size: 1rem;
  opacity: 0.75;
  pointer-events: none;
  line-height: 1;
}

.sx-auth-input-wrap--password .input-text {
  padding-inline-end: 2.75rem;
}

.sx-auth-toggle-pass {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  font-size: 1rem;
  line-height: 1;
  border-radius: 0.35rem;
  opacity: 0.7;
}

.sx-auth-toggle-pass:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.04);
}

.sx-auth-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.sx-auth-link {
  color: var(--sx-green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sx-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--sx-muted);
}

.sx-auth-otp-block {
  margin: 1rem 0 1.25rem;
}

.sx-auth-otp-send {
  margin-top: 0.65rem;
  padding: 0.55rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 99, 65, 0.35);
  background: #fff;
  color: var(--sx-green);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.sx-auth-otp-send:hover:not(:disabled) {
  background: #f0fdf4;
}

.sx-auth-otp-send:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.sx-auth-otp-hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--sx-muted);
}

.sx-checkout-otp-account {
  margin-top: 0.75rem;
}

.sx-auth-submit {
  width: 100%;
  border: 0;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: var(--sx-green);
  color: #fff;
  transition: background 0.15s, transform 0.1s;
}

.sx-auth-submit:hover {
  background: var(--sx-green-dark);
}

.sx-auth-submit:active {
  transform: scale(0.99);
}

.sx-auth-secondary {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sx-green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sx-auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.8125rem;
  color: var(--sx-muted);
  cursor: pointer;
  line-height: 1.5;
}

.sx-auth-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.sx-auth-check a {
  color: var(--sx-green);
  font-weight: 600;
  text-decoration: underline;
}

.sx-auth-note {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: var(--sx-muted);
}

/* —— My account (logged-in shell) —— */
.sx-account-shell {
  width: 100%;
}

.sx-account-header {
  background: #fff;
  color: var(--sx-text);
  width: 100%;
  margin: 0;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--sx-border);
  box-sizing: border-box;
}

.sx-account-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.sx-account-header__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.sx-account-header__sub {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sx-muted);
}

.sx-account-header__logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--sx-green);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-green);
  background: #fff;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sx-account-header__logout:hover {
  background: rgba(0, 99, 65, 0.08);
  border-color: var(--sx-green-dark);
  color: var(--sx-green-dark);
}

.sx-account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem 0 4rem;
  align-items: start;
  max-width: var(--sx-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .sx-account-layout {
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .sx-account-header {
    padding: 1.35rem 0;
  }

  .sx-account-layout {
    gap: 1.25rem;
    padding-top: 1.25rem;
  }
}

.sx-account-content {
  background: #fff;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  padding: 1.5rem;
  min-height: 14rem;
  min-width: 0;
}

.sx-account-content:has(.sx-profile-page) {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  min-height: 0;
}

.sx-account-content > .woocommerce-notices-wrapper:first-child,
.sx-account-content > .woocommerce-message:first-child,
.sx-account-content > .woocommerce-error:first-child,
.sx-account-content > .woocommerce-info:first-child {
  margin-top: 0;
}

/* لوحات المحتوى (نفس البنية لكل التبويبات) */
.sx-account-panel__head {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-account-panel__head--in-form {
  margin-top: 0;
}

.sx-account-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-account-panel__sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.55;
}

.sx-account-panel__back {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* نموذج الحساب الشخصي */
.sx-account-form .clear {
  display: none;
}

.sx-account-form .woocommerce-form-row {
  margin: 0 0 1rem;
}

.sx-account-form__grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

@media (min-width: 560px) {
  .sx-account-form__grid2 {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-account-form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--sx-text);
}

.sx-account-form__input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--sx-border);
  border-radius: 0.65rem;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.sx-account-form__input:focus {
  outline: none;
  border-color: var(--sx-green);
  box-shadow: 0 0 0 3px rgba(0, 99, 65, 0.12);
}

.sx-account-form__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--sx-muted);
}

.sx-account-form__fieldset {
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--sx-border);
}

.sx-account-form__legend {
  padding: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-account-form__actions {
  margin: 1.5rem 0 0;
  padding-top: 0.5rem;
}

.sx-account-form__address-fields .form-row {
  margin-bottom: 1rem;
}

.sx-account-form__address-fields label {
  font-weight: 600;
  font-size: 0.8125rem;
}

.sx-account-form__address-fields input.input-text,
.sx-account-form__address-fields select,
.sx-account-form__address-fields textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--sx-border);
  border-radius: 0.65rem;
  font: inherit;
}

/* جدول الحجوزات */
.sx-account-orders-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -0.25rem;
  padding: 0 0.25rem;
}

.sx-account-orders-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: separate;
  border-spacing: 0;
}

.sx-account-orders-table thead th {
  background: #f8faf8;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--sx-border);
}

.sx-account-orders-table tbody td,
.sx-account-orders-table tbody th {
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--sx-border);
  vertical-align: middle;
}

.sx-account-order-action {
  display: inline-block;
  margin-inline-end: 0.35rem;
  margin-top: 0.25rem;
}

.sx-account-pagination {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* عناويني — بطاقات */
.sx-account-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sx-account-address-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sx-account-address-card {
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  background: #fafcfb;
  overflow: hidden;
}

.sx-account-address-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--sx-border);
}

.sx-account-address-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.sx-account-address-card__edit {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sx-green);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.sx-account-address-card__body {
  padding: 1rem;
}

.sx-account-address-card__body address {
  margin: 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--sx-muted);
}

/* —— معلوماتي الشخصية (إحصاءات + بطاقة واحدة عرض/تعديل) —— */
.sx-profile-page {
  width: 100%;
}

.sx-profile-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sx-profile-stats--top {
  margin: 0 0 1.5rem;
}

@media (min-width: 640px) {
  .sx-profile-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sx-profile-stat {
  text-align: center;
  padding: 1.15rem 1rem;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  background: #fafcfb;
}

.sx-profile-stat__label {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: var(--sx-muted);
}

.sx-profile-stat__value {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.sx-profile-stat__value--orders {
  color: var(--sx-green);
}

.sx-profile-stat__value--points {
  color: var(--sx-gold);
}

.sx-profile-account-card {
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  background: #fff;
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 99, 65, 0.06);
}

.sx-profile-account-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--sx-border);
}

.sx-profile-account-card__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.sx-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.sx-profile-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--sx-green);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

.sx-profile-avatar__camera {
  position: absolute;
  bottom: -0.1rem;
  inset-inline-end: -0.1rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #f3f4f6;
  color: var(--sx-muted);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: default;
}

.sx-profile-account-card__titles {
  min-width: 0;
}

.sx-profile-account-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sx-text);
  word-break: break-word;
}

.sx-profile-account-card__since {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-profile-account-card__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.sx-profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid var(--sx-green);
  background: #fff;
  color: var(--sx-green);
  transition: background 0.15s, color 0.15s;
}

.sx-profile-toggle:hover {
  background: rgba(0, 99, 65, 0.08);
}

.sx-profile-toggle--cancel {
  border-color: var(--sx-border);
  color: var(--sx-muted);
}

.sx-profile-toggle--cancel:hover {
  background: #f9fafb;
  color: var(--sx-text);
}

.sx-profile-section-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-profile-info-rows {
  border: 1px solid var(--sx-border);
  border-radius: 0.65rem;
  overflow: hidden;
}

.sx-profile-info-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  direction: rtl;
  padding: 0.85rem 1rem;
  background: #f9fafb;
  border-bottom: 1px solid var(--sx-border);
}

.sx-profile-info-row--last {
  border-bottom: 0;
}

.sx-profile-info-row__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: start;
}

.sx-profile-info-row__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sx-muted);
}

.sx-profile-info-row__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sx-text);
  word-break: break-word;
}

.sx-profile-info-row__empty {
  color: var(--sx-muted);
  font-weight: 500;
}

.sx-profile-info-row__icon {
  flex-shrink: 0;
  order: 2;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  color: var(--sx-green);
  opacity: 0.9;
}

.sx-profile-info-row__svg {
  display: block;
}

.sx-profile-edit-panel {
  padding-top: 0.25rem;
}

.sx-profile-account-form .sx-account-form__fieldset--password {
  margin-top: 1.5rem;
}

.sx-password-field__wrap {
  position: relative;
  display: block;
}

.sx-password-field__wrap .sx-account-form__input {
  padding-inline-end: 4.5rem;
}

.sx-password-field__toggle {
  position: absolute;
  inset-inline-end: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.35rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  border: 0;
  background: transparent;
  color: var(--sx-green);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sx-account-form__actions--split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.sx-account-form__cancel {
  padding: 0.65rem 1.25rem;
  border-radius: 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--sx-border);
  background: #fff;
  color: var(--sx-text);
}

.sx-account-form__cancel:hover {
  background: #f9fafb;
}

.sx-account-address-label-row {
  margin-bottom: 1.25rem;
}

.sx-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sx-account-nav__item {
  margin-bottom: 0.5rem;
}

.sx-account-nav__item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid var(--sx-border);
  background: #fff;
  color: var(--sx-text);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.sx-account-nav__item--logout a {
  justify-content: flex-start;
  color: #b42318;
  border-color: rgba(180, 35, 24, 0.2);
}

.sx-account-nav__item--logout a:hover {
  background: rgba(180, 35, 24, 0.06);
}

.sx-account-nav__item a:hover {
  border-color: rgba(0, 99, 65, 0.35);
  background: rgba(0, 99, 65, 0.04);
}

.sx-account-nav__item.is-active > a {
  border-color: #006341;
  background: #006341;
  color: #fff;
}

.sx-account-nav__item.is-active > a:hover {
  background: #005535;
  border-color: #005535;
  color: #fff;
}

.sx-account-nav__main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sx-account-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sx-account-nav__svg {
  display: block;
}

.sx-account-nav__chevron {
  color: var(--sx-muted);
  font-size: 1.25rem;
  transform: scaleX(-1);
}

.sx-account-nav__item.is-active .sx-account-nav__chevron {
  color: rgba(255, 255, 255, 0.85);
}

/* —— Checkout (BookingPage.tsx + Payment details) —— */
body.securex-checkout-page {
  overflow-x: hidden;
}

.sx-checkout-shell {
  width: 100%;
}

/* هيرو الدفع — عرض الشاشة كاملاً (كسر حدود .site-main / الحاوية) */
.sx-checkout-page-hero {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  box-sizing: border-box;
  background: #006341;
  color: #fff;
  padding: 2.5rem 0 3rem;
  margin-bottom: 0;
}

.sx-checkout-page-hero__constrain {
  width: 100%;
  max-width: var(--sx-max, 1280px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.sx-checkout-page-hero__top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.sx-checkout-page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.sx-checkout-page-hero__back:hover {
  color: #fff;
  text-decoration: underline;
}

.sx-checkout-page-hero__back-icon {
  flex-shrink: 0;
  transform: scaleX(-1);
}

.sx-checkout-page-hero__inner {
  text-align: center;
}

.sx-checkout-page-hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sx-checkout-page-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.sx-checkout-page-hero__sub {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

body.securex-checkout-page .sx-checkout-page-hero__sub,
.woocommerce-checkout:not(.woocommerce-order-received) .sx-checkout-page-hero__sub {
  color: #fff;
}

/* صفحة «شكراً» / تأكيد الطلب */
.woocommerce-checkout.woocommerce-order-received .site-main {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

body.woocommerce-checkout.woocommerce-order-received {
  overflow-x: hidden;
}

.sx-checkout-page-hero--thankyou {
  background: #006341;
}

.sx-checkout-page-hero--failed {
  background: #7f1d1d;
}

.sx-checkout-page-hero__badge--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.sx-checkout-page-hero__badge--icon svg {
  display: block;
}

.sx-checkout-page-hero__badge--warn {
  background: rgba(255, 255, 255, 0.18);
}

.sx-order-received-body {
  max-width: var(--sx-max, 1280px);
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
  box-sizing: border-box;
}

.sx-order-received-lead {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 99, 65, 0.2);
  background: #f0fdf4;
  color: #14532d;
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 600;
}

.sx-order-received-overview {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sx-order-received-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .sx-order-received-overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sx-order-received-overview li {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-radius: 0.875rem;
  border: 1px solid var(--sx-border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-order-received-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sx-text);
  word-break: break-word;
}

.sx-order-received-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.sx-order-received-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.35rem;
  border-radius: 0.65rem;
  font-weight: 600;
  text-decoration: none;
}

.sx-order-received-actions__primary.button {
  background: #006341;
  color: #fff !important;
  border: none;
}

.sx-order-received-actions__primary.button:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

.sx-order-received-actions__secondary.button.alt {
  background: #fff;
  color: #006341 !important;
  border: 2px solid #006341;
}

.sx-order-received-actions__secondary.button.alt:hover {
  background: #f0fdf4;
  color: #006341 !important;
}

.woocommerce-order-received .woocommerce-thankyou-order-failed-actions .button {
  margin-inline-end: 0.5rem;
}

/* تفاصيل الطلب + عنوان الفاتورة (شكراً + عرض الطلب من حسابي) */
.sx-order-received-shell .woocommerce-order-details,
.sx-order-received-shell .woocommerce-customer-details,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-customer-details {
  margin-top: 1.75rem;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: 1rem;
  border: 1px solid var(--sx-border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.sx-order-received-shell .woocommerce-order-details:first-of-type,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-details:first-of-type {
  margin-top: 0.5rem;
}

.sx-order-received-shell .woocommerce-order-details__title,
.sx-order-received-shell .woocommerce-column__title,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-details__title,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-column__title {
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(0, 99, 65, 0.15);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--sx-text);
}

.sx-order-received-shell .woocommerce-table--order-details,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.sx-order-received-shell .woocommerce-table--order-details thead th,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details thead th {
  padding: 0.75rem 1rem;
  text-align: start;
  font-weight: 700;
  color: var(--sx-text);
  background: #f4f7f5;
  border: 1px solid var(--sx-border);
}

.sx-order-received-shell .woocommerce-table--order-details tbody td,
.sx-order-received-shell .woocommerce-table--order-details tbody th,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tbody td,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tbody th {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border: 1px solid var(--sx-border);
  color: var(--sx-text);
}

.sx-order-received-shell .woocommerce-table--order-details .product-name,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details .product-name {
  font-weight: 600;
}

.sx-order-received-shell .woocommerce-table--order-details .product-total,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details .product-total {
  text-align: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sx-order-received-shell .woocommerce-table--order-details tfoot th,
.sx-order-received-shell .woocommerce-table--order-details tfoot td,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {
  padding: 0.7rem 1rem;
  border: 1px solid var(--sx-border);
  background: #fafcfb;
}

.sx-order-received-shell .woocommerce-table--order-details tfoot th,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {
  font-weight: 600;
  color: var(--sx-muted);
  text-align: start;
  width: 52%;
}

.sx-order-received-shell .woocommerce-table--order-details tfoot td,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {
  text-align: end;
  font-weight: 700;
  color: var(--sx-text);
  font-variant-numeric: tabular-nums;
}

.sx-order-received-shell .woocommerce-customer-details address,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-customer-details address {
  margin: 0;
  font-style: normal;
  line-height: 1.75;
  color: var(--sx-text);
  font-size: 0.9375rem;
}

.sx-order-received-shell .woocommerce-customer-details--phone,
.sx-order-received-shell .woocommerce-customer-details--email,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-customer-details--phone,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-customer-details--email {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  color: var(--sx-muted);
}

.sx-order-received-shell .woocommerce-columns--addresses,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-columns--addresses {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sx-order-received-shell .woocommerce-columns--addresses,
  .woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-columns--addresses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sx-order-received-shell .woocommerce-order-downloads,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-downloads {
  margin-top: 1.5rem;
}

.sx-order-received-shell .woocommerce-order-downloads table,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-downloads table {
  width: 100%;
  border-collapse: collapse;
}

.sx-order-received-shell .woocommerce-order-downloads th,
.sx-order-received-shell .woocommerce-order-downloads td,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-downloads th,
.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-downloads td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--sx-border);
}

@media (max-width: 639px) {
  .sx-order-received-shell .woocommerce-order-details,
  .woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-order-details {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sx-order-received-shell .woocommerce-table--order-details,
  .woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-table--order-details {
    min-width: 280px;
  }
}

.sx-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sx-checkout-header {
  background: #f8faf8;
  border-bottom: 1px solid var(--sx-border);
  padding: 1.5rem 0;
}

.sx-checkout-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.sx-checkout-header__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--sx-text);
}

.sx-checkout-header__sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sx-muted);
}

.sx-checkout-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sx-green);
  text-decoration: none;
}

.sx-checkout-header__back:hover {
  text-decoration: underline;
}

.sx-checkout-header__back-icon {
  flex-shrink: 0;
  transform: scaleX(-1);
}

.sx-checkout-login {
  max-width: var(--sx-max);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

.sx-checkout-login .woocommerce-info,
.sx-checkout-login .woocommerce-message,
.sx-checkout-login .woocommerce-error {
  border-radius: var(--sx-radius);
}

.sx-checkout-login .woocommerce-form-login {
  margin-top: 0.75rem;
  padding: 1.25rem;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  background: #fff;
}

.sx-checkout-grid {
  max-width: var(--sx-max);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .sx-checkout-grid {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
  }
}

.sx-checkout-section {
  margin-bottom: 0;
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sx-checkout-section__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sx-checkout-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.65rem;
  background: rgba(0, 99, 65, 0.08);
  color: var(--sx-green);
}

.sx-checkout-section__title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-checkout-section__payment {
  margin-top: 0.25rem;
}

.sx-checkout-section__payment #payment {
  background: transparent;
  border: 0;
  padding: 0;
}

.sx-checkout-section__lead {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.875rem;
  color: var(--sx-muted);
  line-height: 1.5;
}

.sx-checkout-section__grid,
.sx-checkout-section__body {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .sx-checkout-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sx-checkout-section__grid .form-row-wide,
  .sx-checkout-section__body .form-row-wide {
    grid-column: 1 / -1;
  }
}

/* حقول الحجز — مطابقة BookingPage (تسمية فوق الحقل، مدخلات #f3f3f5، بدون تعارض مع عمودي WC) */
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row,
.securex-checkout-page form.checkout .sx-checkout-section .form-row {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row label,
.securex-checkout-page form.checkout .sx-checkout-section .form-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row label .optional,
.securex-checkout-page form.checkout .sx-checkout-section .form-row label .optional {
  display: none;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row .woocommerce-input-wrapper,
.securex-checkout-page form.checkout .sx-checkout-section .form-row .woocommerce-input-wrapper {
  width: 100%;
  display: block;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input.input-text,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="number"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="date"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="time"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="email"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="tel"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="password"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input.input-text,
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="number"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="date"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="time"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="email"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="tel"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="password"] {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: #f3f3f5;
  font-size: 0.875rem;
  color: #0a0a0a;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="date"],
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input[type="time"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="date"],
.securex-checkout-page form.checkout .sx-checkout-section .form-row input[type="time"] {
  direction: ltr;
  text-align: right;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row textarea,
.securex-checkout-page form.checkout .sx-checkout-section .form-row textarea {
  width: 100%;
  min-height: 5.5rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: #f3f3f5;
  font-size: 0.875rem;
  color: #0a0a0a;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row select.select,
.securex-checkout-page form.checkout .sx-checkout-section .form-row select.select {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.875rem 2.5rem 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background-color: #f3f3f5;
  font-size: 0.875rem;
  color: #717182;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23717182' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.65rem center;
  background-size: 1.1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

[dir="rtl"] .woocommerce-checkout form.checkout .sx-checkout-section .form-row select.select {
  padding: 0.875rem 1rem 0.875rem 2.5rem;
  background-position: right 0.65rem center;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row input:focus,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row textarea:focus,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row select.select:focus,
.securex-checkout-page form.checkout .sx-checkout-section .form-row input:focus,
.securex-checkout-page form.checkout .sx-checkout-section .form-row textarea:focus,
.securex-checkout-page form.checkout .sx-checkout-section .form-row select.select:focus {
  outline: none;
  border-color: var(--sx-green);
  box-shadow: 0 0 0 3px rgba(0, 99, 65, 0.12);
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .sx-checkout-section .form-row .description,
.securex-checkout-page form.checkout .sx-checkout-section .form-row .description {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--sx-muted);
}

.sx-checkout-section__account {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  grid-column: 1 / -1;
}

.sx-checkout-section__account .create-account .form-row {
  width: 100% !important;
}

.sx-checkout-section__account .woocommerce-password-strength {
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.sx-checkout-booking-fields .woocommerce-billing-fields__field-wrapper {
  margin: 0;
}

.securex-checkout-page #billing_booking_notes_field > label,
.woocommerce-checkout:not(.woocommerce-order-received) #billing_booking_notes_field > label {
  display: none;
}

.sx-checkout-ssl {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--sx-radius);
  border: 1px solid rgba(0, 99, 65, 0.15);
  background: rgba(0, 99, 65, 0.05);
}

.sx-checkout-ssl__icon {
  flex-shrink: 0;
  color: var(--sx-green);
}

.sx-checkout-ssl__title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--sx-green);
}

.sx-checkout-ssl__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #364153;
}

.sx-checkout-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .sx-checkout-sidebar {
    position: sticky;
    top: 5rem;
  }
}

/* ملخص الحجز — بطاقة واحدة بدون فاصل أبيض بين العنوان والجدول */
.sx-checkout-order-summary-card {
  background: #006341;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 99, 65, 0.25);
  color: #fff;
}

.sx-checkout-order-summary-card__title,
.securex-checkout-page #order_review_heading,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 1.35rem 1.5rem 0.65rem;
  border: 0;
  text-align: center;
  color: #fff;
  background: transparent;
}

.sx-checkout-order-summary-card__review,
.securex-checkout-page #order_review,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  color: #fff;
  box-shadow: none;
}

.securex-checkout-page .woocommerce-checkout-review-order-table thead,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table thead {
  display: none;
}

.securex-checkout-page .woocommerce-checkout-review-order-table,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 0 0.5rem;
  background: transparent;
}

.securex-checkout-page .woocommerce-checkout-review-order-table th,
.securex-checkout-page .woocommerce-checkout-review-order-table td,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table th,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table td {
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.65rem 0;
  vertical-align: middle;
}

.securex-checkout-page .woocommerce-checkout-review-order-table tbody tr:last-child td,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tbody tr:last-child td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.securex-checkout-page .woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .product-total {
  font-weight: 700;
}

.securex-checkout-page .woocommerce-checkout-review-order-table tfoot th,
.securex-checkout-page .woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tfoot td {
  color: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.securex-checkout-page .woocommerce-checkout-review-order-table tfoot .order-total th,
.securex-checkout-page .woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  border-bottom: 0 !important;
  padding-top: 0.85rem;
}

.sx-checkout-disclaimer-row td {
  border: 0 !important;
  border-bottom: 0 !important;
  padding: 0.75rem 0 0 !important;
  background: transparent !important;
}

.sx-checkout-order-disclaimer {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.securex-checkout-page .woocommerce-checkout-review-order-table .sx-checkout-order-disclaimer,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .sx-checkout-order-disclaimer {
  color: #fff;
}

.sx-checkout-sidebar-widgets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sx-checkout-sidebar-card {
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.sx-checkout-sidebar-card--info .sx-checkout-sidebar-card__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--sx-text);
}

.sx-checkout-sidebar-card__list {
  margin: 0;
  padding: 0 1rem 0 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--sx-muted);
  line-height: 1.7;
}

.sx-checkout-sidebar-card__list li {
  position: relative;
  padding-right: 0.5rem;
}

.sx-checkout-sidebar-card__list li::before {
  content: "✓";
  position: absolute;
  right: -0.85rem;
  color: var(--sx-green);
  font-weight: 700;
}

.sx-checkout-sidebar-card--muted {
  background: #f8faf8;
}

.sx-checkout-sidebar-card--muted .sx-checkout-sidebar-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.sx-checkout-sidebar-card__lead {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--sx-muted);
}

.sx-checkout-sidebar-card__phone,
.sx-checkout-sidebar-card__email {
  margin: 0;
  font-size: 0.875rem;
}

.sx-checkout-sidebar-card__phone a,
.sx-checkout-sidebar-card__email a {
  color: var(--sx-green);
  font-weight: 700;
  text-decoration: none;
}

.sx-checkout-sidebar-card__phone a:hover,
.sx-checkout-sidebar-card__email a:hover {
  text-decoration: underline;
}

.securex-checkout-page .woocommerce-billing-fields > h3,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields > h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: 0;
  padding: 0;
}

.securex-checkout-page .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper {
  display: grid;
  gap: 1.25rem;
}

.securex-checkout-page .woocommerce-billing-fields .form-row.sx-checkout-field--last-name,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields .form-row.sx-checkout-field--last-name {
  display: none;
}

.securex-checkout-page .woocommerce-account-fields,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-account-fields {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--sx-border);
  border-radius: var(--sx-radius);
  background: #fafcfb;
}

.securex-checkout-page .sx-checkout-section__account .create-account,
.woocommerce-checkout:not(.woocommerce-order-received) .sx-checkout-section__account .create-account {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.securex-checkout-page .woocommerce-account-fields .create-account label,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-account-fields .create-account label,
.securex-checkout-page .sx-checkout-section__account .create-account label,
.woocommerce-checkout:not(.woocommerce-order-received) .sx-checkout-section__account .create-account label {
  font-weight: 600;
}

.securex-checkout-page #payment,
.woocommerce-checkout:not(.woocommerce-order-received) #payment {
  background: transparent;
  border-radius: 0;
}

.securex-checkout-page .wc_payment_methods,
.woocommerce-checkout:not(.woocommerce-order-received) .wc_payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.securex-checkout-page .wc_payment_methods li,
.woocommerce-checkout:not(.woocommerce-order-received) .wc_payment_methods li {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  position: relative;
}

@media (min-width: 576px) {
  .sx-checkout-section--payment .wc_payment_methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .sx-checkout-section--payment .wc_payment_methods li {
    margin: 0;
  }

  .sx-checkout-section--payment .wc_payment_methods li label {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 5.5rem;
    padding: 1rem 0.75rem;
    font-size: 0.875rem;
  }
}

.securex-checkout-page .wc_payment_methods li label,
.woocommerce-checkout:not(.woocommerce-order-received) .wc_payment_methods li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.15rem;
  border: 2px solid #e5e5e8;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: border-color 0.15s, background 0.15s;
}

.securex-checkout-page .wc_payment_methods li input[type="radio"]:checked + label,
.woocommerce-checkout:not(.woocommerce-order-received) .wc_payment_methods li input[type="radio"]:checked + label {
  border-color: var(--sx-green);
  background: rgba(0, 99, 65, 0.03);
}

.securex-checkout-page .wc_payment_methods li.wc_payment_method input[type="radio"],
.woocommerce-checkout:not(.woocommerce-order-received) .wc_payment_methods li.wc_payment_method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.securex-checkout-page .payment_box,
.woocommerce-checkout:not(.woocommerce-order-received) .payment_box {
  margin: 0.75rem 0 0;
  padding: 1rem;
  border-radius: 0.65rem;
  background: #f8faf8;
  border: 1px solid var(--sx-border);
  font-size: 0.875rem;
}

.securex-checkout-page .woocommerce-terms-and-wrapper,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-terms-and-wrapper {
  margin: 1rem 0;
  padding: 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--sx-radius);
  background: #fff;
}

.securex-checkout-page .woocommerce-checkout-payment .place-order,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-payment .place-order {
  margin: 1.25rem 0 0;
  padding: 0;
  float: none;
  width: 100%;
}

.securex-checkout-page #place_order,
.woocommerce-checkout:not(.woocommerce-order-received) #place_order,
.securex-checkout-page .sx-checkout-place-order,
.woocommerce-checkout:not(.woocommerce-order-received) .sx-checkout-place-order {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--sx-green);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.15s;
}

.securex-checkout-page #place_order:hover,
.woocommerce-checkout:not(.woocommerce-order-received) #place_order:hover {
  background: var(--sx-green-dark);
}

.securex-checkout-page #place_order:disabled,
.woocommerce-checkout:not(.woocommerce-order-received) #place_order:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.sx-checkout-place-order__lock {
  flex-shrink: 0;
}

.securex-checkout-page form.checkout .form-row input.input-text,
.securex-checkout-page form.checkout .form-row textarea,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row input.input-text,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row textarea {
  border-radius: 0.75rem;
  background: #f3f3f5;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
}

.securex-checkout-page form.checkout .form-row input.input-text:focus,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row input.input-text:focus {
  border-color: var(--sx-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 99, 65, 0.12);
}

.securex-checkout-no-shipping #customer_details .col-2 {
  display: none !important;
}

.securex-checkout-no-shipping #customer_details.col2-set {
  display: block;
}
