:root {
  --ink: #172026;
  --muted: #66747f;
  --line: #dce3e7;
  --paper: #ffffff;
  --soft: #f5f7f4;
  --brand: #498330;
  --brand-dark: #315b20;
  --accent: #498330;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(23, 32, 38, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--soft);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

html[lang="ar"] {
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 72vh;
}

.site-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  box-shadow: 0 18px 40px rgba(23, 32, 38, 0.06);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  justify-self: start;
}

html[lang="ar"] .brand {
  justify-self: end;
}

.site-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

html[lang="ar"] .header-actions {
  justify-self: start;
}

.brand img {
  width: 130px;
  max-width: 100%;
  height: auto;
}

.site-footer {
  background: #fafbf8;
  display: grid;
  align-items: center;
  gap: 16px;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  grid-template-areas: "nav social brand";
  margin-top: 40px;
  padding: 36px clamp(18px, 4vw, 56px);
}

html[lang="ar"] .site-footer {
  grid-template-areas: "brand social nav";
}

.footer-nav,
.footer-social-block,
.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-nav {
  grid-area: nav;
  justify-self: start;
  align-self: center;
}

.footer-social-block {
  grid-area: social;
  justify-self: center;
  align-self: center;
  text-align: center;
}

.footer-brand {
  grid-area: brand;
  justify-self: end;
  align-self: center;
}

html[lang="ar"] .footer-brand {
  justify-self: start;
}

html[lang="ar"] .footer-nav {
  justify-self: end;
}

html[lang="ar"] .footer-social-block {
  justify-self: center;
}

.footer-nav h3,
.footer-social-title {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.footer-nav a {
  color: var(--muted);
  display: inline-block;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--brand);
}

.footer-social-block {
  justify-self: center;
}

html[lang="ar"] .footer-social-block {
  justify-self: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-social a {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  width: 56px;
}

.footer-social a svg {
  width: 24px;
  height: 24px;
}

.footer-social a:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.footer-brand {
  justify-self: end;
}

.footer-brand .brand img {
  width: 210px;
  max-width: 100%;
}

.footer-copy {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
  text-align: center;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: var(--radius);
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
}

.site-nav,
.header-actions,
.hero-actions,
.actions-cell,
.admin-nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.site-nav a,
.admin-nav a,
.icon-link {
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.site-nav a + a {
  margin: 0;
  border-inline-start: 0;
}

.site-nav a:hover,
.site-nav a.is-active,
.admin-nav a:hover,
.admin-nav a.is-active,
.icon-link:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.site-nav a.is-active {
  background: var(--brand);
  color: #fff;
}

.header-actions a.button,
.header-actions .button,
.header-actions .icon-link {
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.is-active,
.admin-nav a:hover,
.admin-nav a.is-active,
.icon-link:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.button,
button.button,
.btn {
  align-items: center;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button-primary,
.btn.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.button-secondary,
.btn.secondary,
.button-muted,
.button-outline {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(23, 32, 38, 0.16);
}

.btn.danger,
.button-danger {
  background: #fff5f5;
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.24);
}

.button:hover,
.btn:hover,
button.button:hover {
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: none;
  font: inherit;
  height: 42px;
  width: 42px;
}

.hero {
  align-items: stretch;
  background: #edf1ed;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  min-height: 620px;
  padding: clamp(32px, 7vw, 84px) clamp(18px, 4vw, 56px) 34px;
}

.elementor-hero {
  background:
    linear-gradient(90deg, rgba(246, 246, 246, 0.12), rgba(246, 246, 246, 0.04)),
    url("../img/cityworx/hero.jpg") center / cover no-repeat;
  grid-template-columns: minmax(0, 1fr);
  min-height: 88vh;
  padding-inline: max(clamp(18px, 4vw, 56px), calc((100vw - 1300px) / 2));
}

.elementor-hero .hero-copy {
  align-self: center;
  max-width: 620px;
}

.elementor-hero h1 {
  display: inline;
  background: rgba(255, 255, 255, 0.62);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #000;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 1.2px;
  line-height: 1.6;
  padding: 12px 25px;
  text-transform: uppercase;
  word-spacing: 10px;
}

html[lang="ar"] .elementor-hero h1 {
  font-size: 44px;
  line-height: 1.75;
  word-spacing: 2px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.flash-messages {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.flash {
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 500;
}

.flash-success {
  background: #28a745;
}

.flash-error {
  background: #dc3545;
}

.home-hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.22)),
    url("../img/cityworx/hero.jpg") center / cover no-repeat;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: clamp(38px, 8vw, 96px);
  color: #fff;
}

.home-hero .hero-copy {
  max-width: 680px;
}

.home-hero .eyebrow {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  padding: 10px 18px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.home-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  margin: 0 0 24px;
  text-transform: uppercase;
  text-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.home-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 32px;
  max-width: 680px;
}

.home-hero .button {
  min-width: fit-content;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-stats {
  background: var(--brand-dark);
  color: #fff;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.home-services {
  background: #fff;
}

.home-services .section-heading {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 36px;
  text-align: center;
}

.home-services .section-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 760px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.service-card {
  background: #f8faf7;
  border: 1px solid #e9f0e7;
  border-radius: 24px;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(23, 32, 38, 0.08);
}

.service-card h3 {
  font-size: 1.15rem;
  margin: 18px 0 12px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.service-icon {
  inline-size: 60px;
  block-size: 60px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.12);
  display: grid;
  place-items: center;
  padding: 12px;
}

.service-icon img {
  inline-size: 30px;
  block-size: 30px;
  object-fit: contain;
}

.home-values {
  background: #fff;
  padding-block: 50px;
}

.work-shell {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.2fr);
}

.work-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.02;
  margin: 0 0 18px;
}


.work-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.work-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-copy .button {
  min-width: 220px;
}

.work-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
}

.home-projects .project-strip {
  gap: 20px;
}

.home-projects .project-strip .media-card {
  padding: 0;
}

.home-projects .project-strip .media-card h3 {
  font-size: 1.15rem;
  margin: 18px 18px 8px;
}

.home-projects .project-strip .media-card p {
  margin: 0 18px 18px;
}

@media (max-width: 980px) {
  .service-grid,
  .work-shell,
  .home-values .work-grid,
  .project-strip,
  .service-list-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }
}

.home-intro .intro-copy {
  display: grid;
  gap: 24px;
  align-content: center;
  padding: clamp(24px, 3vw, 44px);
}

.home-intro h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  align-items: start;
  background: #fff;
  border: 1px solid #edf2ef;
  border-radius: 24px;
  display: grid;
  gap: 18px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 26px 65px rgba(23, 32, 38, 0.08);
  transform: translateY(-4px);
}

.feature-icon {
  inline-size: 62px;
  block-size: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eff6eb;
  box-shadow: inset 0 0 0 1px rgba(73, 131, 48, 0.12);
}

.feature-icon img {
  inline-size: 40px;
  block-size: 40px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: #525252;
  line-height: 1.75;
}

.home-projects .section-heading a {
  padding: 10px 16px;
}

@media (max-width: 960px) {
  .split-section,
  .feature-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 70vh;
    padding: clamp(24px, 6vw, 48px);
  }

  .home-hero h1 {
    font-size: clamp(2.5rem, 7vw, 3.8rem);
  }
}

.hero h1,
.page-hero h1 {
  font-size: 48px;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 18px;
}

.hero p,
.page-hero p,
.split-section p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 24px;
}

.eyebrow {
  color: var(--accent) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px !important;
  text-transform: uppercase;
}

.hero-panel {
  background: #d6ded8;
  border: 1px solid #c3cec7;
  border-radius: var(--radius);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.intro-standard {
  align-items: center;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr;
  margin-top: 54px;
  padding-block: 0 38px;
}

.intro-media img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.intro-standard > div:last-child {
  padding: 44px clamp(22px, 5vw, 70px);
}

.intro-hello {
  color: #000;
  font-weight: 400;
  margin: 0 0 4px;
}

.intro-standard h2 {
  display: inline;
  background: #000;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.55;
  padding: 2px 25px;
  text-transform: uppercase;
}

.intro-standard p:last-child {
  color: var(--muted);
  margin-top: 24px;
}

.worx-band {
  background: #f6f6f6;
  margin-block: 38px;
  padding-block: 50px;
}

.worx-band .section-heading,
.services-preview .section-heading,
.centered {
  justify-content: center;
  text-align: center;
}

.worx-band .section-heading h2,
.services-preview .section-heading h2,
.partners-band h2,
.centered h1 {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4.2px;
  line-height: 1;
  text-transform: uppercase;
  word-spacing: 3px;
}

.mission-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
  margin-inline: auto;
  max-width: 1200px;
}

.mission-card {
  display: grid;
  gap: 10px;
  grid-template-columns: 58px 1fr;
}

.mission-icon {
  color: var(--brand);
  font-size: 34px;
  line-height: 1;
}

.mission-card h3 {
  color: #000;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.mission-card p {
  color: #7a7a7a;
  font-size: 15px;
  margin: 0;
}

.services-preview {
  background: #fff;
}

.service-orbit {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  margin-inline: auto;
  max-width: 1120px;
}

.service-bubble {
  align-items: center;
  color: #000;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.service-bubble img {
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  height: 100px;
  object-fit: cover;
  padding: 0;
  width: 100px;
}

.service-bubble span {
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.services-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.38)),
    url("../img/cityworx/service-1.jpeg") center / cover no-repeat;
  display: grid;
  gap: 42px;
  min-height: 68vh;
  padding: 70px clamp(18px, 4vw, 56px);
  place-content: center;
  overflow: hidden;
}

.services-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
              radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.10), transparent 16%),
              radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.12), transparent 20%);
  opacity: 0.65;
  animation: services-hero-animate 15s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.34));
  pointer-events: none;
  z-index: 1;
}

.services-hero .section-heading,
.services-hero .service-orbit {
  position: relative;
  z-index: 2;
}

@keyframes services-hero-animate {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-18px, 18px) scale(1.03);
  }
}

.services-hero h1 {
  background: #fff;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4.2px;
  padding: 7px 18px;
  text-transform: uppercase;
}

.services-hero .service-bubble span {
  color: #fff;
}


.services-works .section-heading h2 {
  font-size: clamp(2rem, 2.2vw, 2.5rem);
}

.services-cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.services-card {
  background: #2f6a25 !important;
  border-radius: 22px;
  color: #fff;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-height: 260px;
  border-inline-start: 0 !important;
}

html[lang="ar"] .services-card {
  flex-direction: row-reverse;
}

.services-card-body {
  flex: 1;
  padding: 28px 30px;
  display: grid;
  gap: 18px;
}

.services-card-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  justify-items: center;
  padding: 24px 16px;
  min-width: 94px;
  width: 94px;
}

.services-card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.services-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 0;
}

.services-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.services-card li {
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.services-card-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  justify-items: center;
  padding: 24px 16px;
}

.services-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 32px 28px;
  display: grid;
  gap: 20px;
}

.service-detail-card p {
  color: #525252;
  font-size: 1rem;
  line-height: 1.9;
  margin: 0;
}

.service-detail-title {
  align-items: center;
  display: flex;
  gap: 16px;
}

.service-detail-title img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(73, 131, 48, 0.08);
  padding: 12px;
  object-fit: contain;
}

.service-detail-title h2 {
  color: #121212;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
}

.button-text {
  background: transparent;
  border: 1px solid rgba(18, 18, 18, 0.12);
  color: #121212;
  padding: 12px 20px;
  border-radius: 999px;
  width: fit-content;
}

.button-text:hover {
  background: rgba(73, 131, 48, 0.08);
}

.fitout-scene {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.42) 48% 52%, transparent 52%),
    #d6ded8;
  height: 100%;
  min-height: 420px;
  position: relative;
}

.scene-window,
.scene-bed,
.scene-panel,
.scene-chair,
.scene-cabinet {
  position: absolute;
}

.scene-window {
  background: #f9fbf9;
  border: 12px solid #9eb1a8;
  height: 46%;
  inset-inline-start: 11%;
  top: 10%;
  width: 40%;
}

.scene-bed {
  background: #ffffff;
  border: 10px solid #88a584;
  border-radius: 7px;
  bottom: 21%;
  height: 96px;
  inset-inline-start: 18%;
  width: 54%;
}

.scene-bed::before,
.scene-bed::after {
  background: var(--brand-dark);
  content: "";
  height: 58px;
  position: absolute;
  top: 86px;
  width: 12px;
}

.scene-bed::before {
  inset-inline-start: 10%;
}

.scene-bed::after {
  inset-inline-end: 10%;
}

.scene-panel {
  background: #f8fbf7;
  border: 6px solid #8aad80;
  border-radius: var(--radius);
  height: 96px;
  inset-inline-end: 13%;
  top: 16%;
  width: 140px;
}

.scene-panel::before,
.scene-panel::after {
  background: var(--accent);
  content: "";
  position: absolute;
}

.scene-panel::before {
  height: 56px;
  inset-inline-start: 62px;
  top: 16px;
  width: 12px;
}

.scene-panel::after {
  height: 12px;
  inset-inline-start: 40px;
  top: 38px;
  width: 56px;
}

.scene-chair {
  background: var(--brand-dark);
  border-radius: 24px 24px 8px 8px;
  bottom: 14%;
  height: 122px;
  width: 82px;
}

.scene-chair::after {
  background: #2b3436;
  bottom: -28px;
  content: "";
  height: 34px;
  inset-inline-start: 34px;
  position: absolute;
  width: 12px;
}

.scene-chair-one {
  inset-inline-start: 62%;
}

.scene-cabinet {
  background: #b7c0bc;
  border-radius: var(--radius);
  bottom: 21%;
  height: 150px;
  inset-inline-end: 8%;
  width: 96px;
}

.scene-cabinet::before,
.scene-cabinet::after {
  background: #eef2ef;
  content: "";
  height: 2px;
  inset-inline: 16px;
  position: absolute;
}

.scene-cabinet::before {
  top: 50px;
}

.scene-cabinet::after {
  top: 96px;
}

.section,
.page-hero,
.auth-shell,
.admin-nav {
  padding-inline: clamp(18px, 4vw, 56px);
}

.section {
  padding-block: 44px;
}

.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: 54px 42px;
}

.page-hero.compact {
  height: clamp(360px, 50vh, 520px);
  position: relative;
  color: #fff;
  display: grid;
  align-items: end;
  justify-items: end;
  padding: 0 clamp(22px, 6vw, 64px) 40px;
  border-bottom: none;
}

.page-hero.compact.projects-hero {
  height: clamp(420px, 52vh, 550px);
  width: 100%;
  margin-inline: 0;
  min-height: 420px;
  background: url("../img/cityworx/projects-hero.jpeg") center center / cover no-repeat;
}

.page-hero.compact.projects-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.22);
}

.page-hero.compact h1 {
  position: relative;
  font-size: clamp(3rem, 4vw, 5rem);
  letter-spacing: 0.08em;
  margin: 0;
  text-align: right;
  line-height: 1;
}

.page-hero.compact.projects-hero h1 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 clamp(12px, 3vw, 44px) clamp(10px, 2vw, 34px) 0;
}

.projects-portfolio {
  background: #fff;
  padding-block: 82px 78px;
}

.project-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1456px;
}

.project-card {
  align-items: center;
  color: #000;
  display: grid;
  gap: 16px;
  text-align: center;
}

.project-card-image {
  aspect-ratio: 10 / 7;
  display: block;
  overflow: hidden;
  width: 100%;
}

.project-card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
  width: 100%;
}

.project-card strong {
  color: #111;
  display: block;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 58px;
}

.project-card:hover .project-card-image img,
.project-card:focus-visible .project-card-image img {
  transform: scale(1.035);
}

.project-logo-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 1180px;
}

.project-logo-card {
  align-items: center;
  color: #000;
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.project-logo-frame {
  align-items: center;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.14);
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(23, 32, 38, 0.08);
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
  width: min(100%, 190px);
}

.project-logo-frame img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-logo-card strong {
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.project-logo-card:hover .project-logo-frame {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.project-detail-hero {
  position: relative;
  min-height: clamp(300px, 45vw, 520px);
  display: flex;
  align-items: flex-end;
  padding: clamp(24px, 4vw, 40px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.project-detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.project-detail-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.project-detail-hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.project-detail-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 14px;
  max-width: 12ch;
}

.project-detail-hero .project-client {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
}

.project-detail-hero img {
  display: none;
}

.project-detail-body {
  display: grid;
  gap: 34px;
}

.project-detail-body article {
  margin-inline: auto;
  max-width: 900px;
  text-align: center;
}

.project-detail-body article p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.project-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery img {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

.gallery-link {
  display: block;
  text-decoration: none;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  padding: clamp(18px, 4vw, 56px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-frame {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin: 0;
  max-width: min(1120px, 100%);
  max-height: 100%;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox .caption {
  color: white;
  font-size: 16px;
  text-align: center;
}

.lightbox .close,
.lightbox-nav {
  position: absolute;
  color: white;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox .close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
}

.lightbox .close {
  top: 20px;
  right: 20px;
  font-size: 30px;
  height: 46px;
  width: 46px;
}

html[dir="rtl"] .lightbox .close {
  right: auto;
  left: 20px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(2.6rem, 5vw, 4rem);
  height: 64px;
  width: 54px;
  z-index: 2;
}

.lightbox-prev {
  left: 22px;
}

.lightbox-next {
  right: 22px;
}

html[dir="rtl"] .lightbox-prev {
  left: auto;
  right: 22px;
}

html[dir="rtl"] .lightbox-next {
  right: auto;
  left: 22px;
}

.admin-gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-gallery figure {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  padding: 8px;
}

.admin-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.portfolio-tile {
  aspect-ratio: 10 / 7;
  background: var(--brand);
  display: block;
  overflow: hidden;
  position: relative;
}

.portfolio-tile img {
  height: 100%;
  object-fit: cover;
  transition: opacity 0.24s ease, transform 0.24s ease;
  width: 100%;
}

.portfolio-tile span {
  align-items: center;
  background: rgba(73, 131, 48, 0.96);
  color: #fff;
  display: flex;
  font-family: 'Oswald', 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 600;
  inset: 0;
  justify-content: center;
  line-height: 1.45;
  opacity: 0;
  padding: 20px;
  position: absolute;
  text-align: center;
  transition: opacity 0.2s ease;
}

.portfolio-tile:hover img,
.portfolio-tile:focus-visible img {
  transform: scale(1.04);
}

.portfolio-tile:hover span,
.portfolio-tile:focus-visible span {
  opacity: 1;
}

.projects-clients {
  background: #fff;
  margin-top: 10px;
  padding-block: 72px 84px;
}

.projects-clients h2 {
  color: #000;
  font-family: 'Cairo', 'Helvetica Neue', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 4.2px;
  line-height: 1;
  margin: 0 0 34px;
  text-align: center;
  text-transform: uppercase;
  word-spacing: 3px;
}

.client-carousel {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  margin-inline: auto;
  max-width: 1480px;
}

.client-slide {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 150px;
  overflow: hidden;
}

.client-slide img {
  display: block;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  width: 100%;
}

.client-dots {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.client-dots span {
  background: #d4d4d4;
  border-radius: 50%;
  display: block;
  height: 8px;
  width: 8px;
}

.client-dots .active {
  background: #1c1c1c;
}

.split-section {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.2fr;
}

.split-section h2,
.section-heading h2,
.card h2,
.card h3,
.form-card h1,
.form-card h2 {
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 10px;
}

.stacked-copy {
  display: grid;
  gap: 12px;
}

.stacked-copy p {
  margin: 0;
}

.soft-band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-heading a {
  color: var(--brand);
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card,
.form-card,
.checkout-card {
  background: var(--paper);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: 0 18px 40px rgba(23, 32, 38, 0.05);
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(23, 32, 38, 0.09);
}

.card p {
  color: var(--muted);
  margin: 0;
}

.service-icon {
  align-items: center;
  background: #eff6eb;
  border-radius: var(--radius);
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  margin-bottom: 14px;
  width: 52px;
}

.media-card img,
.product-card img,
.media-placeholder,
.detail-image {
  aspect-ratio: 4 / 3;
  background: #dfe6e1;
  border-radius: 0;
  color: var(--brand-dark);
  display: block;
  font-weight: 700;
  justify-content: center;
  margin: 0;
  object-fit: cover;
  text-align: center;
  width: 100%;
  max-height: 330px;
}

.project-strip .media-card {
  padding: 0;
  overflow: hidden;
}

.project-strip .media-card img {
  border-radius: 0;
  margin: 0;
  padding: 0;
}

.project-strip .media-card > div {
  padding: 24px 22px 26px;
}

.project-strip .media-card h2,
.project-strip .media-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.project-strip .media-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}

.project-strip .media-card .muted {
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.media-placeholder {
  align-items: center;
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list article {
  background: #fff;
  border-inline-start: 4px solid var(--brand);
  display: grid;
  gap: 8px;
  padding: 24px;
}

.partners-band {
  background: rgba(73, 131, 48, 0.05);
  border-radius: calc(var(--radius) * 1.25);
  padding: 48px clamp(18px, 4vw, 56px);
}

.partners-band-inner {
  display: grid;
  gap: 32px;
  margin: 0 auto;
  max-width: 1180px;
}

.partners-copy {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.partners-band h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 2.3vw, 2.8rem);
  letter-spacing: 0;
  text-transform: none;
}

.partners-copy-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 18px auto 0;
  max-width: 640px;
}

.logo-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-card {
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.14);
  border-radius: calc(var(--radius) * 1.15);
  box-shadow: 0 18px 40px rgba(23, 32, 38, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 30px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 131, 48, 0.28);
  box-shadow: 0 28px 60px rgba(23, 32, 38, 0.10);
}

.partner-card img {
  display: block;
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
}

.partner-card span {
  color: var(--brand-dark);
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

@media (max-width: 900px) {
  .logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .partners-band {
    padding: 36px 18px;
  }

  .logo-row {
    grid-template-columns: 1fr;
  }
}

.auth-shell {
  display: grid;
  justify-content: center;
  padding-block: 52px;
}

.form-card {
  display: grid;
  gap: 18px;
  width: 100%;
}

.login-page-shell {
  justify-content: stretch;
  min-height: calc(100vh - 190px);
  padding-block: clamp(42px, 7vw, 86px);
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 460px);
  gap: clamp(22px, 4vw, 42px);
  width: min(1080px, 100%);
  margin-inline: auto;
  align-items: stretch;
}

.login-brand-card,
.login-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(23, 32, 38, 0.08);
}

.login-brand-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.84), rgba(49, 91, 32, 0.58)),
    url("../img/cityworx/projects-hero.jpeg") center / cover;
}

html[dir="rtl"] .login-brand-card {
  background:
    linear-gradient(270deg, rgba(23, 32, 38, 0.84), rgba(49, 91, 32, 0.58)),
    url("../img/cityworx/projects-hero.jpeg") center / cover;
}

.login-brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.login-brand-top img {
  width: 142px;
  filter: brightness(0) invert(1);
}

.login-brand-top span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 11px;
}

.login-brand-copy {
  max-width: 430px;
}

.login-brand-copy p {
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.login-benefits {
  display: grid;
  gap: 12px;
  max-width: 360px;
}

.login-benefits span {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  padding-inline-start: 18px;
}

.login-benefits span::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: #9cc46c;
}

.login-card {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.login-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.login-heading > span {
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 800;
}

.login-heading h1 {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.login-heading p {
  color: var(--muted);
  margin: 0;
}

.login-field {
  display: grid;
  gap: 8px;
}

.login-field span {
  color: var(--ink);
  font-weight: 800;
}

.login-field input {
  border-color: rgba(23, 32, 38, 0.14);
  min-height: 54px;
  padding-inline: 14px;
}

.login-field input:focus {
  border-color: rgba(73, 131, 48, 0.6);
  box-shadow: 0 0 0 4px rgba(73, 131, 48, 0.1);
  outline: none;
}

.login-submit {
  min-height: 54px;
  width: 100%;
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 800;
}

.login-register-note {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  color: var(--muted);
  margin: 4px 0 0;
  padding-top: 16px;
  text-align: center;
}

.login-register-note a {
  color: var(--brand);
  font-weight: 800;
}

.register-panel {
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1fr);
}

.register-brand-card {
  min-height: 590px;
}

.register-card {
  align-content: start;
}

.register-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-wide-field {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .login-panel {
    grid-template-columns: 1fr;
  }

  .login-brand-card {
    min-height: 320px;
  }
}

@media (max-width: 560px) {
  .login-page-shell {
    padding-block: 28px;
  }

  .login-brand-card,
  .login-card {
    box-shadow: 0 18px 45px rgba(23, 32, 38, 0.07);
  }

  .login-brand-top {
    align-items: flex-start;
    display: grid;
  }

  .login-brand-copy p {
    font-size: 1.75rem;
  }

  .register-field-grid {
    grid-template-columns: 1fr;
  }

  .register-wide-field {
    grid-column: auto;
  }
}

.admin-nav + .section .form-card {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: 32px;
  background: var(--paper);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: calc(var(--radius) * 1.2);
  box-shadow: 0 28px 60px rgba(23, 32, 38, 0.07);
}

.section-heading.admin-page-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-heading.admin-page-heading h2 {
  font-size: clamp(1.65rem, 2.15vw, 2rem);
  margin-bottom: 4px;
}

.section-heading.admin-page-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.admin-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  align-items: start;
}

.admin-grid .table-wrap {
  background: #fff;
  border-radius: calc(var(--radius) * 1.2);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23, 32, 38, 0.05);
  border: 1px solid rgba(23, 32, 38, 0.08);
}

.admin-grid > .form-card {
  align-self: start;
  min-width: 0;
}

.admin-grid > .form-card.admin-form {
  padding: 32px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  background: #fbfcfd;
  box-shadow: 0 18px 35px rgba(23, 32, 38, 0.05);
}

.admin-grid > .form-card.admin-form label {
  display: block;
  margin-bottom: 18px;
}

.admin-grid > .form-card.admin-form input,
.admin-grid > .form-card.admin-form select,
.admin-grid > .form-card.admin-form textarea {
  min-height: 48px;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.12);
}

.admin-grid > .form-card.admin-form .button {
  width: 100%;
  max-width: 260px;
}

.admin-orders .section-heading {
  grid-column: 1 / -1;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.admin-orders .section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

.admin-orders .section-heading p {
  margin: 0;
  color: var(--muted);
}

.admin-orders .admin-table th {
  background: linear-gradient(180deg, #ecf7ef, #ffffff);
  color: #1f4d2f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.83rem;
}

.admin-orders .admin-table td,
.admin-orders .admin-table th {
  padding: 18px 20px;
}

.admin-orders .admin-table tbody tr {
  background: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-orders .admin-table tbody tr:hover {
  background: rgba(73, 131, 48, 0.08);
  transform: translateX(1px);
}

.admin-orders .admin-table .order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-orders .actions-cell .button {
  min-width: auto;
  padding: 10px 18px;
}

.admin-orders .form-card {
  padding: 26px;
  border: none;
  background: linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
  box-shadow: 0 24px 60px rgba(23, 32, 38, 0.08);
}

.admin-orders .order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  padding-bottom: 20px;
}

.admin-orders .order-header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.admin-orders .order-meta {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 22px;
}

.admin-orders .order-meta div {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
}

.admin-orders .order-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.admin-orders .order-meta p {
  margin: 0;
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 700;
}

.admin-orders .order-items {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.admin-orders .order-item {
  background: #fbfdf8;
  border: 1px solid rgba(73, 131, 48, 0.14);
  border-radius: 18px;
  padding: 18px;
}

.admin-orders .order-item strong {
  display: block;
  margin-bottom: 6px;
}

.admin-orders .order-notes {
  background: #ffffff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 18px;
  padding: 18px;
  margin-top: 20px;
}

.admin-orders .order-notes strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 0.9rem;
}

.admin-orders .admin-form {
  margin-top: 16px;
}

.admin-orders .order-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.admin-orders .stat-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 18px 42px rgba(23, 32, 38, 0.06);
}

.admin-orders .stat-card span {
  color: var(--muted);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-orders .stat-card strong {
  font-size: 1.75rem;
  color: var(--brand-dark);
  line-height: 1.1;
}

.admin-orders-redesign {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.08), rgba(255, 255, 255, 0) 420px),
    #f8faf7;
  padding-block-start: 34px;
}

.admin-orders-redesign > * {
  margin-inline: auto;
  max-width: 1460px;
}

.admin-orders-hero {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(23, 32, 38, 0.08);
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 38px);
}

.admin-orders-hero h1 {
  color: #101820;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

.admin-orders-hero p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 70ch;
}

.admin-orders-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.admin-orders-stats article {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.06);
  padding: 20px 22px;
}

.admin-orders-stats span,
.admin-order-info-grid span,
.admin-order-summary-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.admin-orders-stats strong,
.admin-order-summary-grid strong {
  color: var(--brand-dark);
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.admin-orders-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.admin-orders-list-card,
.admin-order-details-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 38, 0.07);
  overflow: hidden;
}

.admin-orders-card-head,
.admin-order-detail-head {
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 28px;
}

.admin-orders-card-head h2,
.admin-order-detail-head h2 {
  font-family: 'Cairo', 'Inter', sans-serif;
  letter-spacing: 0;
  margin: 0;
}

.admin-orders-card-head strong {
  align-items: center;
  background: var(--brand);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 52px;
  justify-content: center;
  min-width: 52px;
  padding-inline: 14px;
}

.admin-orders-list-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.admin-orders-table th {
  background: #f8fbf6;
  color: var(--brand-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-orders-table td,
.admin-orders-table th {
  padding: 18px 20px;
  vertical-align: middle;
}

.admin-orders-table tbody tr.is-selected,
.admin-orders-table tbody tr:hover {
  background: rgba(73, 131, 48, 0.07);
}

.admin-orders-table .order-number {
  color: var(--brand-dark);
  font-weight: 900;
}

.admin-orders-empty-row {
  color: var(--muted);
  padding-block: 36px !important;
  text-align: center;
}

.admin-order-details-card {
  padding-bottom: 24px;
}

.admin-order-info-grid,
.admin-order-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px 24px 0;
}

.admin-order-info-grid div,
.admin-order-summary-grid div {
  background: #fbfdf8;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: 16px;
  min-width: 0;
  padding: 14px 16px;
}

.admin-order-info-grid .wide {
  grid-column: 1 / -1;
}

.admin-order-info-grid strong {
  color: var(--ink);
  display: block;
  overflow-wrap: anywhere;
}

.admin-order-status-form {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  display: grid;
  gap: 14px;
  margin: 22px 24px 0;
  padding-top: 22px;
}

.admin-order-status-form label {
  display: grid;
  gap: 8px;
}

.admin-order-status-form select {
  border-radius: 14px;
  min-height: 48px;
}

.admin-order-items-list,
.admin-order-notes {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  margin: 22px 24px 0;
  padding-top: 22px;
}

.admin-order-items-list h3,
.admin-order-notes h3 {
  font-family: 'Cairo', 'Inter', sans-serif;
  letter-spacing: 0;
  margin: 0 0 14px;
}

.admin-order-items-list article {
  align-items: center;
  background: #fbfcfd;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin-bottom: 10px;
  padding: 14px;
}

.admin-order-details-card {
  margin-top: 0;
}

.admin-order-detail-head {
  align-items: center;
}

.admin-order-status-form {
  align-items: end;
  grid-template-columns: minmax(260px, 1fr) auto;
}

.admin-order-status-form .button {
  min-height: 48px;
}

.admin-order-items-list small,
.admin-order-notes p {
  color: var(--muted);
}

.admin-order-items-list small {
  display: block;
  margin-top: 4px;
}

.admin-order-items-list article > strong {
  color: var(--brand-dark);
}

.admin-order-placeholder {
  padding: 34px 28px;
  text-align: center;
}

.admin-order-placeholder h2 {
  font-family: 'Cairo', 'Inter', sans-serif;
  letter-spacing: 0;
}

@media (max-width: 980px) {
  .admin-orders .order-stats {
    grid-template-columns: 1fr;
  }

  .admin-orders-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-orders-stats,
  .admin-order-info-grid,
  .admin-order-summary-grid,
  .admin-order-items-list article {
    grid-template-columns: 1fr;
  }

  .customer-orders-hero,
  .customer-order-stats {
    grid-template-columns: 1fr;
  }

  .customer-order-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .admin-orders .order-header {
    flex-direction: column;
  }
  .admin-orders .order-meta {
    grid-template-columns: 1fr;
  }
}

.button-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(23, 32, 38, 0.12);
}

.button-danger,
.btn.danger {
  background: #fff5f5;
  color: #b12e30;
  border-color: rgba(180, 35, 24, 0.24);
}

.admin-table th {
  background: linear-gradient(180deg, #f7faf7, #ffffff);
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}

.admin-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(30, 113, 72, 0.05);
}

.admin-table .actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

.admin-table .actions-cell .button {
  border-radius: 999px;
  padding: 9px 14px;
  min-width: 112px;
}

.admin-table .actions-cell form {
  margin: 0;
}

.option-image-preview {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(23, 32, 38, 0.08);
  width: 96px;
}

.option-image-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  margin-bottom: 6px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

.section-heading .button {
  min-width: 160px;
}

.admin-table th {
  background: linear-gradient(180deg, #f3faf7, #ffffff);
  color: var(--brand-dark);
}

.admin-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-table tbody tr:hover {
  background: rgba(30, 113, 72, 0.05);
  transform: translateX(2px);
}

.admin-table td,
.admin-table th {
  padding: 16px 20px;
}

.admin-table .actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  align-items: center;
}

.admin-table .actions-cell .button {
  min-width: 108px;
  padding: 10px 14px;
}

.button-compact {
  padding: 9px 14px;
  min-height: 38px;
}

.option-image-preview {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.08);
  width: 100px;
}

.option-image-preview img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
}

.admin-table th {
  background: #f7faf7;
  text-align: left;
  color: var(--brand-dark);
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: #f5f7f5;
}

.admin-table td:last-child {
  white-space: nowrap;
}

.admin-table .actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  text-decoration: none;
}

.btn.small {
  padding: 8px 12px;
  font-size: 0.95rem;
}

.btn.primary,
.button-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn.secondary,
.button-secondary {
  background: #fff;
  color: var(--brand-dark);
  border-color: rgba(23, 32, 38, 0.12);
}

.btn.danger {
  background: #fff5f5;
  color: var(--danger);
  border-color: rgba(180, 35, 24, 0.24);
}

.admin-form .action-row {
  justify-content: flex-start;
  gap: 12px;
}

.admin-form .form-grid {
  display: grid;
  gap: 18px;
}

.admin-form .form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form .form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form .form-grid label {
  margin: 0;
}

.admin-form .form-grid textarea {
  min-height: 120px;
}

.admin-form .action-row {
  display: flex;
  justify-content: flex-end;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.admin-form .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.admin-form .checkbox-label:hover {
  border-color: var(--accent);
}

.admin-form .checkbox-label input[type="checkbox"] {
  margin: 0;
}

.admin-form .color-preview {
  margin-top: 8px;
  text-align: center;
}

.admin-table .color-swatch {
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-form .option-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.admin-form .option-summary {
  background: #f9f9f9;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
  list-style: none;
}

.admin-form .option-summary:hover {
  background: #f0f0f0;
}

.admin-form .option-summary::-webkit-details-marker {
  display: none;
}

.admin-form .option-summary::after {
  content: '▼';
  float: right;
  font-size: 14px;
  transition: transform 0.2s;
}

.admin-form .option-details[open] .option-summary::after {
  transform: rotate(180deg);
}

.admin-form .option-content {
  padding: 16px;
  border-top: 1px solid var(--line);
}

.admin-nav + .section .form-card label,
.checkout-card label,
.filter-bar label,
.inline-form label {
  display: grid;
  gap: 6px;
}

.admin-nav + .section .form-card input,
.admin-nav + .section .form-card select,
.admin-nav + .section .form-card textarea {
  min-height: 48px;
}

.admin-nav + .section .form-card button {
  width: fit-content;
  min-width: 160px;
  padding: 14px 24px;
}

.admin-nav + .section .table-wrap {
  margin-top: 32px;
}

@media (max-width: 980px) {
  .admin-form .form-grid.two,
  .admin-form .form-grid.three {
    grid-template-columns: 1fr;
  }
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-note,
.muted {
  color: var(--muted);
}

.form-note a {
  color: var(--brand);
  font-weight: 700;
}

.flash {
  border-radius: var(--radius);
  margin: 18px clamp(18px, 4vw, 56px) 0;
  padding: 12px 14px;
}

.flash-success {
  background: #e8f5ef;
  color: #15533f;
}

.flash-error {
  background: #fff0ed;
  color: var(--danger);
}

.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 16px;
  width: min(100%, 360px);
}

.product-card {
  display: grid;
  grid-template-rows: 1fr auto;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(23, 32, 38, 0.06);
  box-shadow: 0 12px 40px rgba(23, 32, 38, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(73, 131, 48, 0.12);
  box-shadow: 0 20px 60px rgba(23, 32, 38, 0.12);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f5f7f4;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image-link img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

html[lang="ar"] .product-badge {
  right: auto;
  left: 12px;
}

.product-content {
  padding: 20px 18px;
  display: grid;
  gap: 12px;
}

.product-card h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

.product-card h2 a {
  color: inherit;
  transition: color 0.2s ease;
}

.product-card h2 a:hover {
  color: var(--brand);
}

.product-footer {
  display: grid;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.product-price {
  display: block;
  font-size: 1.25rem;
  color: var(--brand-dark);
  font-weight: 700;
}

.button-compact {
  padding: 10px 14px;
  font-size: 0.9rem;
  min-height: auto;
}

.shop-hero {
  background: linear-gradient(180deg, rgba(2, 32, 68, 0.88), rgba(7, 92, 149, 0.92)), url("../img/cityworx/hero.jpg") center / cover no-repeat;
  color: #fff;
  padding-top: 48px;
  padding-bottom: 52px;
  text-align: center;
  position: relative;
  justify-items: center;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.shop-hero > * {
  position: relative;
  z-index: 1;
}

.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow {
  text-align: center;
}


.shop-hero h1,
.shop-hero p,
.shop-hero .eyebrow {
  color: #fff;
}

.shop-categories {
  padding-top: 10px;
}

.category-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 24px;
}

.category-card {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  text-align: center;
  padding: 24px 18px;
  background: #ffffff;
  border: 1px solid rgba(20, 42, 66, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 28, 60, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-card:hover,
.category-card.active {
  transform: translateY(-4px);
  opacity: 1;
  box-shadow: 0 24px 50px rgba(15, 28, 60, 0.12);
  border-color: rgba(20, 42, 66, 0.16);
}

.category-card.active {
  border-color: var(--brand);
}

.category-media {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top left, rgba(29, 143, 255, 0.95), rgba(20, 216, 166, 0.9));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.category-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 45%);
  pointer-events: none;
}

.category-media span {
  z-index: 1;
  padding: 0 8px;
}

.category-media[style] {
  background-color: transparent;
}

.category-card.active .category-media {
  background: radial-gradient(circle at top left, rgba(18, 112, 217, 0.95), rgba(28, 142, 255, 0.92));
}

.category-card strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--brand-dark);
  max-width: 210px;
}

.shop-hero {
  padding-top: 48px;
  padding-bottom: 52px;
}

.product-card h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.4;
}

.product-card p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  min-height: 60px;
}

.product-card .button {
  width: 100%;
}

.product-card img,
.media-placeholder,
.detail-image {
  aspect-ratio: 4 / 3;
  background: #dfe6e1;
  border-radius: 0;
  color: var(--brand-dark);
  display: block;
  font-weight: 700;
  justify-content: center;
  margin: 0;
  object-fit: cover;
  text-align: center;
  width: 100%;
  max-height: 330px;
}

.product-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-meta strong,
.price {
  color: var(--brand-dark);
  font-size: 20px;
}

.product-detail {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
}

.detail-copy {
  align-self: center;
}

.detail-copy h1 {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 16px;
}

.inline-form {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.product-options-group {
  display: grid;
  gap: 10px;
}

.product-options-group legend {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-swatch,
.size-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 8px 12px;
  background: #ffffff;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.size-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.size-pill input:checked + span {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.color-swatch input,
.size-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-swatch .swatch-preview {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #f5f7f4;
  border: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.color-swatch .swatch-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-swatch .swatch-fallback {
  color: var(--ink);
  font-weight: 700;
}

.color-swatch input:checked ~ .swatch-preview,
.size-pill input:checked + span {
  border-color: var(--brand);
}

.color-swatch input:checked ~ .swatch-label {
  color: var(--brand-dark);
}

.color-swatch:hover,
.size-pill:hover {
  border-color: var(--brand);
}

.option-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.option-image-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.product-gallery img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.cart-top .section-heading {
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

.cart-top .section-copy {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 12px;
}

.cart-layout .cart-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.6fr 0.9fr;
  align-items: start;
}

.cart-layout .cart-items {
  width: 100%;
}

.cart-summary {
  position: sticky;
  top: 100px;
}

.summary-box {
  padding: 24px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: calc(var(--radius) * 1.1);
  background: #fff;
  box-shadow: 0 18px 40px rgba(23, 32, 38, 0.05);
}

.summary-box h2 {
  margin: 0 0 8px;
}

.summary-box .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  margin: 18px 0;
}

.summary-box .summary-line span {
  color: var(--muted);
}

.summary-box .summary-line strong {
  color: var(--brand-dark);
  font-size: 1.3rem;
}

.summary-box .summary-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cart-variant {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .cart-layout .cart-grid {
    grid-template-columns: 1fr;
  }
  .cart-summary {
    position: static;
  }
}

.cart-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.9), rgba(49, 91, 32, 0.62)),
    url("../img/cityworx/hero.jpg") center / cover;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  margin-top: 0;
  padding-block: clamp(44px, 7vw, 78px);
}

html[dir="rtl"] .cart-hero {
  background:
    linear-gradient(270deg, rgba(23, 32, 38, 0.9), rgba(49, 91, 32, 0.62)),
    url("../img/cityworx/hero.jpg") center / cover;
}

.cart-hero .eyebrow,
.cart-hero h1,
.cart-hero p {
  color: #fff;
}

.cart-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.cart-hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 680px;
}

.cart-hero-copy p {
  margin: 0;
  max-width: 560px;
}

.cart-hero-stats {
  align-self: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.cart-hero-stats div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: #fff;
}

.cart-hero-stats span {
  color: var(--muted);
  font-weight: 700;
}

.cart-hero-stats strong {
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.cart-page-redesign {
  padding-top: clamp(32px, 5vw, 56px);
}

.cart-page-redesign .cart-grid {
  gap: clamp(22px, 4vw, 34px);
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
}

.cart-items-panel,
.cart-empty-state,
.cart-page-redesign .summary-box {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(23, 32, 38, 0.07);
}

.cart-items-panel {
  padding: clamp(18px, 3vw, 28px);
}

.cart-list-heading {
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.cart-list-heading span,
.summary-label,
.cart-empty-state > span {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.cart-list-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0;
  margin: 2px 0 0;
}

.cart-list-heading a {
  border: 1px solid rgba(73, 131, 48, 0.32);
  color: var(--brand-dark);
  font-weight: 800;
  padding: 10px 14px;
}

.cart-item-list {
  display: grid;
  gap: 14px;
}

.cart-item-card {
  align-items: center;
  background: linear-gradient(180deg, #fbfcfa, #fff);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 112px minmax(180px, 1fr) minmax(260px, 0.95fr) auto;
  padding: 14px;
}

.cart-item-media {
  align-items: center;
  background: #eef3ea;
  color: var(--brand-dark);
  display: grid;
  font-size: 2rem;
  font-weight: 800;
  height: 104px;
  justify-items: center;
  overflow: hidden;
}

.cart-item-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cart-item-info {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.cart-item-title {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
}

.cart-variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-variant-row span {
  background: rgba(73, 131, 48, 0.08);
  color: var(--brand-dark);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 9px;
}

.cart-item-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cart-item-metrics div {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.07);
  padding: 10px;
}

.cart-item-metrics span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cart-item-metrics strong {
  color: var(--ink);
  display: block;
  font-size: 0.98rem;
  line-height: 1.35;
}

.cart-remove-form button {
  background: #fff;
  border: 1px solid rgba(180, 35, 24, 0.24);
  color: var(--danger);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 13px;
}

.cart-remove-form button:hover {
  background: #fff0ed;
}

.cart-page-redesign .summary-box {
  padding: clamp(20px, 3vw, 28px);
}

.cart-page-redesign .summary-box h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  letter-spacing: 0;
}

.cart-page-redesign .summary-box .summary-line {
  margin: 14px 0 0;
  padding: 16px 0;
}

.cart-page-redesign .summary-line-muted {
  border-top: 0;
  margin-top: 0;
}

.cart-page-redesign .summary-box .button {
  justify-content: center;
  margin-top: 18px;
  min-height: 52px;
  width: 100%;
}

.cart-empty-state {
  display: grid;
  gap: 12px;
  margin-inline: auto;
  max-width: 720px;
  padding: clamp(26px, 5vw, 44px);
  text-align: center;
}

.cart-empty-state h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: 0;
  margin: 0;
}

.cart-empty-state p {
  color: var(--muted);
  margin: 0 auto 12px;
  max-width: 520px;
}

.cart-empty-state .button {
  justify-self: center;
}

@media (max-width: 1100px) {
  .cart-item-card {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .cart-item-metrics,
  .cart-remove-form {
    grid-column: 2;
  }
}

@media (max-width: 980px) {
  .cart-hero,
  .cart-page-redesign .cart-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cart-list-heading,
  .cart-hero-stats div {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-item-card {
    grid-template-columns: 1fr;
  }

  .cart-item-media {
    height: 190px;
  }

  .cart-item-metrics,
  .cart-remove-form {
    grid-column: auto;
  }

  .cart-item-metrics {
    grid-template-columns: 1fr;
  }
}

.checkout-card {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  margin-inline-start: auto;
  width: min(100%, 520px);
}

.checkout-options {
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  background: #f5f7f4;
  margin: 12px 0;
}

.checkout-options p {
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}

.checkout-top .section-heading {
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: center;
}

.checkout-top .section-copy {
  color: var(--muted);
  margin-top: 10px;
}

.checkout-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.5fr 0.9fr;
  align-items: start;
}

.checkout-main {
  width: 100%;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.checkout-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mode-button {
  border: 1px solid rgba(23, 32, 38, 0.12);
  background: #ffffff;
  color: var(--ink);
  padding: 12px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mode-button.active,
.mode-button:hover {
  border-color: rgba(23, 32, 38, 0.18);
  background: #f9fbfa;
}

.checkout-form label {
  display: grid;
  gap: 8px;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form textarea,
.checkout-form select {
  width: 100%;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field-grid .full-width {
  grid-column: 1 / -1;
}

.payment-options {
  display: grid;
  gap: 12px;
}

.payment-group span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.form-note {
  padding: 16px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  background: #f4f7f3;
  color: var(--muted);
}

.form-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  background: #fff;
}

.form-summary .summary-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-summary {
  position: sticky;
  top: 100px;
}

.summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary {
    position: static;
  }
}

.checkout-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.9), rgba(49, 91, 32, 0.62)),
    url("../img/cityworx/intro.webp") center / cover;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  margin-top: 0;
  padding-block: clamp(44px, 7vw, 78px);
}

html[dir="rtl"] .checkout-hero {
  background:
    linear-gradient(270deg, rgba(23, 32, 38, 0.9), rgba(49, 91, 32, 0.62)),
    url("../img/cityworx/intro.webp") center / cover;
}

.checkout-hero .eyebrow,
.checkout-hero h1,
.checkout-hero p {
  color: #fff;
}

.checkout-hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  max-width: 720px;
}

.checkout-hero h1 {
  font-size: clamp(2.15rem, 5vw, 4rem);
  letter-spacing: 0;
  line-height: 1.16;
  margin: 0;
}

.checkout-hero-copy p {
  margin: 0;
  max-width: 580px;
}

.checkout-hero-card {
  align-self: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 28px);
}

.checkout-hero-card span,
.checkout-hero-card small {
  color: var(--muted);
  font-weight: 800;
}

.checkout-hero-card strong {
  color: var(--brand-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.checkout-redesign {
  gap: clamp(24px, 4vw, 36px);
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.72fr);
  padding-top: clamp(34px, 5vw, 58px);
}

.checkout-form-card,
.checkout-summary-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(23, 32, 38, 0.07);
}

.checkout-form-card {
  padding: clamp(20px, 4vw, 34px);
}

.checkout-form-head {
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
}

.checkout-form-head span,
.checkout-summary-card .summary-label {
  color: var(--brand);
  font-size: 0.9rem;
  font-weight: 800;
}

.checkout-form-head h2,
.checkout-summary-card h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: 0;
  margin: 0;
}

.checkout-redesign .checkout-mode {
  background: #f7faf6;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: var(--radius);
  margin-bottom: 0;
  padding: 8px;
}

.checkout-redesign .mode-button {
  border-radius: var(--radius);
  font-weight: 800;
  min-height: 44px;
}

.checkout-redesign .mode-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.checkout-signed-note {
  background: #f7faf6;
  border-color: rgba(73, 131, 48, 0.16);
  color: var(--brand-dark);
  font-weight: 700;
}

.checkout-field-grid {
  background: #fbfcfa;
  border: 1px solid rgba(23, 32, 38, 0.06);
  border-radius: var(--radius);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(16px, 3vw, 22px);
}

.checkout-field-grid label > span,
.payment-group > span {
  color: var(--ink);
  font-weight: 800;
}

.checkout-field-grid input,
.checkout-field-grid textarea {
  border-color: rgba(23, 32, 38, 0.13);
  min-height: 50px;
  padding-inline: 13px;
}

.checkout-field-grid textarea {
  padding-block: 12px;
}

.checkout-field-grid input:focus,
.checkout-field-grid textarea:focus {
  border-color: rgba(73, 131, 48, 0.6);
  box-shadow: 0 0 0 4px rgba(73, 131, 48, 0.1);
  outline: none;
}

.checkout-payment-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-payment-option {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  min-height: 58px;
  padding: 12px 14px;
}

.checkout-payment-option:has(input:checked) {
  background: rgba(73, 131, 48, 0.08);
  border-color: rgba(73, 131, 48, 0.35);
}

.checkout-submit-row {
  background: #fff;
  border-color: rgba(73, 131, 48, 0.15);
  box-shadow: 0 16px 40px rgba(23, 32, 38, 0.05);
}

.checkout-submit-row .summary-line {
  display: grid;
  gap: 2px;
}

.checkout-submit-row .summary-line span {
  color: var(--muted);
  font-weight: 700;
}

.checkout-submit-row .summary-line strong {
  color: var(--brand-dark);
  font-size: 1.25rem;
}

.checkout-submit-row .button {
  min-height: 52px;
  min-width: 180px;
}

.checkout-summary-card {
  padding: clamp(20px, 3vw, 28px);
}

.checkout-summary-card > p {
  margin-top: 8px;
}

.checkout-summary-list {
  margin-top: 18px;
}

.checkout-summary-list li {
  align-items: flex-start;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
}

.checkout-summary-list li > div {
  display: grid;
  gap: 4px;
}

.checkout-summary-list small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-summary-list strong {
  color: var(--brand-dark);
  white-space: nowrap;
}

.checkout-summary-card .summary-total {
  border-top: 0;
  color: var(--muted);
}

.summary-grand-total {
  border-top: 1px solid rgba(23, 32, 38, 0.08) !important;
  color: var(--ink) !important;
}

.summary-grand-total strong {
  color: var(--brand-dark);
  font-size: 1.35rem;
}

.checkout-alert {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .checkout-hero,
  .checkout-redesign {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .checkout-field-grid,
  .checkout-payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-submit-row {
    align-items: stretch;
    display: grid;
  }

  .checkout-submit-row .button {
    width: 100%;
  }
}

.option-group {
  display: grid;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.radio-option:hover {
  background: rgba(73, 131, 48, 0.05);
}

.radio-option input[type="radio"] {
  margin: 0;
  width: auto;
  min-height: auto;
  padding: 0;
  cursor: pointer;
}

.radio-option span {
  font-weight: 500;
  color: var(--ink);
}

.guest-email-field {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  display: none;
}

.guest-email-field.active {
  display: block;
}

.orders-grid {
  display: grid;
  gap: 24px;
}

.order-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(23, 32, 38, 0.05);
  transition: box-shadow 0.2s ease;
}

.order-card:hover {
  box-shadow: 0 18px 60px rgba(23, 32, 38, 0.08);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
}

.order-header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.order-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-new {
  background: #e3f2fd;
  color: #0d47a1;
}

.status-reviewing {
  background: #fff3e0;
  color: #e65100;
}

.status-quoted {
  background: #f3e5f5;
  color: #4a148c;
}

.status-completed {
  background: #e8f5e9;
  color: #1b5e20;
}

.status-cancelled {
  background: #ffebee;
  color: #b71c1c;
}

.customer-orders-dashboard {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.08), rgba(255, 255, 255, 0) 420px),
    #f8faf7;
  padding-block-start: 36px;
}

.customer-orders-dashboard > * {
  margin-inline: auto;
  max-width: 1180px;
}

.customer-orders-hero {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(23, 32, 38, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 42px);
}

.customer-orders-hero h1 {
  color: #101820;
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0 0 12px;
}

.customer-orders-hero p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 62ch;
}

.customer-profile-card {
  background: linear-gradient(180deg, #f8fbf7, #fff);
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: 22px;
  display: grid;
  gap: 8px;
  justify-items: center;
  min-width: 0;
  padding: 26px 20px;
  text-align: center;
}

.customer-profile-card span {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 2rem;
  font-weight: 800;
  height: 74px;
  justify-content: center;
  width: 74px;
}

.customer-profile-card strong,
.customer-profile-card small {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.customer-profile-card small {
  color: var(--muted);
}

.customer-order-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.customer-order-stats article {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.06);
  padding: 20px;
}

.customer-order-stats span {
  color: var(--muted);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.customer-order-stats strong {
  color: var(--brand-dark);
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

.customer-orders-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.customer-order-card {
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 38, 0.08);
  padding: 28px;
}

.customer-order-card .order-header {
  align-items: flex-start;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  padding-bottom: 18px;
}

.customer-order-card .order-header h3 {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: 0;
  margin: 0;
}

.customer-order-card .order-meta div {
  background: #fbfdf8;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
}

.customer-order-items {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 18px;
  margin-top: 20px;
  overflow: hidden;
}

.customer-order-items summary {
  background: linear-gradient(180deg, #f8fbf7, #fff);
  color: var(--brand-dark);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 16px 18px;
}

.customer-order-items summary::-webkit-details-marker {
  display: none;
}

.customer-order-items summary::after {
  content: '+';
  float: inline-end;
}

.customer-order-items[open] summary::after {
  content: '-';
}

.customer-order-items > div {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.customer-order-item {
  align-items: center;
  background: #fbfcfd;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px;
}

.customer-order-item small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.customer-order-item > strong {
  color: var(--brand-dark);
}

.customer-orders-empty {
  margin-top: 24px;
  text-align: center;
}

.order-meta {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-bottom: 18px;
}

.order-meta div {
  display: grid;
  gap: 6px;
}

.order-meta strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.order-meta p {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.order-meta .price {
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.order-status-tracker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  padding: 18px 0;
}

.tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.tracker-step.active {
  color: var(--brand);
  font-weight: 600;
}

.tracker-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(23, 32, 38, 0.08);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tracker-step.active .tracker-icon {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.tracker-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 12px 24px;
  transition: background 0.2s ease;
}

.tracker-line.active {
  background: var(--brand);
}

.order-notes {
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  background: #f5f7f4;
  margin-top: 18px;
}

.order-notes strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.newsletter-section {
  background: linear-gradient(135deg, #f6faf6 0%, #e8f5e8 100%);
  border-radius: calc(var(--radius) * 1.2);
  display: grid;
  gap: 22px;
  padding: 36px clamp(18px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img/cityworx/intro.webp') center / cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.newsletter-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 20px 55px rgba(23, 32, 38, 0.1);
  display: grid;
  gap: 28px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.newsletter-copy {
  max-width: 720px;
}

.newsletter-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  line-height: 1.05;
}

.newsletter-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.newsletter-form {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
}

.newsletter-form input {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  font: inherit;
}

.newsletter-form button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.social-row a {
  color: var(--brand);
  font-weight: 700;
  transition: color 0.2s ease;
}

.social-row a:hover {
  color: var(--brand-dark);
}

@media (max-width: 820px) {
  .newsletter-form {
    grid-template-columns: 1fr;
  }
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.contact-panel {
  background: linear-gradient(180deg, rgba(7, 43, 86, 0.95), rgba(23, 91, 138, 0.95));
  border-radius: var(--radius);
  color: #fff;
  padding: 42px 40px;
  box-shadow: 0 28px 80px rgba(8, 27, 58, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  width: 100%;
  max-width: none;
  margin: 0;
}

.contact-panel-uae h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  text-align: center;
  color: #fff;
}

.contact-panel-uae p,
.contact-panel-form .form-intro {
  margin: 0 auto 16px;
  line-height: 1.8;
  max-width: 680px;
  text-align: center;
}

.contact-detail {
  margin: 18px auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 14px;
  max-width: 700px;
  text-align: center;
}

.contact-detail span {
  display: block;
  color: #2f4867;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.contact-detail strong {
  color: #10243c;
  display: block;
  font-size: 1rem;
  line-height: 1.6;
}

.whatsapp-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 24px auto 0;
  padding: 12px 18px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-panel-uae {
  text-align: center;
}

.contact-map-panel {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-panel-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-panel-form input,
.contact-panel-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 19, 19, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

.contact-panel-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-panel-form button {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  text-align: start;
  vertical-align: top;
}

th {
  background: #f0f4f2;
  font-weight: 700;
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.danger {
  color: var(--danger);
}

.admin-nav {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 18px 48px rgba(23, 32, 38, 0.08);
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.admin-nav .nav-item {
  align-items: center;
  background: #f6faf5;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.admin-nav .nav-item::before {
  align-items: center;
  background: #eaf4eb;
  border-radius: 50%;
  color: var(--brand-dark);
  content: attr(data-icon);
  display: inline-flex;
  font-size: 1rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

html[lang="ar"] .admin-nav .nav-item::before {
  margin-inline-start: 0.75rem;
  margin-inline-end: 0;
}

.admin-nav .nav-item:hover,
.admin-nav .nav-item.is-active {
  background: var(--brand);
  border-color: rgba(73, 131, 48, 0.18);
  color: #fff;
  transform: translateY(-1px);
}

.admin-nav .nav-item.is-active::before {
  background: rgba(255, 255, 255, 0.18);
}

.dashboard-panel {
  display: grid;
  gap: 28px;
}

.admin-dashboard {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.08), rgba(255, 255, 255, 0) 420px),
    #f8faf7;
  padding-block-start: 34px;
}

.admin-dashboard .dashboard-panel,
.admin-dashboard .dashboard-table-card {
  margin-inline: auto;
  max-width: 1280px;
}

.dashboard-hero {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(23, 32, 38, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) auto;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
}

.dashboard-hero::before {
  background: var(--brand);
  content: '';
  inset-block: 0;
  inset-inline-start: 0;
  position: absolute;
  width: 8px;
}

.dashboard-kicker {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dashboard-hero h1,
.dashboard-table-head h2 {
  color: #101820;
  font-family: 'Cairo', 'Inter', sans-serif;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.dashboard-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 14px;
}

.dashboard-hero p:not(.dashboard-kicker) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
  margin: 0;
  max-width: 64ch;
}

.dashboard-hero .dashboard-actions {
  justify-content: flex-end;
  min-width: min(100%, 420px);
}

.admin-dashboard .admin-summary {
  gap: 20px;
}

.admin-dashboard .dashboard-stat {
  border-radius: 22px;
  box-shadow: 0 20px 54px rgba(23, 32, 38, 0.08);
  min-height: 176px;
  overflow: hidden;
  padding: 26px;
  position: relative;
}

.admin-dashboard .dashboard-stat::before {
  align-items: center;
  background: rgba(73, 131, 48, 0.1);
  border: 1px solid rgba(73, 131, 48, 0.14);
  border-radius: 18px;
  color: var(--brand-dark);
  content: attr(data-mark);
  display: inline-flex;
  font-family: 'Oswald', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  margin-bottom: 18px;
  width: 44px;
}

.admin-dashboard .dashboard-stat::after {
  background: rgba(73, 131, 48, 0.08);
  border-radius: 50%;
  content: '';
  height: 120px;
  inset-block-start: -48px;
  inset-inline-end: -38px;
  position: absolute;
  width: 120px;
}

.admin-dashboard .dashboard-stat:hover {
  border-color: rgba(73, 131, 48, 0.22);
}

.dashboard-table-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 38, 0.07);
  margin-top: 28px;
  overflow: hidden;
}

.dashboard-table-head {
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 24px 28px;
}

.dashboard-table-head h2 {
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.admin-dashboard .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.dashboard-orders-table th {
  background: #f8fbf6;
  color: var(--brand-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-orders-table td,
.dashboard-orders-table th {
  padding: 18px 24px;
}

.dashboard-orders-table tbody tr:hover {
  background: rgba(73, 131, 48, 0.06);
}

.dashboard-order-id {
  color: var(--brand-dark);
  font-weight: 800;
}

.dashboard-empty {
  color: var(--muted);
  padding-block: 36px !important;
  text-align: center;
}

.admin-products-page {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.07), rgba(255, 255, 255, 0) 360px),
    #f8faf7;
  padding-block-start: 34px;
}

.admin-products-page .admin-products-hero,
.admin-products-page .products-form-card,
.admin-products-page .products-list-card {
  margin-inline: auto;
  max-width: 1280px;
}

.admin-products-hero {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 38, 0.07);
  gap: 22px;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 36px);
}

.admin-products-hero h1 {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: 0;
}

.admin-products-hero p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
  max-width: 62ch;
}

.products-form-card {
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(23, 32, 38, 0.08);
  padding: clamp(22px, 4vw, 36px);
}

.products-form-card .form-section {
  background: #fbfdfb;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: 20px;
  margin: 0 0 22px;
  padding: 22px;
}

.products-form-card .section-title {
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 800;
  padding: 8px 16px;
}

.products-form-card input,
.products-form-card select,
.products-form-card textarea {
  border-color: rgba(23, 32, 38, 0.12);
  border-radius: 14px;
}

.products-form-card input:focus,
.products-form-card select:focus,
.products-form-card textarea:focus {
  border-color: rgba(73, 131, 48, 0.55);
  box-shadow: 0 0 0 4px rgba(73, 131, 48, 0.1);
  outline: none;
}

.products-form-card .option-details {
  background: #fff;
  border-color: rgba(23, 32, 38, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.products-form-card .option-summary {
  background: linear-gradient(180deg, #f8fbf7, #fff);
  border-radius: 0;
  color: var(--brand-dark);
  padding: 16px 18px;
}

.products-form-card .option-content {
  background: #fff;
}

.options-chip-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.products-form-card .checkbox-label {
  border-color: rgba(23, 32, 38, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
}

.products-form-card .checkbox-label:hover {
  background: rgba(73, 131, 48, 0.05);
}

.admin-color-choice {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.admin-color-choice img {
  border-radius: 50%;
  height: 22px;
  object-fit: cover;
  width: 22px;
}

.products-form-card .form-hint {
  background: rgba(73, 131, 48, 0.08);
  border-radius: 14px;
  color: var(--brand-dark);
  line-height: 1.75;
  margin: 0 0 18px;
  padding: 14px 16px;
}

.products-form-card .variant-row {
  align-items: end;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  padding: 14px;
}

.products-form-card .remove-variant {
  align-self: end;
  min-height: 48px;
}

.products-form-card .action-row {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  margin-top: 12px;
  padding-top: 22px;
}

.products-list-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(23, 32, 38, 0.07);
  margin-top: 32px;
  overflow: hidden;
}

.products-list-head {
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
}

.products-list-head h2 {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: 0;
  margin: 0;
}

.products-list-head strong {
  align-items: center;
  background: var(--brand);
  border-radius: 16px;
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 52px;
  justify-content: center;
  min-width: 52px;
  padding-inline: 14px;
}

.products-list-card .table-wrap {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}

.products-admin-table th {
  background: #f8fbf6;
  color: var(--brand-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.products-admin-table td,
.products-admin-table th {
  padding: 18px 24px;
}

.admin-product-cell {
  align-items: center;
  display: flex;
  gap: 14px;
}

.admin-product-thumb {
  align-items: center;
  background: #eef6ed;
  border-radius: 16px;
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  overflow: hidden;
  width: 58px;
}

.admin-product-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-product-cell strong,
.admin-product-cell small {
  display: block;
}

.admin-product-cell small {
  color: var(--muted);
  margin-top: 3px;
}

.product-status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 12px;
}

.product-status.is-active {
  background: #e8f5e9;
  color: #1b5e20;
}

.product-status.is-paused {
  background: #f3f4f6;
  color: #6b7280;
}

.danger-button {
  background: #fff1f2;
  border-color: rgba(180, 35, 24, 0.18);
  color: var(--danger);
}

.danger-button:hover {
  background: var(--danger);
  color: #fff;
}

.admin-options-page {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.07), rgba(255, 255, 255, 0) 360px),
    #f8faf7;
  padding-bottom: 70px;
}

.admin-options-page .admin-options-hero,
.admin-options-page .admin-options-grid {
  margin-inline: auto;
  max-width: 1280px;
}

.admin-options-hero {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin-bottom: 28px;
}

.admin-options-hero > div:first-child,
.admin-options-stats,
.admin-option-form,
.admin-option-list-card {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(23, 32, 38, 0.07);
}

.admin-options-hero > div:first-child {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 38px);
}

.admin-options-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

.admin-options-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 720px;
}

.admin-options-stats {
  display: grid;
  overflow: hidden;
}

.admin-options-stats div {
  align-content: center;
  background: linear-gradient(180deg, #ffffff, #f8fbf6);
  display: grid;
  gap: 6px;
  padding: 22px 24px;
}

.admin-options-stats div + div {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
}

.admin-options-stats span,
.option-card-head span {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-options-stats strong {
  color: var(--brand-dark);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.admin-options-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.admin-option-form {
  padding: clamp(22px, 4vw, 34px);
}

.admin-option-list-card {
  margin-top: 0;
  overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
}

.option-card-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.option-card-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: 0;
  margin: 0;
}

.admin-option-form .form-section {
  background: #fbfdfb;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: var(--radius);
  padding: 20px;
}

.admin-option-form .section-title {
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.12);
  color: var(--brand-dark);
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
}

.admin-option-form input[type="text"],
.admin-option-form input[type="number"],
.admin-option-form input[type="file"] {
  border-color: rgba(23, 32, 38, 0.12);
  border-radius: var(--radius);
  min-height: 50px;
}

.admin-option-form input:focus {
  border-color: rgba(73, 131, 48, 0.55);
  box-shadow: 0 0 0 4px rgba(73, 131, 48, 0.1);
  outline: none;
}

.option-help-card {
  align-self: end;
  background: rgba(73, 131, 48, 0.08);
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-weight: 700;
  min-height: 50px;
  padding: 12px 14px;
}

.current-option-preview {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 12px;
}

.current-option-preview img,
.admin-color-preview {
  height: 58px;
  width: 58px;
}

.current-option-preview img,
.admin-color-preview img,
.admin-color-preview span {
  border-radius: 50%;
}

.current-option-preview img,
.admin-color-preview img {
  object-fit: cover;
}

.current-option-preview div {
  display: grid;
  gap: 2px;
}

.current-option-preview span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-option-form .action-row {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  margin-top: 20px;
  padding-top: 20px;
}

.admin-option-table-wrap {
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  overflow: auto;
}

.admin-option-table {
  min-width: 760px;
}

.admin-option-table th {
  background: #f8fbf6;
  color: var(--brand-dark);
  font-size: 0.78rem;
}

.admin-option-table td,
.admin-option-table th {
  padding: 16px 18px;
  vertical-align: middle;
}

.admin-option-table tbody tr:hover {
  background: rgba(73, 131, 48, 0.05);
}

.option-order-badge {
  background: rgba(73, 131, 48, 0.1);
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 38px;
  padding: 5px 10px;
}

.admin-color-preview {
  align-items: center;
  background: #eef5eb;
  color: var(--brand-dark);
  display: inline-grid;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
}

.admin-color-preview img {
  height: 100%;
  width: 100%;
}

.admin-option-table .actions-cell form {
  display: inline-flex;
}

.admin-projects-page {
  background:
    linear-gradient(180deg, rgba(73, 131, 48, 0.07), rgba(255, 255, 255, 0) 380px),
    #f8faf7;
  padding-bottom: 70px;
}

.admin-projects-page .admin-projects-hero,
.admin-projects-page .admin-projects-grid {
  margin-inline: auto;
  max-width: 1320px;
}

.admin-projects-hero {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  margin-bottom: 28px;
}

.admin-projects-hero > div:first-child,
.admin-projects-stats,
.admin-project-form,
.admin-projects-list {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 65px rgba(23, 32, 38, 0.07);
}

.admin-projects-hero > div:first-child {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 4vw, 38px);
}

.admin-projects-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
}

.admin-projects-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 760px;
}

.admin-projects-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.admin-projects-stats div {
  align-content: center;
  background: linear-gradient(180deg, #ffffff, #f8fbf6);
  display: grid;
  gap: 6px;
  padding: 20px;
}

.admin-projects-stats div + div {
  border-inline-start: 1px solid rgba(23, 32, 38, 0.08);
}

.admin-projects-stats span,
.project-form-head span,
.projects-list-head span {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 800;
}

.admin-projects-stats strong {
  color: var(--brand-dark);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.admin-projects-grid {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr);
}

.admin-project-form {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
}

.project-form-head,
.projects-list-head {
  display: grid;
  gap: 4px;
}

.project-form-head h2,
.projects-list-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: 0;
  margin: 0;
}

.project-form-section {
  background: #fbfdfb;
  border: 1px solid rgba(73, 131, 48, 0.12);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  padding: 20px;
}

.project-form-section h3 {
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.12);
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0;
  padding: 8px 12px;
  width: fit-content;
}

.admin-project-form label {
  display: grid;
  gap: 8px;
}

.admin-project-form label > span,
.admin-project-form small {
  color: var(--muted);
  font-weight: 800;
}

.admin-project-form input[type="text"],
.admin-project-form input[type="file"],
.admin-project-form textarea {
  border-color: rgba(23, 32, 38, 0.12);
  border-radius: var(--radius);
  min-height: 50px;
}

.admin-project-form textarea {
  padding-block: 12px;
}

.admin-project-form input:focus,
.admin-project-form textarea:focus {
  border-color: rgba(73, 131, 48, 0.55);
  box-shadow: 0 0 0 4px rgba(73, 131, 48, 0.1);
  outline: none;
}

.project-feature-toggle {
  align-items: center;
  align-self: end;
  background: #fff;
  border: 1px solid rgba(73, 131, 48, 0.16);
  display: flex !important;
  gap: 10px;
  min-height: 50px;
  padding: 12px 14px;
}

.project-feature-toggle input {
  min-height: auto;
  width: auto;
}

.current-project-cover {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  gap: 14px;
  padding: 12px;
}

.current-project-cover img {
  height: 78px;
  object-fit: cover;
  width: 108px;
}

.current-project-cover div {
  display: grid;
  gap: 2px;
}

.current-project-cover span {
  color: var(--muted);
}

.project-gallery-input {
  grid-column: 1 / -1;
}

.admin-project-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.admin-project-gallery figure {
  background: #fff;
  border: 1px solid rgba(23, 32, 38, 0.08);
  margin: 0;
  overflow: hidden;
}

.admin-project-gallery img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.admin-project-gallery button {
  display: block;
  padding: 10px;
  text-align: center;
  width: 100%;
}

.project-form-actions {
  border-top: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
}

.admin-projects-list {
  overflow: hidden;
}

.projects-list-head {
  align-items: center;
  border-bottom: 1px solid rgba(23, 32, 38, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
}

.projects-list-head a {
  border: 1px solid rgba(73, 131, 48, 0.28);
  color: var(--brand-dark);
  font-weight: 800;
  padding: 10px 14px;
}

.admin-project-cards {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.admin-project-card {
  align-items: center;
  background: linear-gradient(180deg, #fbfcfa, #fff);
  border: 1px solid rgba(23, 32, 38, 0.08);
  display: grid;
  gap: 16px;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  padding: 14px;
}

.admin-project-thumb {
  background: #eef5eb;
  display: block;
  height: 92px;
  overflow: hidden;
}

.admin-project-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.admin-project-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-project-title-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-project-title-row h3 {
  font-size: 1.08rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0;
}

.admin-project-info p {
  color: var(--muted);
  margin: 0;
}

.admin-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-project-meta span,
.project-mini-badge {
  background: rgba(73, 131, 48, 0.08);
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 9px;
}

.project-mini-badge.is-public {
  background: #e8f5e9;
  color: #1b5e20;
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-project-actions form {
  margin: 0;
}

.admin-project-empty {
  color: var(--muted);
  padding: 34px;
  text-align: center;
}

@media (max-width: 1120px) {
  .admin-projects-hero,
  .admin-projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-projects-stats,
  .admin-project-card {
    grid-template-columns: 1fr;
  }

  .admin-projects-stats div + div {
    border-inline-start: 0;
    border-top: 1px solid rgba(23, 32, 38, 0.08);
  }

  .projects-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-project-thumb {
    height: 180px;
  }

  .admin-project-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .admin-options-hero,
  .admin-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-option-form .form-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-hero .dashboard-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .dashboard-table-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-products-hero,
  .products-list-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.dashboard-intro {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
}

.dashboard-intro p {
  color: var(--muted);
  max-width: 46ch;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dashboard-actions .button {
  min-width: 150px;
}

.admin-summary .card {
  padding: 28px 24px;
}

.admin-summary .stat span {
  color: var(--muted);
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-summary .stat strong {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.table-wrap {
  background: #fff;
  border: none;
  box-shadow: 0 14px 30px rgba(23, 32, 38, 0.06);
}

.admin-grid {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
}

.stat {
  display: grid;
  gap: 8px;
}

.stat span {
  color: var(--muted);
}

.stat strong {
  color: var(--brand-dark);
  font-size: 34px;
}

.check-row {
  align-items: center;
  display: flex !important;
  gap: 8px;
}

.check-row input {
  min-height: auto;
  width: auto;
}

.order-items {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.order-items p {
  display: grid;
  gap: 4px;
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-brand .brand img {
  width: 158px;
}

.footer-brand p,
.footer-contact p,
.footer-links a,
.footer-copy {
  color: var(--muted);
  margin: 0;
}

.footer-links h3,
.footer-contact h3 {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  display: inline-block;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
}

.footer-social {
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-wrap: wrap;
    order: 4;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .hero,
  .split-section,
  .intro-standard,
  .product-detail,
  .admin-grid,
  .dashboard-intro,
  .newsletter-box,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards.three,
  .cards.four,
  .logo-row,
  .service-orbit,
  .project-card-grid,
  .portfolio-grid,
  .project-logo-grid,
  .project-gallery,
  .client-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lightbox {
    align-items: center;
    padding: 64px 14px 24px;
  }

  .lightbox img {
    max-height: calc(100vh - 170px);
  }

  .lightbox .close {
    top: 12px;
    right: 12px;
    height: 42px;
    width: 42px;
  }

  html[dir="rtl"] .lightbox .close {
    left: 12px;
    right: auto;
  }

  .lightbox-nav {
    bottom: 16px;
    top: auto;
    transform: none;
    height: 44px;
    width: 52px;
    font-size: 2.2rem;
  }

  .lightbox-prev {
    left: calc(50% - 62px);
  }

  .lightbox-next {
    right: calc(50% - 62px);
  }

  html[dir="rtl"] .lightbox-prev {
    right: calc(50% - 62px);
  }

  html[dir="rtl"] .lightbox-next {
    left: calc(50% - 62px);
  }

  .site-header,
  .site-footer,
  .header-actions,
  .hero-actions,
  .section-heading,
  .inline-form {
    align-items: stretch;
    flex-direction: column;
  }

  .header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .brand img {
    width: 86px;
  }

  .elementor-hero {
    min-height: 72vh;
  }

  .elementor-hero h1 {
    font-size: 23px;
    line-height: 1.5;
    word-spacing: 2px;
  }

  html[lang="ar"] .elementor-hero h1 {
    font-size: 23px;
  }

  .intro-standard h2 {
    font-size: 19px;
    line-height: 1.6;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .cards.two,
  .cards.three,
  .cards.four,
  .logo-row,
  .service-orbit,
  .project-card-grid,
  .portfolio-grid,
  .project-logo-grid,
  .project-gallery,
  .project-detail-hero,
  .client-carousel {
    grid-template-columns: 1fr;
  }

  .inline-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-offices {
    text-align: start;
  }
}
/ *   A d m i n   F o r m   S e c t i o n s   * / 
 . a d m i n - f o r m   . f o r m - s e c t i o n   { 
     b a c k g r o u n d :   # f a f a f a ; 
     b o r d e r :   1 p x   s o l i d   # e 0 e 0 e 0 ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s ) ; 
     p a d d i n g :   2 0 p x ; 
     m a r g i n - b o t t o m :   2 4 p x ; 
 } 
 
 . a d m i n - f o r m   . s e c t i o n - t i t l e   { 
     b a c k g r o u n d :   v a r ( - - b r a n d ) ; 
     c o l o r :   w h i t e ; 
     p a d d i n g :   1 0 p x   1 6 p x ; 
     m a r g i n :   - 2 0 p x   - 2 0 p x   2 0 p x   - 2 0 p x ; 
     b o r d e r - r a d i u s :   v a r ( - - r a d i u s )   v a r ( - - r a d i u s )   0   0 ; 
     f o n t - s i z e :   1 . 1 e m ; 
     f o n t - w e i g h t :   6 0 0 ; 
     b o r d e r - b o t t o m :   1 p x   s o l i d   # e 0 e 0 e 0 ; 
 } 
 
 . a d m i n - f o r m   . c o l o r - p r e v i e w   { 
     m a r g i n - t o p :   8 p x ; 
     t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . a d m i n - t a b l e   . c o l o r - s w a t c h   { 
     d i s p l a y :   f l e x ; 
     j u s t i f y - c o n t e n t :   c e n t e r ; 
     a l i g n - i t e m s :   c e n t e r ; 
 } 
 
 
