:root {
  --cmc-navy: #0b2944;
  --cmc-navy2: #071e34;
  --cmc-red: var(--cmc-primary);
  --cmc-red2: color-mix(in srgb, var(--cmc-primary) 78%, #000);
  --cmc-ink: #102a45;
  --cmc-text: #667483;
  --cmc-line: #e7ebef;
  --cmc-soft: #f4f7f9;
  --cmc-white: #fff;
  --cmc-shadow: 0 14px 38px rgba(8, 35, 59, .09)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #fff;
  color: var(--cmc-ink);
  font-family: "Jost", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

a {
  transition: .25s ease
}

img {
  max-width: 100%
}

.cmc-shell {
  width: min(1180px, calc(100% - 42px));
  margin-inline: auto
}

.cmc-hp {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important
}

/* header */

.cmc-site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-bottom:1px solid #eef1f4;box-shadow:0 2px 12px rgba(8,35,59,.035);
}

.cmc-site-header.is-sticky {
  position: sticky;
  top: 0
}

.cmc-header-row {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 26px
}

.cmc-logo {
  display: flex;
  align-items: center;
  text-decoration: none
}

.cmc-logo img {
  object-fit: contain;
  object-position: left center;
  display: block;
    max-width: 300px;
}

.cmc-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
  flex: 1
}

.cmc-main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none
}

.cmc-main-nav>li {
  position: relative
}

.cmc-main-nav>li>a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 28px 0 24px;
  color: var(--cmc-ink);
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap
}

.cmc-main-nav>li.active>a,
.cmc-main-nav>li>a:hover {
  color: var(--cmc-red)
}

.cmc-main-nav>li.active>a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  background: var(--cmc-red);
  border-radius: 3px
}

/*
.cmc-nav-drop>a:after {
  content: "⌄";
  font-size: 17px;
  color: #83909c;
  margin-top: -5px
}
*/

.cmc-submenu {
  position: absolute;
  top: calc(100% - 7px);
  left: -18px;
  min-width: 240px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--cmc-line);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(8, 35, 59, .12);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .22s ease
}

.cmc-nav-drop:hover>.cmc-submenu {
  opacity: 1;
  visibility: visible;
  transform: none
}

.cmc-submenu a {
  display: block;
  padding: 9px 11px;
  color: var(--cmc-ink);
  font-size: 12px;
  border-radius: 7px;
  text-decoration: none
}

.cmc-submenu a:hover {
  background: #f7f8fa;
  color: var(--cmc-red)
}

.cmc-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cmc-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--cmc-ink);
  font-size: 16px;
  text-decoration: none
}

.cmc-search-link {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--cmc-ink);
  text-decoration: none;
  border-radius: 10px
}

.cmc-search-link:hover {
  background: #f3f6f8;
  color: var(--cmc-red)
}

.cmc-quote-btn {
  min-height: 43px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cmc-red);
  color: #fff !important;
  border: 1px solid var(--cmc-red);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--cmc-primary) 20%, transparent);
font-size: 14px;
}

.cmc-quote-btn:hover {
  background: var(--cmc-navy);
  border-color: var(--cmc-navy);
  transform: translateY(-2px)
}

.cmc-menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  border: 0;
  background: #f3f6f8;
  border-radius: 10px;
  color: var(--cmc-navy);
  font-size: 23px;
  min-width: 43px;
}

/* hero/brands are controlled by cmc-home-showcase.css; only composition spacing */

.cmc-showcase {
  padding-top: 14px !important
}

.cmc-brands {
  padding-top: 45px !important;
  padding-bottom: 54px !important
}

/* headings */

.cmc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657381;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.cmc-eyebrow:before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--cmc-red);
  border-radius: 4px
}

.cmc-section-title {
  margin: 0;
  color: var(--cmc-navy);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em
}


.cmc-rtl .cmc-section-title {
  font-size: 24px !important;
}

.cmc-section-lead {
  margin: 7px 0 0;
  color: #6b7784;
  font-size: 14px;
  line-height: 1.55
}

/* about */

.cmc-home-about {
  padding: 42px 0 53px;
  background: #fff
}

.cmc-about-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.15fr;
  gap: 58px;
  align-items: center
}

.cmc-about-visual {
  position: relative;
  min-height: 366px;
  padding: 12px 32px 26px
}

.cmc-about-dots {
  position: absolute;
  left: 0;
  top: 48px;
  width: 72px;
  height: 155px;
  background-image: radial-gradient(#dfe4e8 1.5px, transparent 1.5px);
  background-size: 11px 11px;
  opacity: .95
}

.cmc-about-main {
  position: absolute;
  left: 49px;
  top: 0;
  width: 59%;
  height: 298px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(8, 35, 59, .11)
}

.cmc-about-card {
  position: absolute;
  background: #fff;
  padding: 7px;
  border-radius: 5px;
  box-shadow: 0 15px 33px rgba(8, 35, 59, .14);
  z-index: 2
}

.cmc-about-card.one {
  left: 4px;
  bottom: 0;
  width: 46%;
  height: 166px
}

.cmc-about-card.two {
  right: 0;
  bottom: 40px;
  width: 47%;
  height: 166px
}

.cmc-about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px
}

.cmc-about-red-block {
  position: absolute;
  right: 18%;
  top: 20px;
  width: 27px;
  height: 27px;
  background: var(--cmc-red);
  z-index: 3;
  box-shadow: 8px 8px 0 color-mix(in srgb, var(--cmc-primary) 13%, transparent)
}

.cmc-about-subtitle {
  margin: 4px 0 12px;
  color: var(--cmc-navy);
  font-size: 18px;
  font-weight: 500
}

.cmc-about-text {
  color: #667483;
  font-size: 13px;
  line-height: 1.65
}

.cmc-about-text p {
  margin: 0
}

.cmc-about-text ul {
  display: none
}

.cmc-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--cmc-line)
}

.cmc-stat {
  padding: 20px 10px 0;
  text-align: center;
  position: relative
}

.cmc-stat+.cmc-stat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  bottom: 0;
  width: 1px;
  background: var(--cmc-line)
}

.cmc-stat-icon {
  height: 29px;
  color: var(--cmc-red);
  font-size: 27px;
  line-height: 1;
  margin-bottom: 6px
}

.cmc-stat strong {
  display: block;
  color: var(--cmc-navy);
  font-size: 16px;
  line-height: 1.15
}

.cmc-stat span {
  display: block;
  color: #78838f;
  font-size: 14px;
  line-height: 1.3;
  margin-top: 3px
}

/* products */

.cmc-products-section {
  padding: 43px 0 50px;
  background: linear-gradient(135deg, #eff4f7 0%, #f8fafb 100%)
}

.cmc-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px
}

.cmc-outline-btn {
  min-height: 41px;
  padding: 0 18px;
  border: 1px solid var(--cmc-red);
  border-radius: 10px;
  color: var(--cmc-red);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap
}

.cmc-outline-btn:hover {
  background: var(--cmc-red);
  color: #fff;
  transform: translateY(-2px)
}

.cmc-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}

.cmc-product-card {
  background: #fff;
  border: 1px solid #e8edf1;
  border-radius: 9px;
  padding: 8px 8px 14px;
  box-shadow: 0 8px 22px rgba(8, 35, 59, .045);
  transition: .28s ease;
  overflow: hidden
}

.cmc-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 32px rgba(8, 35, 59, .1)
}

.cmc-product-image {
  display: block;
  height: 220px;
  border-radius: 7px;
  overflow: hidden;
  background: #edf1f3
}

.cmc-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .48s ease
}

.cmc-product-card:hover .cmc-product-image img {
  transform: scale(1.045)
}

.cmc-product-body {
  padding: 12px 2px 0
}

.cmc-product-body h3 {
  margin: 0 0 4px;
  color: var(--cmc-navy);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25
}

.cmc-product-desc {
  height: 42px;
  overflow: hidden;
  color: #6c7885;
  font-size: 14px;
  line-height: 1.45;
  margin: 0 0 7px;
}

.cmc-red-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cmc-red);
  font-size: 11px;
  font-weight: 500;
  text-decoration: none
}

.cmc-red-link:hover {
  gap: 11px;
  color: var(--cmc-red2)
}

/* why */

.rc-anchor-normal {
  height: 78px !important;
  width: 305px !important;
  margin: -1px !important;
}

.cmc-why-section {
  padding: 55px 0 48px;
  background: #fff
}

.cmc-why-grid {
  display: grid;
  grid-template-columns: 1.05fr .88fr 1fr;
  gap: 32px;
  align-items: center
}

.cmc-why-image {
  height: 330px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  background: #e9eef1
}

.cmc-why-image>img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.cmc-why-image:after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 22px;
  width: 33px;
  height: 4px;
  background: var(--cmc-red)
}

.cmc-why-image-badge {
  position: absolute;
  left: 34px;
  bottom: 50px;
  background: rgba(255, 255, 255, .92);
  padding: 15px 18px;
  border-left: 3px solid var(--cmc-red);
  box-shadow: 0 10px 30px rgba(8, 35, 59, .12)
}

.cmc-why-image-badge strong,
.cmc-why-image-badge span {
  display: block;
  color: var(--cmc-navy)
}

.cmc-why-image-badge strong {
  font-size: 20px
}

.cmc-why-image-badge span {
  font-size: 12px
}

.cmc-why-copy .cmc-section-title {
 /* font-size: clamp(27px, 2.7vw, 38px)*/
  line-height: 1.5 !important;
}

.cmc-why-copy p {
  color: #687583;
  font-size: 13px;
  line-height: 1.66;
  margin: 13px 0 20px
}

.cmc-solid-btn {
  min-height: 42px;
  padding: 0 19px;
  border: 0;
  border-radius: 10px;
  background: var(--cmc-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 9px 20px color-mix(in srgb, var(--cmc-primary) 20%, transparent)
}

.cmc-solid-btn:hover {
  background: var(--cmc-navy);
  color: #fff;
  transform: translateY(-2px)
}

.cmc-why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.cmc-why-card {
  min-height: 139px;
  padding: 18px 14px;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  text-align: center;
  background: #fff;
  box-shadow: 0 7px 20px rgba(8, 35, 59, .035);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center
}

.cmc-why-card i {
  color: var(--cmc-red);
  font-size: 29px;
  margin-bottom: 9px
}

.cmc-why-card strong {
  font-size: 17px;
  color: var(--cmc-navy);
  line-height: 1.22
}

.cmc-why-card span {
  margin-top: 5px;
  color: #77828d;
  font-size: 14px;
  line-height: 1.35
}

/* footer */

.cmc-site-footer {
  background: var(--cmc-navy);
  color: #cbd5df;
  padding-top: 37px
}

.cmc-footer-grid {
  display: grid;
  grid-template-columns: 1.28fr .66fr .84fr 1.02fr .82fr;
  gap: 28px;
  padding-bottom: 29px;
  align-items: start;
  direction: ltr;
  position: relative;
  z-index: 1;
}

.cmc-footer-logo img {
  width: 194px;
  height: 67px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: .96
}

.cmc-footer-about {
  margin-top: 9px;
  color: #b7c3cf;
  font-size: 11px;
  line-height: 1.65;
  max-width: 300px
}

.cmc-footer-about p {
  margin: 0
}

.cmc-footer-title {
  margin: 5px 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500
}

.cmc-footer-links {
  margin: 0;
  padding: 0;
  list-style: none
}

.cmc-footer-links li {
  margin: 6px 0
}

.cmc-footer-links a {
  color: #c4ced8;
  font-size: 11px;
  text-decoration: none;
  text-transform: capitalize;
}

.cmc-footer-links a:hover {
  color: #fff;
  padding-left: 3px
}

.cmc-footer-contact {
  display: grid;
  gap: 8px
}

.cmc-footer-contact a,
.cmc-footer-contact span {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c4ced8;
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none
}

.cmc-footer-contact i {
  width: 17px;
  color: #fff;
  margin-top: 1px
}

.cmc-socials {
  display: flex;
  gap: 7px;
  margin-top: 13px
}

.cmc-socials a {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  text-decoration: none
}

.cmc-socials a:hover {
  background: var(--cmc-red);
  border-color: var(--cmc-red)
}

.cmc-footer-map {
  border-left: 1px solid rgba(255, 255, 255, .14);
  padding-left: 22px;
  margin-top: 0;
  align-self: start;
  justify-self: end;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
  position: absolute;
  z-index: -1;
}

.cmc-footer-map img {
  width: 100%;
  max-width: 185px;
  opacity: .34;
  filter: grayscale(1) brightness(1.7);
  display: block
}

.cmc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #91a2b2;
  font-size: 9px
}

.cmc-footer-bottom a {
  color: #9eafbe;
  text-decoration: none
}

.cmc-footer-bottom a:hover {
  color: #fff
}

.cmc-footer-legal {
  display: flex;
  align-items: center;
  gap: 12px
}

.whats-icon,
.phone-icon {
  position: fixed !important;
  right: 20px !important;
  z-index: 900 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16) !important
}

.whats-icon {
  bottom: 74px !important;
  background: #25d366 !important
}

.phone-icon {
  bottom: 20px !important;
  background: var(--cmc-red) !important
}

.whats-icon a,
.phone-icon a {
  color: #fff !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important
}

.whats-icon .icon,
.phone-icon .icon {
  font-size: 21px !important
}

/* internal pages keep old content but match visual system */

.breadcrumb-section {
  background: #f5f7f9 !important;
  padding: 52px 0 46px !important;
  margin: 0 !important
}

.breadcrumb-section .banner-content h1 {
  color: var(--cmc-navy) !important;
  font-weight: 500 !important
}

.breadcrumb-section .breadcrumb-list a,
.breadcrumb-section .breadcrumb-list li {
  color: #6a7683 !important
}

.section-padding {
  padding-top: 58px !important;
  padding-bottom: 58px !important
}

.primary-btn1,
.primary-btn2,
.secondary-btn,
.read-more-btn {
  border-radius: 10px !important
}

.inquiry-form,
.contact-area,
.faq-form-wrap {
  border-radius: 12px !important
}

.form-inner input,
.form-inner textarea,
.form-inner select,
.form-control,
.nice-select {
  border-radius: 10px !important;
  border-color: #dfe5ea !important
}

.form-inner input:focus,
.form-inner textarea:focus,
.form-control:focus {
  border-color: var(--cmc-red) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cmc-primary) 8%, transparent) !important
}

/* RTL */

body.cmc-rtl {
  font-family: "Tajawal", "reg", Tahoma, Arial, sans-serif;
  direction: rtl
}

.cmc-rtl .cmc-logo img,
.cmc-rtl .cmc-footer-logo img {
  object-position: right center
}


.cmc-rtl .cmc-submenu {
  left: auto;
  right: -18px;
  text-align: right
}

.cmc-rtl .cmc-eyebrow:before {
  order: 2
}

.cmc-rtl .cmc-about-dots {
  left: auto;
  right: 0
}

.cmc-rtl .cmc-about-main {
  left: auto;
  right: 49px
}

.cmc-rtl .cmc-about-card.one {
  left: auto;
  right: 4px
}

.cmc-rtl .cmc-about-card.two {
  right: auto;
  left: 0
}

.cmc-rtl .cmc-about-red-block {
  right: auto;
  left: 18%
}

.cmc-rtl .cmc-stat+.cmc-stat:before {
  left: auto;
  right: 0
}

.cmc-rtl .cmc-why-image:after {
  left: auto;
  right: 28px
}

.cmc-rtl .cmc-why-image-badge {
  left: auto;
  right: 34px;
  border-left: 0;
  border-right: 3px solid var(--cmc-red)
}

.cmc-rtl .cmc-footer-grid {
  direction: ltr
}

.cmc-rtl .cmc-footer-grid>div:not(.cmc-footer-map) {
  direction: rtl
}

.cmc-rtl .cmc-footer-map {
  direction: ltr;
  border-left: 1px solid rgba(255, 255, 255, .14);
  border-right: 0;
  padding-left: 22px;
  padding-right: 0
}

.cmc-rtl .cmc-footer-links a:hover {
  padding-left: 0;
  padding-right: 3px
}

.cmc-rtl .whats-icon,
.cmc-rtl .phone-icon {
  right: auto !important;
  left: 20px !important
}

@media(max-width:1100px) {
  .cmc-footer-grid {
    grid-template-columns: 1.2fr .62fr .78fr 1fr .72fr;
    gap: 20px
  }
  .cmc-footer-map img {
    max-width: 155px
  }
  .cmc-main-nav {
    gap: 16px
  }
  .cmc-main-nav>li>a {
    font-size: 12px
  }
  .cmc-header-actions {
    gap: 8px
  }
  .cmc-quote-btn {
    padding: 0 14px
  }
  .cmc-products-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-about-grid {
    gap: 38px
  }
}

@media(max-width:991px) {
  .cmc-shell {
    width: min(100% - 30px, 1180px)
  }
  .cmc-header-row {
    height: 70px
  }
  .cmc-menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto
  }
  .cmc-rtl .cmc-menu-toggle {
    margin-left: 0;
    margin-right: auto
  }
  .cmc-nav-wrap {
    position: fixed;
    inset: 70px 0 auto 0;
    background: #fff;
    border-top: 1px solid var(--cmc-line);
    box-shadow: 0 18px 32px rgba(8, 35, 59, .12);
    display: none;
    padding: 13px 20px 19px;
    max-height: calc(100vh - 70px);
    overflow: auto
  }
  .cmc-nav-wrap.is-open {
    display: block
  }
  .cmc-main-nav {
    display: block
  }
  .cmc-main-nav>li>a {
    padding: 11px 4px;
    border-bottom: 1px solid #f0f2f4
  }
  .cmc-main-nav>li.active>a:after {
    display: none
  }
  .cmc-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 13px;
    display: none
  }
  .cmc-nav-drop.is-open>.cmc-submenu {
    display: block
  }
  .cmc-header-actions {
    padding-top: 14px;
    justify-content: flex-start
  }
  .cmc-search-link {
    display: none
  }
  .cmc-about-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
  .cmc-about-visual {
    max-width: 650px;
    margin: auto;
    width: 100%
  }
  .cmc-stat-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-stat:nth-child(3):before {
    display: none
  }
  .cmc-why-grid {
    grid-template-columns: 1fr 1fr
  }
  .cmc-why-features {
    grid-column: 1/-1
  }
  .cmc-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    direction: ltr
  }
  .cmc-footer-map {
    justify-self: start
  }
  .cmc-rtl .cmc-footer-grid {
    direction: ltr
  }
}

@media(max-width:767px) {
  .cmc-shell {
    width: calc(100% - 24px)
  }
  .cmc-home-about,
  .cmc-products-section,
  .cmc-why-section {
    padding: 38px 0
  }
  .cmc-about-visual {
    min-height: 300px;
    padding: 0
  }
  .cmc-about-main {
    left: 34px;
    width: 67%;
    height: 232px
  }
  .cmc-rtl .cmc-about-main {
    left: auto;
    right: 34px
  }
  .cmc-about-card.one {
    width: 47%;
    height: 126px
  }
  .cmc-about-card.two {
    width: 46%;
    height: 126px;
    bottom: 24px
  }
  .cmc-about-copy {
    text-align: start
  }
  .cmc-about-subtitle {
    font-size: 17px
  }
  .cmc-about-text {
    font-size: 13px
  }
  .cmc-stat {
    padding: 17px 7px 0
  }
  .cmc-products-head {
    align-items: flex-start
  }
  .cmc-products-grid {
    grid-template-columns: 1fr
  }
  .cmc-product-image {
    height: 205px
  }
  .cmc-outline-btn {
    display: none
  }
  .cmc-why-grid {
    grid-template-columns: 1fr
  }
  .cmc-why-image {
    height: 268px
  }
  .cmc-why-features {
    grid-template-columns: 1fr 1fr
  }
  .cmc-why-card {
    min-height: 127px;
    padding: 16px 9px
  }
  .cmc-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px
  }
  .cmc-footer-map {
    border-left: 0;
    padding-left: 0;
    margin-top: 10px;
    justify-self: start
  }
  .cmc-rtl .cmc-footer-map {
    border-left: 0;
    border-right: 0;
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px
  }
  .cmc-footer-bottom {
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start
  }
  .cmc-rtl .cmc-footer-bottom {
    align-items: flex-end
  }
  .cmc-footer-legal {
    flex-wrap: wrap
  }
}

@media(max-width:480px) {
  .cmc-why-features {
    grid-template-columns: 1fr
  }
  .cmc-about-visual {
    min-height: 260px
  }
  .cmc-about-main {
    height: 202px
  }
  .cmc-about-card.one,
  .cmc-about-card.two {
    height: 108px
  }
  .cmc-section-title {
    font-size: 28px
  }
}

.cmc-footer-quick ul {
  display: inline-block;
  width: 100%;
}

.cmc-footer-quick ul li {
  width: 50%;
  float: left;
}

/* =========================================================
   PRECISION HOME REFINEMENTS — reference layout + mobile
   ========================================================= */

@media (min-width: 992px) {
  .cmc-home-about {
    padding: 46px 0 56px
  }
  .cmc-about-grid {
    grid-template-columns: .98fr 1.12fr;
    gap: 70px;
    align-items: center
  }
  .cmc-about-visual {
    min-height: 355px;
    padding: 0;
    max-width: 545px;
    width: 100%
  }
  .cmc-about-dots {
    left: 0;
    top: 62px;
    width: 65px;
    height: 138px;
    background-size: 10px 10px
  }
  .cmc-about-main {
    left: 72px;
    top: 0;
    width: 64%;
    height: 260px;
    border-radius: 3px;
    z-index: 1;
    box-shadow: 0 12px 28px rgba(8, 35, 59, .09);
    object-position: center
  }
  .cmc-about-card {
    padding: 6px;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(8, 35, 59, .13);
    z-index: 4
  }
  .cmc-about-card.one {
    left: 5px;
    bottom: 0;
    width: 43%;
    height: 148px
  }
  .cmc-about-card.two {
    right: 0;
    bottom: 13px;
    width: 44%;
    height: 148px
  }
  .cmc-about-card img {
    border-radius: 2px
  }
  .cmc-about-red-block {
    right: 18%;
    top: 36px;
    width: 24px;
    height: 24px;
    z-index: 2;
    box-shadow: none
  }
  .cmc-about-copy {
    padding-top: 2px
  }
  .cmc-about-subtitle {
    font-size: 19px;
    margin: 3px 0 11px
  }
  .cmc-about-text {
    font-size: 13px;
    line-height: 1.58;
    max-width: 660px
  }
  .cmc-stat-grid {
    margin-top: 20px
  }
  .cmc-why-section {
    padding: 30px 0 39px
  }
  .cmc-why-grid {
    grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 29px;
    align-items: stretch
  }
  .cmc-why-image {
    height: 300px;
    border-radius: 3px;
    box-shadow: none;
    align-self: center
  }
  .cmc-why-image>img {
    object-position: center
  }
  .cmc-why-image:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .13), transparent 52%), linear-gradient(0deg, rgba(5, 24, 41, .13), transparent 58%);
    pointer-events: none
  }
  .cmc-why-image:after {
    left: 31px;
    bottom: 25px;
    width: 35px;
    height: 4px;
    z-index: 3
  }
  .cmc-why-image-badge {
    z-index: 3;
    left: 31px;
    bottom: 49px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(2px);
    padding: 9px 12px 10px;
    border: 0;
    border-radius: 2px;
    box-shadow: none
  }
  .cmc-why-image-badge strong {
    font-size: 22px;
    line-height: 1.05
  }
  .cmc-why-image-badge span {
    font-size: 13px;
    margin-top: 2px
  }
  .cmc-why-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0
  }
  .cmc-why-copy .cmc-section-title {
    font-size: clamp(29px, 2.55vw, 38px);
    line-height: 1.06;
    margin-bottom: 0
  }
  .cmc-why-copy p {
    font-size: 12.5px;
    line-height: 1.58;
    margin: 13px 0 19px
  }
  .cmc-solid-btn {
    align-self: flex-start;
    min-height: 39px;
    padding: 0 17px;
    font-size: 14px;
    min-height: 56px;
    padding: 0 28px;
    font-weight: 400;
    font-size: 14px;
  }
  .cmc-why-features {
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .cmc-why-card {
    min-height: 142px;
    padding: 17px 11px;
    border: 1px solid #e4e9ed;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    position: relative
  }
/*
  .cmc-why-card:nth-child(odd) {
    border-right: 1px solid #edf0f3
  }
  .cmc-why-card:nth-child(-n+2) {
    border-bottom: 1px solid #edf0f3
  }*/
  .cmc-why-card i {
    font-size: 28px;
    margin-bottom: 8px
  }
}

.cmc-solid-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .26s var(--cmc-ease);
}

/* RTL desktop mirrors the About collage without disturbing the reference geometry */

@media (min-width: 992px) {
  .cmc-rtl .cmc-about-dots {
    left: auto;
    right: 0
  }
  .cmc-rtl .cmc-about-main {
    left: auto;
    right: 72px
  }
  .cmc-rtl .cmc-about-card.one {
    left: auto;
    right: 5px
  }
  .cmc-rtl .cmc-about-card.two {
    right: auto;
    left: 0
  }
  .cmc-rtl .cmc-about-red-block {
    right: auto;
    left: 18%
  }
  .cmc-rtl .cmc-why-image:after {
    left: auto;
    right: 31px
  }
  .cmc-rtl .cmc-why-image-badge {
    left: auto;
    right: 31px
  }
  .cmc-rtl .cmc-solid-btn {
    align-self: flex-start
  }

}

/* Tablet */

@media (min-width:768px) and (max-width:991px) {
  .cmc-home-about {
    padding: 44px 0
  }
  .cmc-about-grid {
    gap: 32px
  }
  .cmc-about-visual {
    min-height: 385px;
    max-width: 620px
  }
  .cmc-about-main {
    left: 82px;
    top: 0;
    width: 64%;
    height: 278px
  }
  .cmc-about-card.one {
    left: 8px;
    bottom: 0;
    width: 42%;
    height: 155px
  }
  .cmc-about-card.two {
    right: 8px;
    bottom: 14px;
    width: 43%;
    height: 155px
  }
  .cmc-about-red-block {
    right: 20%;
    top: 36px
  }
  .cmc-rtl .cmc-about-main {
    left: auto;
    right: 82px
  }
  .cmc-rtl .cmc-about-card.one {
    left: auto;
    right: 8px
  }
  .cmc-rtl .cmc-about-card.two {
    right: auto;
    left: 8px
  }
  .cmc-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px
  }
  .cmc-why-image {
    height: 300px
  }
  .cmc-why-features {
    grid-column: 1/-1;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;

  }
  .cmc-why-card {
    min-height: 132px;
    border: 0;
    border-radius: 0;
    box-shadow: none
  }
  .cmc-why-card+.cmc-why-card {
    border-left: 1px solid #edf0f3
  }
}

/* Mobile — deliberate single-column composition */

@media (max-width:767px) {
  body.cmc-page {
    overflow-x: hidden
  }
  .cmc-shell {
    width: calc(100% - 28px)
  }
  .cmc-home-about {
    padding: 34px 0 39px
  }
  .cmc-about-grid {
    display: flex;
    flex-direction: column;
    gap: 25px
  }
  .cmc-about-visual {
    order: 1;
    position: relative;
    width: min(100%, 410px);
    height: 286px;
    min-height: 286px;
    margin: 0 auto;
    padding: 0
  }
  .cmc-about-copy {
    order: 2;
    width: 100%;
    padding: 0 2px
  }
  .cmc-about-dots {
    left: 0;
    top: 52px;
    width: 45px;
    height: 104px;
    background-size: 9px 9px;
    opacity: .8
  }
  .cmc-about-main {
    left: 51px;
    top: 0;
    width: 68%;
    height: 206px;
    border-radius: 3px;
    box-shadow: 0 10px 24px rgba(8, 35, 59, .10);
    z-index: 1;
    object-fit: cover
  }
  .cmc-about-card {
    padding: 4px;
    border-radius: 4px;
    box-shadow: 0 9px 20px rgba(8, 35, 59, .13);
    z-index: 4
  }
  .cmc-about-card.one {
    left: 0;
    bottom: 0;
    width: 45%;
    height: 108px
  }
  .cmc-about-card.two {
    right: 0;
    bottom: 8px;
    width: 46%;
    height: 108px
  }
  .cmc-about-red-block {
    right: 17%;
    top: 25px;
    width: 20px;
    height: 20px;
    z-index: 2
  }
  .cmc-about-copy .cmc-eyebrow {
    margin-bottom: 6px
  }
  .cmc-about-copy .cmc-section-title {
    font-size: 29px;
    line-height: 1.1
  }
  .cmc-about-subtitle {
    font-size: 16px;
    line-height: 1.35;
    margin: 5px 0 11px
  }
  .cmc-about-text {
    font-size: 12.5px;
    line-height: 1.62
  }
  .cmc-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 18px;
    border-top: 1px solid var(--cmc-line);
    border-bottom: 1px solid var(--cmc-line)
  }
  .cmc-stat {
    min-height: 105px;
    padding: 15px 8px 13px;
    display: flex;
    flex-direction: column;
    justify-content: center
  }
  .cmc-stat:nth-child(odd) {
    border-right: 1px solid var(--cmc-line);

  }
  .cmc-stat:nth-child(-n+2) {
    border-bottom: 1px solid var(--cmc-line);

  }


html[data-theme="dark"]  .cmc-stat:nth-child(odd) {

    border-color: rgba(255, 255, 255, .075) !important;
  }
html[data-theme="dark"]  .cmc-stat:nth-child(-n+2) {

    border-color: rgba(255, 255, 255, .075) !important;
  }



  .cmc-stat+.cmc-stat:before {
    display: none
  }
  .cmc-stat-icon {
    font-size: 25px;
    height: 27px
  }
  .cmc-stat strong {
    font-size: 15px
  }
  .cmc-products-section {
    padding: 35px 0 38px
  }
  .cmc-products-head {
    margin-bottom: 17px
  }
  .cmc-products-head .cmc-section-title {
    font-size: 28px;
    line-height: 1.12
  }
  .cmc-section-lead {
    font-size: 12px;
    line-height: 1.45
  }
  .cmc-products-grid {
    gap: 14px
  }
  .cmc-product-card {
    padding: 7px 7px 13px;
    border-radius: 8px
  }
  .cmc-product-image {
    height: 212px
  }
  .cmc-product-body {
    padding: 11px 4px 0
  }
  .cmc-product-body h3 {
    font-size: 16px
  }
  .cmc-product-desc {
    font-size: 11.5px;
    height: auto;
    max-height: 38px
  }
  .cmc-why-section {
    padding: 36px 0 40px
  }
  .cmc-why-grid {
    display: flex;
    flex-direction: column;
    gap: 22px
  }
  .cmc-why-image {
    order: 1;
    width: 100%;
    height: 245px;
    border-radius: 4px;
    overflow: hidden
  }
  .cmc-why-image>img {
    object-fit: cover;
    object-position: center
  }
  .cmc-why-image:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(5, 24, 41, .18), transparent 62%)
  }
  .cmc-why-image:after {
    left: 22px;
    bottom: 18px;
    width: 32px;
    height: 4px;
    z-index: 3
  }
  .cmc-why-image-badge {
    left: 22px;
    bottom: 41px;
    z-index: 3;
    background: rgba(255, 255, 255, .88);
    padding: 8px 11px;
    border: 0;
    border-radius: 2px;
    box-shadow: none
  }
  .cmc-why-image-badge strong {
    font-size: 19px
  }
  .cmc-why-image-badge span {
    font-size: 11px
  }
  .cmc-why-copy {
    order: 2;
    width: 100%
  }
  .cmc-why-copy .cmc-section-title {
    font-size: 29px;
    line-height: 1.08
  }
  .cmc-why-copy p {
    font-size: 12.5px;
    line-height: 1.62;
    margin: 12px 0 17px
  }
  .cmc-solid-btn {
    min-height: 40px;
    padding: 0 17px;
    font-size: 11px
  }
  .cmc-why-features {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
  .cmc-why-card {
    min-height: 126px;
    padding: 15px 8px;
    border: 1px solid #e4e9ed;
    border-radius: 0;
    box-shadow: none;
    background: #fff
  }
/*
  .cmc-why-card:nth-child(odd) {
    border-right: 1px solid #edf0f3
  }
  .cmc-why-card:nth-child(-n+2) {
    border-bottom: 1px solid #edf0f3
  }*/
  .cmc-why-card i {
    font-size: 26px;
    margin-bottom: 7px
  }
  .cmc-why-card strong {
    font-size: 11.5px;
    line-height: 1.25
  }
  .cmc-why-card span {
    font-size: 13px;
    line-height: 1.35
  }
  .cmc-rtl .cmc-about-dots {
    left: auto;
    right: 0
  }
  .cmc-rtl .cmc-about-main {
    left: auto;
    right: 51px
  }
  .cmc-rtl .cmc-about-card.one {
    left: auto;
    right: 0
  }
  .cmc-rtl .cmc-about-card.two {
    right: auto;
    left: 0
  }
  .cmc-rtl .cmc-about-red-block {
    right: auto;
    left: 17%
  }
  .cmc-rtl .cmc-stat:nth-child(odd) {
    border-right: 0;
    border-left: 1px solid var(--cmc-line)
  }
  .cmc-rtl .cmc-why-image:after {
    left: auto;
    right: 22px
  }
  .cmc-rtl .cmc-why-image-badge {
    left: auto;
    right: 22px
  }
/*
  .cmc-rtl .cmc-why-card:nth-child(odd) {
    border-right: 0;
    border-left: 1px solid #edf0f3
  }*/
}

@media (max-width:430px) {
  .cmc-about-visual {
    height: 266px;
    min-height: 266px
  }
  .cmc-about-main {
    left: 44px;
    height: 190px;
    width: 69%
  }
  .cmc-about-card.one,
  .cmc-about-card.two {
    height: 100px
  }
  .cmc-rtl .cmc-about-main {
    left: auto;
    right: 44px
  }
  .cmc-why-image {
    height: 224px
  }
  .cmc-why-features {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .cmc-why-card {
    min-height: 120px;
    padding: 13px 6px
  }
  .cmc-footer-grid {
    gap: 21px
  }
  .whats-icon,
  .phone-icon {
    width: 42px !important;
    height: 42px !important;
    right: 14px !important
  }
  .whats-icon {
    bottom: 65px !important
  }
  .phone-icon {
    bottom: 15px !important
  }
  .cmc-rtl .whats-icon,
  .cmc-rtl .phone-icon {
    right: auto !important;
    left: 14px !important
  }
}

/* =========================================================
   STEP 1 — Arabic footer refinement
   ========================================================= */

.cmc-site-footer {
  padding-top: 44px;
}

.cmc-footer-about {
  font-size: 13px;
  line-height: 1.8;
}

.cmc-footer-title {
  font-size: 16px;
  line-height: 1.35;
  margin: 4px 0 15px;
}

.cmc-footer-links li {
  margin: 8px 0
}

.cmc-footer-links a {
  font-size: 13px;
  line-height: 1.55;
}

.cmc-footer-contact {
  gap: 10px
}

.cmc-footer-contact a,
.cmc-footer-contact span {
  font-size: 13px;
  line-height: 1.55;
  gap: 9px;
}

.cmc-footer-contact i {
  width: 19px;
  font-size: 14px;
  margin-top: 2px;
}

.cmc-socials {
  gap: 9px;
  margin-top: 16px
}

.cmc-socials a {
  width: 34px;
  height: 34px;
  font-size: 13px;
}

.cmc-footer-bottom {
  min-height: 54px;
  font-size: 11.5px;
}

.cmc-footer-legal {
  gap: 14px
}

/* Globe/map: no side divider, taller and visually clearer */

.cmc-footer-map,
.cmc-rtl .cmc-footer-map {
  border-left: 0 !important;
  border-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cmc-footer-map img {
  width: 220px;
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  opacity: .42;
  filter: grayscale(1) brightness(1.85);
  transform: scaleY(1.08);
  transform-origin: center;
}

/* Arabic footer: stable physical layout + true RTL content */

@media (min-width:992px) {
  .cmc-rtl .cmc-footer-grid {
    direction: ltr;
    grid-template-columns: 1.24fr .66fr .84fr 1.05fr .92fr;
    grid-template-columns: 1.4fr 1fr 0.7fr 1.2fr !important;
    grid-template-areas: "brand quick products contact map";
    gap: 30px;
    align-items: start;
  }
  .cmc-rtl .cmc-footer-brand {
    grid-area: brand
  }
  .cmc-rtl .cmc-footer-quick {
    grid-area: quick
  }
  .cmc-rtl .cmc-footer-products {
    grid-area: products
  }
  .cmc-rtl .cmc-footer-contact-col {
    grid-area: contact
  }
  .cmc-rtl .cmc-footer-map {
    grid-area: map;
    justify-self: end
  }
  .cmc-rtl .cmc-footer-grid>div:not(.cmc-footer-map) {
    direction: rtl;
    text-align: right;
  }
  .cmc-rtl .cmc-footer-logo {
    display: flex;
    justify-content: flex-start
  }
  .cmc-rtl .cmc-footer-about {
    margin-left: auto;
    margin-right: 0;
    text-align: right
  }
  .cmc-rtl .cmc-socials {
    justify-content: flex-start
  }
  .cmc-rtl .cmc-footer-contact a,
  .cmc-rtl .cmc-footer-contact span {
    justify-content: flex-start;
    text-align: right;
  }
  .cmc-rtl .cmc-footer-bottom {
    direction: rtl;
    text-align: right;
  }
  .cmc-rtl .cmc-footer-legal {
    direction: rtl
  }
}

@media (max-width:991px) {
  .cmc-footer-map img {
    width: 210px;
    height: 138px
  }
  .cmc-rtl .cmc-footer-grid>div:not(.cmc-footer-map) {
    text-align: right
  }
}

@media (max-width:767px) {
  .cmc-site-footer {
    padding-top: 34px
  }
  .cmc-footer-about {
    font-size: 13.5px;
    line-height: 1.8;
    max-width: none
  }
  .cmc-footer-title {
    font-size: 17px;
    margin-bottom: 12px
  }
  .cmc-footer-links a,
  .cmc-footer-contact a,
  .cmc-footer-contact span {
    font-size: 13.5px
  }
  .cmc-footer-map,
  .cmc-rtl .cmc-footer-map {
    justify-content: center;
    margin-top: 4px
  }
  .cmc-footer-map img {
    width: 245px;
    height: 150px
  }
  .cmc-footer-bottom {
    font-size: 11.5px;
    line-height: 1.6
  }
  .cmc-rtl .cmc-footer-bottom {
    align-items: flex-start;
    text-align: right;
    width: 100%
  }
  .cmc-rtl .cmc-footer-bottom>span,
  .cmc-rtl .cmc-footer-legal {
    width: 100%;
    justify-content: flex-start
  }
}

/* =========================================================
   CMC FINAL REDESIGN — 2026-09-28
   Home refinements, inner pages, Arabic footer, mobile
   ========================================================= */

/* About visual: no decorative red square + elegant entrance */

.cmc-about-red-block {
  display: none !important
}

.cmc-about-visual img {
  backface-visibility: hidden;
  transform: translateZ(0)
}

.cmc-about-main,
.cmc-about-card {
  opacity: 0;
  transform: translateY(24px) scale(.985);
  transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease
}

.cmc-about-card.one {
  transition-delay: .12s
}

.cmc-about-card.two {
  transition-delay: .22s
}

.cmc-about-visual.is-visible .cmc-about-main,
.cmc-about-visual.is-visible .cmc-about-card {
  opacity: 1;
  transform: translateY(0) scale(1)
}

.cmc-about-card:hover {
  transform: translateY(-6px) scale(1.018) !important;
  box-shadow: 0 20px 42px rgba(8, 35, 59, .18)
}

.cmc-about-card img {
  transition: transform .55s ease
}

.cmc-about-card:hover img {
  transform: scale(1.04)
}

/* Product categories carousel */

.cmc-products-carousel {
  position: relative;
  overflow: hidden;
  padding: 2px 1px 8px
}

.cmc-products-carousel .cmc-products-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 0 !important
}

.cmc-products-carousel .cmc-product-card {
  height: auto;
  box-sizing: border-box
}

.cmc-products-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  transform: translateY(-50%);
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--cmc-navy);
  box-shadow: 0 8px 24px rgba(8, 35, 59, .18);
  transition: .25s ease;
  cursor: pointer
}

.cmc-products-arrow:hover {
  background: var(--cmc-red);
  color: #fff;
  transform: translateY(-50%) scale(1.06)
}

.cmc-products-prev {
  left: 10px
}

.cmc-products-next {
  right: 10px
}

.cmc-products-arrow i {
  font-size: 18px
}

.cmc-products-carousel .swiper-button-disabled {
  opacity: .3;
  pointer-events: none
}

/* Why Choose: use the exact cropped visual from the supplied design */

.cmc-why-reference {
  background: #f4f6f7 !important;
  height: 300px !important;
  border-radius: 5px !important;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .09);
  overflow: hidden
}

.cmc-why-reference:before,
.cmc-why-reference:after,
.cmc-why-reference .cmc-why-image-badge {
  display: none !important
}

.cmc-why-reference>img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block
}

/* Footer — larger typography, longer map, no divider */

.cmc-site-footer {
  padding-top: 46px
}

.cmc-footer-grid {
  grid-template-columns: 1.4fr 1fr 0.7fr 1.2fr;
  gap: 28px;
  align-items: start
}

.cmc-footer-about {
  font-size: 14px;
  line-height: 1.8;
  max-width: 315px
}

.cmc-footer-title {
  font-size: 17px;
  margin: 4px 0 16px
}

.cmc-footer-links li {
  margin: 9px 0
}

.cmc-footer-links a {
  font-size: 14px;
  line-height: 1.55
}

.cmc-footer-contact {
  gap: 11px
}

.cmc-footer-contact a,
.cmc-footer-contact span {
  font-size: 14px;
  line-height: 1.55;
  gap: 10px
}

.cmc-footer-contact i {
  font-size: 15px;
  width: 20px
}

.cmc-footer-map,
.cmc-rtl .cmc-footer-map {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  align-self: stretch;
  display: flex;
  align-items: center
}

.cmc-footer-map img {
  width: 100% !important;
  max-width: 245px !important;
  height: 178px !important;
  object-fit: contain !important;
  opacity: .43 !important;
  filter: grayscale(1) brightness(1.9) !important;
  transform: scaleY(1.12)
}

.cmc-footer-bottom {
  min-height: 58px;
  font-size: 12px
}

.cmc-footer-legal {
  gap: 12px
}

/* Arabic footer physical order: brand begins at right, map ends at left. */

@media (min-width:992px) {
  .cmc-rtl .cmc-footer-grid {
    direction: ltr !important;
    grid-template-columns: 1.25fr .67fr .88fr 1.08fr 1fr !important;
    grid-template-areas: "map contact products quick brand" !important;
    gap: 28px !important
  }
  .cmc-rtl .cmc-footer-brand {
    grid-area: brand !important
  }
  .cmc-rtl .cmc-footer-quick {
    grid-area: quick !important
  }
  .cmc-rtl .cmc-footer-products {
    grid-area: products !important
  }
  .cmc-rtl .cmc-footer-contact-col {
    grid-area: contact !important
  }
  .cmc-rtl .cmc-footer-map {
    grid-area: map !important;
    justify-self: start !important
  }
  .cmc-rtl .cmc-footer-grid>div:not(.cmc-footer-map) {
    direction: rtl !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-footer-logo {
    justify-content: flex-start !important
  }
  .cmc-rtl .cmc-footer-about {
    margin: 9px 0 0 auto !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-socials {
    justify-content: flex-start !important
  }
  .cmc-rtl .cmc-footer-contact a,
  .cmc-rtl .cmc-footer-contact span {
    justify-content: flex-start !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-footer-bottom {
    direction: rtl !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-footer-legal {
    direction: rtl !important
  }
}

/* ---------------------------------------------------------
   Unified inner-page visual language
   --------------------------------------------------------- */

body:not(.cmc-home-page) {
  background: #fff;
  color: #526170
}

body:not(.cmc-home-page) .breadcrumb-section {
  position: relative !important;
  min-height: 230px !important;
  padding: 0 !important;
  background: linear-gradient(120deg, #071d31 0%, #0c2d49 100%) !important;
  background-image: linear-gradient(120deg, rgba(7, 29, 49, .92), rgba(12, 45, 73, .88)), url('../images/common-bg.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  display: flex;
  align-items: center;
  overflow: hidden
}

body:not(.cmc-home-page) .breadcrumb-section:after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -135px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .025), 0 0 0 84px rgba(255, 255, 255, .018)
}

body:not(.cmc-home-page) .breadcrumb-section .container {
  position: relative;
  z-index: 2
}

body:not(.cmc-home-page) .banner-wrapper {
  padding: 54px 0 !important;
  background: transparent !important;
  min-height: 0 !important
}

body:not(.cmc-home-page) .banner-content {
  text-align: left !important
}

body:not(.cmc-home-page) .banner-content h1 {
  color: #fff !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.08 !important;
  font-weight: 500 !important;
  letter-spacing: -.025em !important;
  margin: 0 0 15px !important
}

body:not(.cmc-home-page) .breadcrumb-list {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  color: #d3dde6 !important;
  font-size: 13px !important
}

body:not(.cmc-home-page) .breadcrumb-list a {
  color: #fff !important;
  text-decoration: none !important
}

.breadcrumb-list svg {
  width: 14px !important;
  height: 14px !important
}

.breadcrumb-list svg path {
  fill: var(--cmc-primary) !important
}

.cmc-rtl:not(.cmc-home-page) .banner-content {
  text-align: right !important
}

.cmc-rtl:not(.cmc-home-page) .breadcrumb-list {
  justify-content: flex-start !important;
  direction: rtl !important
}

body:not(.cmc-home-page) .section-padding {
  padding: 65px 0 !important
}

/*
body:not(.cmc-home-page) .container {
  max-width: 1180px
}
*/


body:not(.cmc-home-page) .about-us-section-three .row {
  align-items: center
}

body:not(.cmc-home-page) .about-one__right {
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 45px rgba(7, 29, 49, .12) !important;
  background: #fff !important
}

body:not(.cmc-home-page) .about-one__right-img1 img {
  width: 100% !important;
  min-height: 390px !important;
  object-fit: cover !important
}

body:not(.cmc-home-page) .about-one__right .icon {
  display: none !important
}

body:not(.cmc-home-page) .section-title-three .sec-title,
body:not(.cmc-home-page) .sec-title {
  color: var(--cmc-navy) !important;
  font-size: clamp(31px, 3.4vw, 46px) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important
}

body:not(.cmc-home-page) .section-title-three p,
body:not(.cmc-home-page) .text,
body:not(.cmc-home-page) .short-discription {
  font-size: 15px !important;
  line-height: 1.85 !important;
  color: #647381 !important
}

/* Contact / quote cards and all form controls */

.contact-info-wrapper,
.quote-section-three {
  background: linear-gradient(135deg, #f4f7f9, #fff) !important
}

.contact-one__inne,
.contact-area,
.faq-form-wrap {
  background: #fff !important;
  border: 1px solid #e6ebef !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 38px rgba(8, 35, 59, .07) !important;
  padding: 30px !important;
  height: 100%
}

.contact-one__icon {
  background: #fbeaec !important;
  color: var(--cmc-red) !important;
  border-radius: 10px !important
}

.contact-one__icon i {
  color: var(--cmc-red) !important
}

.form-inner label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--cmc-navy) !important;
  margin-bottom: 7px !important
}

.form-inner input,
.form-inner textarea,
.form-inner select,
.nice-select {
  width: 100% !important;
  min-height: 50px !important;
  border: 1px solid #dfe5e9 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #25384a !important;
  padding: 10px 14px !important;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s !important
}

.form-inner textarea {
  min-height: 125px !important;
  resize: vertical !important
}

.form-inner input:focus,
.form-inner textarea:focus,
.form-inner select:focus {
  border-color: var(--cmc-red) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cmc-primary) 8%, transparent) !important;
  outline: 0 !important
}

.primary-btn1,
.secondary-btn,
.theme-btn,
.btn-style-one {
  border-radius: 10px !important;
  background: var(--cmc-red) !important;
  border-color: var(--cmc-red) !important;
  color: #fff !important;
  min-height: 48px !important;
  padding: 0 24px !important;
  transition: .25s ease !important
}

.primary-btn1:hover,
.secondary-btn:hover,
.theme-btn:hover,
.btn-style-one:hover {
  background: var(--cmc-navy) !important;
  border-color: var(--cmc-navy) !important;
  color: #fff !important;
  transform: translateY(-2px)
}

.cmc-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important
}

/* Listing / cards */

.partners-us,
.pageshop,
.det-prod {
  padding: 58px 0 !important;
  background: #fff !important
}

.partners-us .gallery-item,
.gallery-block,
.blog-insight-card-four,
.products .product-wrapper,
.product-item {
  border: 1px solid #e7ecef !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(8, 35, 59, .05) !important;
  transition: transform .3s ease, box-shadow .3s ease !important
}

.partners-us .gallery-item:hover,
.gallery-block:hover,
.blog-insight-card-four:hover,
.products .product-wrapper:hover,
.product-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 38px rgba(8, 35, 59, .11) !important
}

.blog-insight-card-four .card-img-wrap img,
.gallery-block .image img {
  transition: transform .55s ease !important
}

.blog-insight-card-four:hover .card-img-wrap img,
.gallery-block:hover .image img {
  transform: scale(1.04) !important
}

.sidebar-inner {
  border: 1px solid #e5eaee !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .05) !important;
  padding: 20px !important
}

.wid_categories {
  border-bottom: 1px solid #edf0f2 !important;
  padding-bottom: 16px !important;
  margin-bottom: 18px !important
}

.product-details-content,
.foor-xbox,
.request-box {
  border-radius: 12px !important
}

.product-big-image {
  border: 1px solid #e7ecef !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important
}

/* Legal pages */

.cmc-legal-page {
  padding: 64px 0 78px;
  background: #f7f9fb
}

.cmc-legal-card {
  max-width: 930px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  box-shadow: 0 16px 42px rgba(8, 35, 59, .07);
  padding: 42px 46px
}

.cmc-legal-card h2 {
  color: var(--cmc-navy);
  font-size: 25px;
  margin: 30px 0 10px
}

.cmc-legal-card h2:first-child {
  margin-top: 0
}

.cmc-legal-card p,
.cmc-legal-card li {
  font-size: 15px;
  line-height: 1.85;
  color: #627180
}

.cmc-legal-card ul {
  padding-left: 20px
}

.cmc-rtl .cmc-legal-card ul {
  padding-left: 0;
  padding-right: 20px
}

.cmc-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.cmc-sitemap-group {
  border: 1px solid #e6ebef;
  border-radius: 12px;
  padding: 20px
}

.cmc-sitemap-group h3 {
  font-size: 17px;
  color: var(--cmc-navy);
  margin: 0 0 12px
}

.cmc-sitemap-group a {
  display: block;
  color: #657482;
  text-decoration: none;
  padding: 6px 0
}

.cmc-sitemap-group a:hover {
  color: var(--cmc-red)
}

@media(max-width:991px) {
  .cmc-footer-grid,
  .cmc-rtl .cmc-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-areas: none !important;
    gap: 28px !important
  }
  .cmc-rtl .cmc-footer-grid>div {
    grid-area: auto !important
  }
  .cmc-footer-map img {
    max-width: 270px !important;
    height: 155px !important
  }
  .cmc-products-arrow {
    width: 39px;
    height: 39px
  }
  .cmc-sitemap-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:767px) {
  body:not(.cmc-home-page) .breadcrumb-section {
    min-height: 178px !important
  }
  .banner-wrapper {
    padding: 38px 0 !important
  }
  .banner-content h1 {
    font-size: 34px !important
  }
  .breadcrumb-list {
    font-size: 12px !important;
    flex-wrap: wrap !important
  }
  body:not(.cmc-home-page) .section-padding {
    padding: 42px 0 !important
  }
  .contact-one__inne,
  .contact-area,
  .faq-form-wrap {
    padding: 20px !important;
    border-radius: 12px !important
  }
  .cmc-about-visual {
    height: 292px !important;
    min-height: 292px !important
  }
  .cmc-about-main {
    height: 205px !important
  }
  .cmc-about-card.one,
  .cmc-about-card.two {
    height: 112px !important
  }
  .cmc-why-reference {
    height: auto !important;
    aspect-ratio: 250/208 !important
  }
  .cmc-why-reference>img {
    object-fit: cover !important
  }
  .cmc-products-carousel {
    padding-bottom: 5px
  }
  .cmc-products-arrow {
    width: 38px;
    height: 38px;
    top: 47%
  }
  .cmc-products-prev {
    left: 6px
  }
  .cmc-products-next {
    right: 6px
  }
  .cmc-footer-grid,
  .cmc-rtl .cmc-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important
  }
  .cmc-footer-title {
    font-size: 18px
  }
  .cmc-footer-about,
  .cmc-footer-links a,
  .cmc-footer-contact a,
  .cmc-footer-contact span {
    font-size: 15px !important
  }
  .cmc-footer-map {
    justify-content: center !important
  }
  .cmc-footer-map img {
    width: 290px !important;
    max-width: 100% !important;
    height: 170px !important
  }
  .cmc-footer-bottom {
    font-size: 12px !important;
    line-height: 1.7 !important
  }
  .cmc-legal-page {
    padding: 38px 0 52px
  }
  .cmc-legal-card {
    padding: 25px 20px;
    border-radius: 12px
  }
  .cmc-legal-card h2 {
    font-size: 21px
  }
  .cmc-legal-card p,
  .cmc-legal-card li {
    font-size: 14px
  }
  .cmc-sitemap-grid {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  .cmc-about-main,
  .cmc-about-card {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important
  }
}

/* =========================================================
   CHECKPOINT 03 — inner pages, Arabic footer & mobile polish
   ========================================================= */

/* Arabic footer: keep the globe at the far right as requested,
   while all Arabic text remains true RTL and right aligned. */

@media (min-width:992px) {
  .cmc-rtl .cmc-footer-grid {
    direction: ltr !important;
    grid-template-columns: 1.25fr .67fr .88fr 1.08fr 1fr !important;
    grid-template-columns: 1.4fr 1fr 0.7fr 1.2fr !important;
    grid-template-areas: "brand quick products contact map" !important;
    gap: 28px !important;
  }
  .cmc-rtl .cmc-footer-brand {
    grid-area: brand !important
  }
  .cmc-rtl .cmc-footer-quick {
    grid-area: quick !important
  }
  .cmc-rtl .cmc-footer-products {
    grid-area: products !important
  }
  .cmc-rtl .cmc-footer-contact-col {
    grid-area: contact !important
  }
  .cmc-rtl .cmc-footer-map {
    grid-area: map !important;
    justify-self: end !important
  }
  .cmc-rtl .cmc-footer-grid>div:not(.cmc-footer-map) {
    direction: rtl !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-footer-logo {
    display: flex !important;
    justify-content: flex-start !important
  }
  .cmc-rtl .cmc-footer-about {
    margin: 9px 0 0 auto !important;
    text-align: right !important
  }
  .cmc-rtl .cmc-socials {
    justify-content: flex-end !important
  }
  .cmc-rtl .cmc-footer-contact a,
  .cmc-rtl .cmc-footer-contact span {
    justify-content: flex-start !important;
    text-align: right !important;
    direction: rtl !important
  }
}

.cmc-rtl .cmc-footer-title {
  font-size: 19px !important
}

.cmc-rtl .cmc-footer-about,
.cmc-rtl .cmc-footer-links a,
.cmc-rtl .cmc-footer-contact a,
.cmc-rtl .cmc-footer-contact span {
  font-size: 15px !important
}

.cmc-rtl .cmc-footer-bottom {
  font-size: 12.5px !important
}

/* About page — cleaner editorial layout */

.cmc-inner-page .about-us-section-three {
  background: #fff !important
}

.cmc-inner-page .about-us-section-three .about-one__right {
  position: relative;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 54px rgba(7, 29, 49, .13) !important
}

.cmc-inner-page .about-us-section-three .about-one__right-img1 {
  min-height: 430px;
  background: #eef2f5
}

.cmc-inner-page .about-us-section-three .about-one__right-img1 img {
  width: 100% !important;
  height: 430px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  display: block;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1)
}

.cmc-inner-page .about-us-section-three .about-one__right:hover img {
  transform: scale(1.035)
}

.cmc-inner-page .right-side-area {
  padding-inline-start: 28px
}

.cmc-rtl.cmc-inner-page .right-side-area {
  padding-inline-start: 0;
  padding-inline-end: 28px;
  text-align: right
}

.cmc-inner-page .section-title-three .sec-title {
  position: relative;
  padding-top: 15px;
  margin-bottom: 18px !important
}

.cmc-inner-page .section-title-three .sec-title:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  border-radius: 4px;
  background: var(--cmc-red)
}

.cmc-rtl.cmc-inner-page .section-title-three .sec-title:before {
  left: auto;
  right: 0
}

/* Mission / vision block */

.cmc-inner-page .our-mission-vision {
  padding: 0 0 70px;
  background: #fff
}

.cmc-inner-page .our-mission-vision>.container-fluid {
  max-width: 1180px;
  padding: 0 15px;
  margin: auto
}

.cmc-inner-page .our-mission-vision .row {
  overflow: hidden;
  border: 1px solid #e6ebef;
  border-radius: 18px;
  background: #f8fafb;
  box-shadow: 0 16px 42px rgba(8, 35, 59, .07)
}

.cmc-inner-page .mission-vision-image,
.cmc-inner-page .mission-vision-image figure {
  height: 100%;
  margin: 0
}

.cmc-inner-page .mission-vision-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block
}

.cmc-inner-page .mission-vision-content {
  height: 100%;
  padding: 46px 44px;
  display: grid;
  align-content: center;
  gap: 24px
}

.cmc-inner-page .mission-vision-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #e4e9ed
}

.cmc-inner-page .mission-vision-item:last-child {
  border-bottom: 0
}

.cmc-inner-page .mission-vision-item .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(8, 35, 59, .08)
}

.cmc-inner-page .mission-vision-item .icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain
}

.cmc-inner-page .mission-vision-item h3 {
  margin: 0 0 8px;
  color: var(--cmc-navy);
  font-size: 23px;
  font-weight: 500
}

.cmc-inner-page .mission-vision-item p {
  margin: 0;
  color: #647381;
  font-size: 15px;
  line-height: 1.8
}

/* Brands */

.cmc-inner-page .partners-us {
  background: linear-gradient(180deg, #fff 0%, #f7f9fb 100%) !important
}

.cmc-inner-page .partners-us .gallery-item {
  height: 132px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
  border-radius: 14px !important
}

.cmc-inner-page .partners-us .gallery-item .image-box,
.cmc-inner-page .partners-us .gallery-item figure {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  display: grid !important;
  place-items: center !important
}

.cmc-inner-page .partners-us .gallery-item img {
  max-width: 88% !important;
  max-height: 78px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: saturate(.96);
  transition: transform .35s ease, filter .35s ease
}

.cmc-inner-page .partners-us .gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.08)
}

/* Gallery */

.cmc-inner-page .gallery-block {
  height: 220px !important;
  border-radius: 14px !important;
  position: relative !important
}

.cmc-inner-page .gallery-block .inner-box,
.cmc-inner-page .gallery-block .image,
.cmc-inner-page .gallery-block .image img {
  width: 100% !important;
  height: 100% !important
}

.cmc-inner-page .gallery-block .image img {
  object-fit: cover !important
}

.cmc-inner-page .gallery-block:after {
  content: "+";
  position: absolute;
  inset: auto 15px 15px auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--cmc-primary) 94%, transparent);
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(8px);
  transition: .28s ease;
  pointer-events: none
}

.cmc-inner-page .gallery-block:hover:after {
  opacity: 1;
  transform: none
}

.cmc-rtl.cmc-inner-page .gallery-block:after {
  right: auto;
  left: 15px
}

/* News cards */

.cmc-inner-page .blog-insight-card-four {
  height: 100% !important;
  border-radius: 15px !important;
  background: #fff !important
}

.cmc-inner-page .blog-insight-card-four .card-img-wrap {
  height: 225px !important;
  overflow: hidden !important;
  background: #eef2f4
}

.cmc-inner-page .blog-insight-card-four .card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important
}

.cmc-inner-page .blog-insight-card-four .card-content {
  padding: 22px !important
}

.cmc-inner-page .blog-insight-card-four .card-content h3,
.cmc-inner-page .blog-insight-card-four .card-content h4 {
  color: var(--cmc-navy) !important;
  font-weight: 500 !important
}

.cmc-inner-page .blog-insight-card-four .text {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #6a7784 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.cmc-inner-page .read-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: var(--cmc-red) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important
}

/* Videos */

.cmc-inner-page .featured-imagebox {
  height: 100%;
  border: 1px solid #e6ebef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .06);
  transition: .3s ease
}

.cmc-inner-page .featured-imagebox:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(8, 35, 59, .12)
}

.cmc-inner-page .featured-thumbnail {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eef2f4
}

.cmc-inner-page .featured-thumbnail img,
.cmc-inner-page .featured-thumbnail iframe {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important
}

/* Product listing / sidebar */

.cmc-inner-page .pageshop {
  background: #f7f9fb !important;
  padding: 58px 0 72px !important
}

.cmc-inner-page .sidebar-inner {
  position: sticky;
  top: 96px;
  border-radius: 15px !important;
  background: #fff !important
}

.cmc-inner-page .sidebar-inner .entry-title,
.cmc-inner-page .sidebar-inner h3,
.cmc-inner-page .sidebar-inner h4 {
  color: var(--cmc-navy) !important;
  font-weight: 500 !important
}

.cmc-inner-page .sidebar-inner input[type="text"],
.cmc-inner-page .sidebar-inner input[type="search"],
.cmc-inner-page .sidebar-inner select {
  min-height: 46px;
  border: 1px solid #dfe5e9;
  border-radius: 10px;
  padding: 8px 12px;
  width: 100%;
  background: #fff
}

.cmc-inner-page .products .product-wrapper,
.cmc-inner-page .product-item {
  border-radius: 15px !important;
  background: #fff !important;
  overflow: hidden !important
}

.cmc-inner-page .products .product-wrapper img,
.cmc-inner-page .product-item img {
  transition: transform .55s ease !important
}

.cmc-inner-page .products .product-wrapper:hover img,
.cmc-inner-page .product-item:hover img {
  transform: scale(1.035) !important
}

/* Product detail */

.cmc-inner-page .det-prod {
  background: #fff !important
}

.cmc-inner-page .product-big-image {
  border-radius: 16px !important;
  box-shadow: 0 12px 34px rgba(8, 35, 59, .08) !important
}

.cmc-inner-page .product-details-content {
  padding: 28px !important;
  border: 1px solid #e6ebef !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(8, 35, 59, .06) !important
}

.cmc-inner-page .product-details-content h1,
.cmc-inner-page .product-details-content h2,
.cmc-inner-page .product-details-content h3 {
  color: var(--cmc-navy) !important;
  font-weight: 500 !important
}

/* Contact page */

.cmc-inner-page .contact-one__single {
  border: 1px solid #e7ecef !important;
  border-radius: 14px !important;
  padding: 18px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(8, 35, 59, .05) !important;
  margin-bottom: 14px !important
}

.cmc-inner-page .contact-one__number,
.cmc-inner-page .contact-one__number a {
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: var(--cmc-navy) !important;
  text-decoration: none !important
}

.cmc-inner-page .contact-one__sub-title {
  color: #7b8792 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .06em !important
}

.cmc-inner-page .contact-area h3,
.cmc-inner-page .faq-form-wrap h3 {
  color: var(--cmc-navy) !important;
  font-size: 28px !important;
  font-weight: 500 !important
}

/* Form success / error messages */

.cmc-inner-page .message:not(:empty) {
  padding: 12px 14px !important;
  border-radius: 10px !important;
  background: #f5f8fa !important;
  border: 1px solid #dfe6eb !important;
  color: var(--cmc-navy) !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important
}

/* Page entrance animation */

.cmc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1)
}

.cmc-reveal.is-visible {
  opacity: 1;
  transform: none
}

/* RTL inner pages */

.cmc-rtl.cmc-inner-page {
  font-family: "Tajawal", "reg", Tahoma, Arial, sans-serif !important
}

.cmc-rtl.cmc-inner-page .section-title-three,
.cmc-rtl.cmc-inner-page .mission-vision-item-content,
.cmc-rtl.cmc-inner-page .card-content,
.cmc-rtl.cmc-inner-page .product-details-content,
.cmc-rtl.cmc-inner-page .sidebar-inner,
.cmc-rtl.cmc-inner-page .contact-area,
.cmc-rtl.cmc-inner-page .faq-form-wrap {
  text-align: right !important
}

.cmc-rtl.cmc-inner-page .mission-vision-item {
  grid-template-columns: 1fr 58px
}

.cmc-rtl.cmc-inner-page .mission-vision-item .icon-box {
  grid-column: 2
}

.cmc-rtl.cmc-inner-page .mission-vision-item-content {
  grid-column: 1;
  grid-row: 1
}

/* Responsive pass */

@media(max-width:991px) {
  .cmc-inner-page .right-side-area,
  .cmc-rtl.cmc-inner-page .right-side-area {
    padding: 0 !important
  }
  .cmc-inner-page .about-us-section-three .d-lg-block {
    display: block !important;
    margin-bottom: 28px
  }
  .cmc-inner-page .about-us-section-three .about-one__right-img1,
  .cmc-inner-page .about-us-section-three .about-one__right-img1 img {
    height: 360px !important;
    min-height: 0 !important
  }
  .cmc-inner-page .mission-vision-image img {
    min-height: 340px
  }
  .cmc-inner-page .mission-vision-content {
    padding: 34px 28px
  }
  .cmc-inner-page .sidebar-inner {
    position: static;
    top: auto
  }
  .cmc-inner-page .gallery-block {
    height: 190px !important
  }
}

@media(max-width:767px) {
  .cmc-inner-page .about-us-section-three .about-one__right-img1,
  .cmc-inner-page .about-us-section-three .about-one__right-img1 img {
    height: 265px !important
  }
  .cmc-inner-page .section-title-three .sec-title {
    font-size: 31px !important
  }
  .cmc-inner-page .our-mission-vision {
    padding-bottom: 48px
  }
  .cmc-inner-page .our-mission-vision .row {
    margin: 0;
    border-radius: 14px
  }
  .cmc-inner-page .mission-vision-image img {
    min-height: 0;
    height: 245px
  }
  .cmc-inner-page .mission-vision-content {
    padding: 24px 20px;
    gap: 5px
  }
  .cmc-inner-page .mission-vision-item {
    grid-template-columns: 48px 1fr;
    gap: 13px;
    padding: 18px 0
  }
  .cmc-rtl.cmc-inner-page .mission-vision-item {
    grid-template-columns: 1fr 48px
  }
  .cmc-inner-page .mission-vision-item .icon-box {
    width: 46px;
    height: 46px;
    border-radius: 13px
  }
  .cmc-inner-page .mission-vision-item .icon-box img {
    width: 25px;
    height: 25px
  }
  .cmc-inner-page .mission-vision-item h3 {
    font-size: 20px
  }
  .cmc-inner-page .mission-vision-item p {
    font-size: 14px;
    line-height: 1.7
  }
  .cmc-inner-page .partners-us .gallery-item {
    height: 112px !important;
    padding: 13px !important
  }
  .cmc-inner-page .gallery-block {
    height: 155px !important
  }
  .cmc-inner-page .blog-insight-card-four .card-img-wrap {
    height: 205px !important
  }
  .cmc-inner-page .blog-insight-card-four .card-content {
    padding: 18px !important
  }
  .cmc-inner-page .pageshop {
    padding: 38px 0 52px !important
  }
  .cmc-inner-page .product-details-content {
    padding: 20px !important
  }
  .cmc-inner-page .contact-area h3,
  .cmc-inner-page .faq-form-wrap h3 {
    font-size: 24px !important
  }
  .cmc-rtl .cmc-footer-logo {
    justify-content: flex-start !important
  }
  .cmc-rtl .cmc-socials {
    justify-content: flex-start !important
  }
}

@media(max-width:430px) {
  .cmc-inner-page .gallery-block {
    height: 138px !important
  }
  .cmc-inner-page .partners-us .gallery-item {
    height: 104px !important
  }
  .cmc-inner-page .blog-insight-card-four .card-img-wrap {
    height: 190px !important
  }
}

@media(prefers-reduced-motion:reduce) {
  .cmc-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important
  }
}

/* Gallery detail rebuilt for the new design */

.cmc-gallery-detail {
  background: #f7f9fb !important
}

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

.cmc-gallery-detail-item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: 15px;
  overflow: hidden;
  background: #eef2f4;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .07)
}

.cmc-gallery-detail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease, filter .4s ease
}

.cmc-gallery-detail-item span {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--cmc-primary) 96%, transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: .28s ease
}

.cmc-gallery-detail-item:hover img {
  transform: scale(1.045);
  filter: brightness(.92)
}

.cmc-gallery-detail-item:hover span {
  opacity: 1;
  transform: none
}

.cmc-rtl .cmc-gallery-detail-item span {
  right: auto;
  left: 15px
}

.cmc-empty-state {
  max-width: 620px;
  margin: 0 auto;
  padding: 55px 28px;
  text-align: center;
  border: 1px solid #e5eaee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 59, .06)
}

.cmc-empty-state>i {
  font-size: 44px;
  color: var(--cmc-red)
}

.cmc-empty-state h2 {
  margin: 12px 0 7px;
  color: var(--cmc-navy);
  font-size: 28px
}

.cmc-empty-state p {
  color: #6a7783;
  margin-bottom: 20px
}

@media(max-width:767px) {
  .cmc-gallery-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }
  .cmc-gallery-detail-item {
    border-radius: 11px
  }
  .cmc-gallery-detail-item span {
    opacity: 1;
    width: 34px;
    height: 34px;
    right: 9px;
    bottom: 9px
  }
  .cmc-rtl .cmc-gallery-detail-item span {
    right: auto;
    left: 9px
  }
}

/* News detail rebuilt for the new visual language */

.cmc-news-detail {
  background: #fff !important
}

.cmc-news-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 42px;
  align-items: start
}

.cmc-news-article {
  min-width: 0
}

.cmc-news-article>h1 {
  margin: 0 0 20px;
  color: var(--cmc-navy);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.025em
}

.cmc-news-richtext {
  font-size: 15.5px;
  line-height: 1.9;
  color: #5f6f7d
}

.cmc-news-richtext h2,
.cmc-news-richtext h3,
.cmc-news-richtext h4 {
  color: var(--cmc-navy);
  font-weight: 500;
  margin: 28px 0 10px
}

.cmc-news-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 12px
}

.cmc-news-richtext a {
  color: var(--cmc-red)
}

.cmc-news-media {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px
}

.cmc-news-main-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 38px rgba(8, 35, 59, .11)
}

.cmc-video-frame {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 14px;
  background: #071e34;
  box-shadow: 0 12px 32px rgba(8, 35, 59, .1)
}

.cmc-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.cmc-download-btn {
  margin-top: 24px
}

.cmc-news-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 58px 0 18px
}

.cmc-news-gallery-head h2 {
  margin: 0;
  color: var(--cmc-navy);
  font-size: 30px;
  font-weight: 500
}

.cmc-rtl .cmc-news-article,
.cmc-rtl .cmc-news-richtext {
  text-align: right
}

@media(max-width:991px) {
  .cmc-news-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }
  .cmc-news-media {
    position: static;
    grid-row: 1
  }
  .cmc-news-main-image {
    max-height: 460px
  }
  .cmc-news-article {
    grid-row: 2
  }
}

@media(max-width:767px) {
  .cmc-news-article>h1 {
    font-size: 31px
  }
  .cmc-news-richtext {
    font-size: 14.5px;
    line-height: 1.8
  }
  .cmc-news-gallery-head {
    margin-top: 40px
  }
  .cmc-news-gallery-head h2 {
    font-size: 25px
  }
}

/* =========================================================
   CHECKPOINT 04 — typography balance + Why image cleanup
   ========================================================= */

/* Keep large headings elegant and closer to the reference proportions. */

.cmc-section-title {
  font-size: clamp(26px, 2.45vw, 26px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.018em !important
}

.cmc-why-copy .cmc-section-title {
  font-size: clamp(25px, 2.25vw, 23px) !important
}

body:not(.cmc-home-page) .banner-content h1 {
  font-size: clamp(30px, 3.35vw, 24px) !important;
  line-height: 1.12 !important
}

body:not(.cmc-home-page) .section-title-three .sec-title,
body:not(.cmc-home-page) .sec-title {
  font-size: clamp(27px, 2.8vw, 29px) !important;
  line-height: 1.16 !important
}

.cmc-legal-card h2 {
  font-size: 23px !important
}

/* Arabic descriptions were visually too small. Increase body copy without making headings oversized. */

.cmc-rtl .cmc-about-subtitle {
  font-size: 19px !important;
  line-height: 1.55 !important
}

.cmc-rtl .cmc-about-text {
  font-size: 15px !important;
  line-height: 1.9 !important
}

.cmc-rtl .cmc-section-lead {
  font-size: 15px !important;
  line-height: 1.75 !important
}

.cmc-rtl .cmc-product-desc {
  font-size: 13px !important;
  line-height: 1.7 !important;
  height: 45px !important
}

.cmc-rtl .cmc-red-link {
  font-size: 12.5px !important
}

.cmc-rtl .cmc-why-copy p {
  font-size: 15px !important;
  line-height: 1.9 !important
}

.cmc-rtl .cmc-why-card strong {
  font-size: 14px !important;
  line-height: 1.45 !important
}

.cmc-rtl .cmc-why-card span {
  font-size: 12.5px !important;
  line-height: 1.6 !important
}

.cmc-rtl .cmc-stat span {
  font-size: 11.5px !important;
  line-height: 1.55 !important
}

.cmc-rtl:not(.cmc-home-page) .section-title-three p,
.cmc-rtl:not(.cmc-home-page) .text,
.cmc-rtl:not(.cmc-home-page) .short-discription {
  font-size: 16px !important;
  line-height: 2 !important
}

.cmc-rtl .cmc-legal-card p,
.cmc-rtl .cmc-legal-card li {
  font-size: 16px !important;
  line-height: 2 !important
}

/* Why Choose image: no white frame, no decorative line, no border/shadow. */

.cmc-why-reference {
  height: 330px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important
}

.cmc-why-reference:before,
.cmc-why-reference:after {
  display: none !important;
  content: none !important
}

.cmc-why-reference>img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: scale(1.02)
}

@media(max-width:767px) {
  .cmc-section-title {
    font-size: clamp(24px, 7.2vw, 31px) !important;
    line-height: 1.18 !important
  }
  .cmc-why-copy .cmc-section-title {
    font-size: clamp(23px, 6.7vw, 29px) !important
  }
  body:not(.cmc-home-page) .banner-content h1 {
    font-size: 30px !important
  }
  body:not(.cmc-home-page) .section-title-three .sec-title,
  body:not(.cmc-home-page) .sec-title {
    font-size: 28px !important
  }
  .cmc-rtl .cmc-about-text,
  .cmc-rtl .cmc-why-copy p {
    font-size: 15px !important;
    line-height: 1.9 !important
  }
  .cmc-rtl .cmc-section-lead {
    font-size: 14.5px !important
  }
  .cmc-rtl .cmc-product-desc {
    font-size: 13px !important;
    height: auto !important;
    min-height: 44px !important
  }
  .cmc-why-reference {
    height: auto !important;
    aspect-ratio: 1.31/1 !important
  }
  .cmc-why-reference>img {
    transform: scale(1.035)
  }
}

/* =========================================================
   CHECKPOINT 05 — product catalog redesign + icon contrast
   ========================================================= */

/* About / Contact icon visibility on light sections */

.cmc-inner-page .contact-one__icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  display: grid !important;
  place-items: center !important;
  background: var(--cmc-primary-soft) !important;
  border: 1px solid color-mix(in srgb, var(--cmc-primary) 16%, transparent) !important;
  color: var(--cmc-red) !important;
  box-shadow: 0 7px 18px color-mix(in srgb, var(--cmc-primary) 8%, transparent) !important;
}

.cmc-inner-page .contact-one__icon span,
.cmc-inner-page .contact-one__icon i {
  color: var(--cmc-red) !important;
  opacity: 1 !important;
  font-size: 21px !important;
  line-height: 1 !important;
  -webkit-text-fill-color: var(--cmc-red) !important;
}

.cmc-inner-page .mission-vision-item .icon-box {
  background: var(--cmc-red) !important;
  border: 1px solid var(--cmc-red) !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cmc-primary) 18%, transparent) !important;
}

.cmc-inner-page .mission-vision-item .icon-box img {
  opacity: 1 !important;
  filter: none !important
}

.cmc-inner-page .about-us-section-three .icon,
.cmc-inner-page .working-process-card .icon-bg,
.cmc-inner-page .working-process-card .video-area .icon {
  color: var(--cmc-navy) !important;
}

.cmc-inner-page .working-process-card .icon-bg {
  background: #eef3f6 !important
}

.cmc-inner-page .working-process-card .icon-bg svg path[fill="white"] {
  fill: var(--cmc-navy) !important
}

.cmc-inner-page .contact-one__single {
  align-items: flex-start !important
}

/* New catalog */

.cmc-catalog-page .breadcrumb-section {
  margin-bottom: 0 !important
}

.cmc-catalog {
  padding: 62px 0 82px;
  background: linear-gradient(180deg, #f8fafb 0, #fff 28%, #fff 100%)
}

.cmc-catalog-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 31px
}

.cmc-catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cmc-red);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 8px
}

.cmc-catalog-kicker:before {
  content: "";
  width: 27px;
  height: 2px;
  background: var(--cmc-red);
  display: block
}

.cmc-catalog-intro h2 {
  margin: 0 0 8px;
  color: var(--cmc-navy);
  font-size: clamp(29px, 3vw, 41px);
  line-height: 1.12;
  letter-spacing: -.025em
}

.cmc-catalog-intro p {
  margin: 0;
  color: #6d7986;
  font-size: 14px;
  line-height: 1.7;
  max-width: 690px
}

.cmc-catalog-count {
  min-width: 102px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7ecef;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .06);
  text-align: center
}

.cmc-catalog-count strong {
  display: block;
  color: var(--cmc-navy);
  font-size: 25px;
  line-height: 1;
}

.cmc-catalog-count span {
  display: block;
  color: #7a8792;
  font-size: 11px;
  margin-top: 5px
}

.cmc-catalog-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 28px;
  align-items: start
}

.cmc-catalog-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px
}

.cmc-filter-card {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 34px rgba(8, 35, 59, .055)
}

.cmc-filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 13px;
  margin-bottom: 8px;
  border-bottom: 1px solid #edf1f3
}

.cmc-filter-head h3 {
  margin: 0;
  color: var(--cmc-navy);
  font-size: 16px;
  font-weight: 400
}

.cmc-filter-head i {
  color: var(--cmc-red);
  font-size: 18px
}

.cmc-filter-links {
  display: grid
}

.cmc-filter-links a {
  min-height: 42px;
  padding: 8px 9px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #64717e;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  transition: .22s ease
}

.cmc-filter-links a:hover {
  background: #f7f9fa;
  color: var(--cmc-navy);
  transform: translateX(2px)
}

.cmc-filter-links a.is-active {
  background: var(--cmc-navy);
  color: #fff
}

.cmc-filter-links a.is-active small {
  background: rgba(255, 255, 255, .15);
  color: #fff
}

.cmc-filter-links small {
  min-width: 25px;
  height: 23px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #f0f3f5;
  color: #87919a;
  font-size: 10px
}

.cmc-brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 4px
}

.cmc-brand-filter a {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #e4e9ed;
  background: #fff;
  color: #61707d;
  text-decoration: none;
  font-size: 11px;
  transition: .2s
}

.cmc-brand-filter a:hover,
.cmc-brand-filter a.is-active {
  background: var(--cmc-red);
  border-color: var(--cmc-red);
  color: #fff
}

.cmc-catalog-main {
  min-width: 0
}

.cmc-catalog-toolbar {
  min-height: 68px;
  padding: 10px 12px 10px 17px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .045)
}

.cmc-catalog-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0
}

.cmc-catalog-search>i {
  font-size: 17px;
  color: #8a96a0
}

.cmc-catalog-search input[type="search"] {
  flex: 1;
  min-width: 100px;
  height: 44px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--cmc-navy);
  font-size: 13px;
  box-shadow: none !important;
  padding: 0 !important
}

.cmc-catalog-search input::placeholder {
  color: #9ca6ae
}

.cmc-catalog-search button,
.cmc-filter-toggle {
  height: 43px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--cmc-red);
  color: #fff;
  font-size: 14px;
  transition: .22s ease
}

.cmc-catalog-search button:hover,
.cmc-filter-toggle:hover {
  background: var(--cmc-navy);
  color: #fff
}

.cmc-filter-toggle {
  display: none;
  align-items: center;
  gap: 7px
}

.cmc-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -7px 0 17px
}

.cmc-active-filters a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: var(--cmc-primary-soft);
  border: 1px solid var(--cmc-primary-border);
  border-radius: 10px;
  color: var(--cmc-primary);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700
}

.cmc-active-filters a:hover {
  background: var(--cmc-red);
  color: #fff
}

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

.cmc-catalog-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 9px 28px rgba(8, 35, 59, .052);
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease
}

.cmc-catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(8, 35, 59, .12);
  border-color: #d8e0e6
}

.cmc-catalog-image {
position: relative;
  height: 270px;
  display: flex;
  overflow: hidden;
  background: linear-gradient(145deg, #f7f9fa, #eef2f4);
  background: #fff;
  align-items: center;
  justify-content: center;
}

.cmc-catalog-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 31, 52, .05));
  pointer-events: none
}

.cmc-catalog-image img {
width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  max-height: 100%;
}

.cmc-catalog-card:hover .cmc-catalog-image img {
  transform: scale(1.055)
}

.cmc-card-brand {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  max-width: 70%;
  padding: 6px 9px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 15px rgba(8, 35, 59, .08);
  color: var(--cmc-navy);
  font-size: 9px;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cmc-card-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cmc-navy);
  color: #fff;
  font-size: 15px;
  transform: translateY(5px);
  opacity: 0;
  transition: .3s ease
}

.cmc-catalog-card:hover .cmc-card-arrow {
  opacity: 1;
  transform: translateY(0)
}

.cmc-catalog-card-body {
  padding: 17px 16px 16px
}

.cmc-catalog-card-body h3 {
  margin: 0 0 8px;
  min-height: 43px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--cmc-navy)
}

.cmc-catalog-card-body h3 a {
  color: inherit;
  text-decoration: none
}

.cmc-catalog-card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
  margin: 0 0 14px;
  color: #75818c;
  font-size: 11.5px;
  line-height: 1.65
}

.cmc-card-actions {
  padding-top: 13px;
  border-top: 1px solid #edf1f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px
}

.cmc-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cmc-navy);
  font-size: 10.5px;
  text-decoration: none
}

.cmc-card-more:hover {
  color: var(--cmc-red);
  gap: 9px
}

.cmc-card-quote {
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--cmc-primary-soft);
  color: var(--cmc-red);
  text-decoration: none;
  font-size: 9.5px;
  white-space: nowrap
}

.cmc-card-quote:hover {
  background: var(--cmc-red);
  color: #fff
}

.cmc-catalog-empty {
  padding: 70px 25px;
  text-align: center;
  background: #fff;
  border: 1px dashed #d9e0e5;
  border-radius: 16px
}

.cmc-catalog-empty>i {
  font-size: 42px;
  color: #bec8cf
}

.cmc-catalog-empty h3 {
  margin: 12px 0 5px;
  color: var(--cmc-navy);
  font-size: 21px
}

.cmc-catalog-empty p {
  color: #7b8791;
  font-size: 13px
}

.cmc-catalog-empty a {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--cmc-red);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500
}

/* Arabic catalog mirroring */

.cmc-rtl .cmc-catalog-kicker {
  letter-spacing: 0
}

.cmc-rtl .cmc-catalog-kicker:before {
  order: 2
}

.cmc-rtl .cmc-filter-links a:hover {
  transform: translateX(-2px)
}

.cmc-rtl .cmc-card-brand {
  left: auto;
  right: 12px
}

.cmc-rtl .cmc-card-arrow {
  right: auto;
  left: 12px
}

.cmc-rtl .cmc-catalog-search {
  direction: rtl
}

.cmc-rtl .cmc-catalog-card-body {
  text-align: right
}

@media(max-width:1100px) {
  .cmc-catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px
  }
  .cmc-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .cmc-catalog-image {
    height: 245px
  }
}

@media(max-width:900px) {
  .cmc-catalog {
    padding: 45px 0 65px
  }
  .cmc-catalog-layout {
    grid-template-columns: 1fr
  }
  .cmc-catalog-sidebar {
    position: static;
    display: none
  }
  .cmc-catalog-sidebar.is-open {
    display: grid
  }
  .cmc-filter-toggle {
    display: inline-flex
  }
  .cmc-catalog-toolbar {
    margin-bottom: 16px
  }
  .cmc-filter-card {
    box-shadow: none
  }
  .cmc-catalog-sidebar {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 4px
  }
  .cmc-catalog-main {
    order: 2
  }
}

@media(max-width:650px) {
  .cmc-catalog-intro {
    align-items: flex-start;
    margin-bottom: 22px
  }
  .cmc-catalog-intro h2 {
    font-size: 27px
  }
  .cmc-catalog-intro p {
    font-size: 13px
  }
  .cmc-catalog-count {
    min-width: 78px;
    padding: 10px 12px
  }
  .cmc-catalog-count strong {
    font-size: 22px
  }
  .cmc-catalog-count span {
    font-size: 10px
  }
  .cmc-catalog-toolbar {
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr auto
  }
  .cmc-catalog-search {
    gap: 7px
  }
  .cmc-catalog-search button {
    padding: 0 12px
  }
  .cmc-filter-toggle {
    padding: 0 12px;
    font-size: 0
  }
  .cmc-filter-toggle i {
    font-size: 17px
  }
  .cmc-catalog-sidebar {
    grid-template-columns: 1fr
  }
  .cmc-catalog-grid {
    grid-template-columns: 1fr;
    gap: 15px
  }
  .cmc-catalog-image {
    height: 270px
  }
  .cmc-catalog-card-body h3 {
    min-height: 0;
    font-size: 16px
  }
  .cmc-catalog-card-body p {
    min-height: 0
  }
  .cmc-card-arrow {
    opacity: 1;
    transform: none
  }
  .cmc-card-actions {
    gap: 8px
  }
  .cmc-card-more {
    font-size: 11px
  }
  .cmc-card-quote {
    font-size: 10px;
    padding: 8px 11px
  }
  .cmc-inner-page .contact-one__icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important
  }
  .cmc-inner-page .contact-one__icon span,
  .cmc-inner-page .contact-one__icon i {
    font-size: 19px !important
  }
}

/* checkpoint 06: why image, support icon clarity, partners section tone */

.cmc-brands {
  background: linear-gradient(135deg, #eff4f7 0%, #f8fafb 100%) !important;
  border-top: 1px solid #edf1f3
}

.cmc-brands .cmc-brands-head {
  margin-bottom: 22px
}

.cmc-brands .cmc-brand-card {
  background: #fff;
  border: 1px solid #e7ecef;
  box-shadow: 0 8px 22px rgba(8, 35, 59, .05)
}

.cmc-brands .cmc-brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(8, 35, 59, .10)
}

.cmc-why-reference {
  height: 330px !important;
  background: #eef2f4 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important
}

.cmc-why-reference>img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
  image-rendering: auto !important
}

.cmc-why-card i.bi-headset {
  font-size: 30px !important;
  line-height: 1
}

@media(max-width:767px) {
  .cmc-brands {
    padding-top: 38px !important;
    padding-bottom: 44px !important
  }
  .cmc-why-reference {
    height: 245px !important
  }
}

/* =====================================================================
   CHECKPOINT 07 — LIGHT BLUE BRAND SYSTEM + INNER PAGES REDESIGN
   ===================================================================== */

:root {
  --cmc-sky: var(--cmc-primary);
  --cmc-sky-dark: color-mix(in srgb, var(--cmc-primary) 78%, #000);
  --cmc-sky-soft: var(--cmc-primary-soft);
  --cmc-sky-pale: var(--cmc-primary-soft);
  --cmc-red: var(--cmc-sky);
  --cmc-red2: var(--cmc-sky-dark);
}

html {
  scroll-behavior: smooth
}

body {
  background: #fff
}

.cmc-site-header {
  border-bottom-color: #e8f0f5
}

.cmc-main-nav>li.active>a,
.cmc-main-nav>li>a:hover,
.cmc-submenu a:hover,
.cmc-search-link:hover {
  color: var(--cmc-sky) !important
}

.cmc-main-nav>li.active>a:after {
  background: var(--cmc-sky) !important
}

.cmc-quote-btn,
.cmc-solid-btn {
  background: var(--cmc-sky) !important;
  border-color: var(--cmc-sky) !important;
}

.cmc-quote-btn:hover,
.cmc-solid-btn:hover {
  background: var(--cmc-navy) !important;
  border-color: var(--cmc-navy) !important
}

.cmc-outline-btn {
  border-color: var(--cmc-sky) !important;
  color: var(--cmc-sky) !important
}

.cmc-outline-btn:hover {
  background: var(--cmc-sky) !important;
  color: #fff !important
}

.cmc-eyebrow:before {
  background: var(--cmc-sky) !important
}

.cmc-stat-icon,
.cmc-why-card i,
.cmc-red-link {
  color: var(--cmc-sky) !important
}

.cmc-red-link:hover {
  color: var(--cmc-sky-dark) !important
}

.cmc-socials a:hover {
  background: var(--cmc-sky) !important;
  border-color: var(--cmc-sky) !important
}

.breadcrumb-list svg path {
  fill: var(--cmc-sky) !important
}

.whats-icon a,
.phone-icon a {
  box-shadow: 0 8px 24px rgba(8, 35, 59, .15)
}

.phone-icon a {
  background: var(--cmc-sky) !important
}

.form-inner input:focus,
.form-inner textarea:focus,
.form-inner select:focus,
.form-control:focus {
  border-color: var(--cmc-sky) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cmc-primary) 10%, transparent) !important
}

/* clean inner hero shared by About, Contact and Product Details */

.cmc-inner-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b2944 0%, #123d60 62%, #17658d 100%);
  padding: 70px 0 64px;
  color: #fff
}


.cmc-rtl .cmc-inner-hero {
background: linear-gradient(135deg, #17658d 0%, #123d60 62%, #0b2944 100%);
}

.cmc-inner-hero:before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  right: -90px;
  top: -190px;
  background: radial-gradient(circle, color-mix(in srgb, var(--cmc-primary) 35%, transparent), transparent 68%)
}

.cmc-inner-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none
}

.cmc-inner-hero .cmc-shell {
  position: relative;
  z-index: 2
}

.cmc-inner-hero-content {
  max-width: 790px
}

.cmc-inner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  color: #9eddf6;
  margin-bottom: 13px
}

.cmc-inner-kicker:before {
  content: "";
  width: 31px;
  height: 3px;
  border-radius: 4px;
  background: var(--cmc-sky)
}

.cmc-inner-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: 0
}

.cmc-inner-hero p {
  max-width: 710px;
  margin: 15px 0 0;
  color: #d7e5ef;
  font-size: 15px;
  line-height: 1.75
}

.cmc-clean-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 23px;
  font-size: 11px;
  color: #b9ccda
}

.cmc-clean-breadcrumb a {
  color: #fff;
  text-decoration: none;
  transition: .2s
}

.cmc-clean-breadcrumb a:hover {
  color: #8dd8f5
}

.cmc-clean-breadcrumb i {
  font-size: 9px;
  color: #78a6c0
}

.cmc-clean-breadcrumb span {
  color: #a9c0cf
}

/* ABOUT */

.cmc-about-intro-section {
  padding: 76px 0 82px;
  background: #fff
}

.cmc-about-intro-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 78px;
  align-items: center
}

.cmc-about-story-media {
  position: relative;
  min-height: 510px
}

.cmc-about-photo {
  display: block;
  position: absolute;
  overflow: hidden;
  background: #eef4f7;
  box-shadow: 0 18px 42px rgba(8, 35, 59, .12);
  transition: transform .45s ease, box-shadow .45s ease
}

.cmc-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1)
}

.cmc-about-photo:hover {
  box-shadow: 0 24px 52px rgba(8, 35, 59, .18);
  z-index: 5
}

.cmc-about-photo:hover img {
  transform: scale(1.045)
}

.cmc-about-photo-main {
  left: 54px;
  top: 0;
  width: 70%;
  height: 380px;
  border-radius: 18px
}

.cmc-about-photo-small {
  width: 43%;
  height: 205px;
  border: 7px solid #fff;
  border-radius: 16px;
  z-index: 2
}

.cmc-about-photo-small.one {
  left: 0;
  bottom: 10px
}

.cmc-about-photo-small.two {
  right: 0;
  bottom: 54px
}

.cmc-about-experience {
  position: absolute;
  right: 8%;
  top: 30px;
  z-index: 4;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--cmc-sky);
  color: #fff;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--cmc-primary) 28%, transparent);
  border: 6px solid #fff
}

.cmc-about-experience strong {
  font-size: 30px;
  line-height: 1;
  font-weight: 900
}

.cmc-about-experience small {
  font-size: 10px;
  line-height: 1.25;
  margin-top: 4px;
  font-weight: 700
}

.cmc-about-story-copy .cmc-section-title {
  font-size: clamp(31px, 3.1vw, 44px)
}

.cmc-about-rich {
  margin-top: 18px;
  color: #5d6e7d;
  font-size: 14px;
  line-height: 1.8
}

.cmc-about-rich p {
  margin: 0 0 13px
}

.cmc-about-rich ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px 16px
}

.cmc-about-rich li {
  position: relative;
  padding-left: 21px;
  color: #435a6e;
}

.cmc-about-rich li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cmc-sky);
  font-weight: 900
}

.cmc-about-points {
  display: grid;
  gap: 11px;
  margin-top: 24px
}

.cmc-about-points>div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border: 1px solid #e7eff4;
  border-radius: 14px;
  background: #fbfdfe;
  transition: .25s ease
}

.cmc-about-points>div:hover {
  border-color: var(--cmc-primary-border);
  transform: translateX(4px);
  background: var(--cmc-sky-pale)
}

.cmc-about-points i {
  width: 41px;
  height: 41px;
  flex: 0 0 41px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky-soft);
  color: var(--cmc-sky);
  font-size: 20px
}

.cmc-about-points span {
  display: flex;
  flex-direction: column
}

.cmc-about-points strong {
  color: var(--cmc-navy);
  font-size: 13px
}

.cmc-about-points small {
  color: #758593;
  font-size: 11px;
  margin-top: 2px
}

.cmc-about-values-section {
  padding: 66px 0 72px;
  background: linear-gradient(135deg, #eff7fb 0%, #f9fcfe 100%)
}

.cmc-about-values-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 28px
}

.cmc-about-values-head>p {
  max-width: 450px;
  margin: 0;
  color: #6b7b88;
  font-size: 13px;
  line-height: 1.7
}

.cmc-about-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.cmc-value-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 29px;
  background: #fff;
  border: 1px solid #e4edf3;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(8, 35, 59, .055);
  overflow: hidden
}

.cmc-value-card:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -52px;
  bottom: -60px;
}

.cmc-value-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--cmc-primary) 23%, transparent)
}

.cmc-value-number {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--cmc-sky);
  font-weight: 500
}

.cmc-value-card h3 {
  margin: 3px 0 9px;
  color: var(--cmc-navy);
  font-size: 22px
}

.cmc-value-card p {
  margin: 0;
  color: #657785;
  font-size: 13px;
  line-height: 1.75
}

.cmc-about-strengths {
  padding: 42px 0;
  background: #fff
}

.cmc-strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px
}

.cmc-strength-card {
  padding: 22px 16px;
  text-align: center;
  border: 1px solid #e6eef3;
  border-radius: 15px;
  background: #fff;
  transition: .28s ease
}

.cmc-strength-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(8, 35, 59, .08);
  border-color: var(--cmc-primary-border)
}

.cmc-strength-card i {
  display: block;
  color: var(--cmc-sky);
  font-size: 28px;
  margin-bottom: 9px
}

.cmc-strength-card strong {
  display: block;
  color: var(--cmc-navy);
  font-size: 15px
}

.cmc-strength-card span {
  display: block;
  color: #768693;
  font-size: 11px;
  margin-top: 4px
}

/* CONTACT */

.cmc-contact-main {
  background: #fff
}

.cmc-contact-top {
  padding: 54px 0 22px
}

.cmc-contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.cmc-contact-card {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 20px 17px;
  border: 1px solid #e5edf3;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  transition: .28s ease;
  color: inherit;
  min-width: 0
}

.cmc-contact-card:hover {
  transform: translateY(-4px);
  border-color: #bfe7f7;
  box-shadow: 0 16px 32px rgba(8, 35, 59, .08)
}

.cmc-contact-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky-soft);
  color: var(--cmc-sky);
  font-size: 20px
}

.cmc-contact-card div {
  min-width: 0
}

.cmc-contact-card small {
  display: block;
  color: #7b8a97;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500
}

.cmc-contact-card strong {
  display: block;
  color: var(--cmc-navy);
  font-size: 13px;
  margin: 3px 0 4px;
  word-break: break-word
}

.cmc-contact-card p {
  margin: 0;
  color: #71818e;
  font-size: 10px;
  line-height: 1.45;
  word-break: break-word
}

.cmc-contact-form-section {
  padding: 36px 0 70px
}

.cmc-contact-form-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
  align-items: start
}

.cmc-contact-info-panel {
  padding: 22px 4px
}

.cmc-contact-info-panel .cmc-section-title {
  font-size: clamp(30px, 3vw, 42px)
}

.cmc-contact-intro {
  color: #667886;
  font-size: 14px;
  line-height: 1.8;
  margin: 15px 0 25px
}

.cmc-branch-list {
  display: grid;
  gap: 11px
}

.cmc-branch-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 13px;
  background: #f8fbfd;
  border: 1px solid #e7eff4;
  background: #fbfdfe;
}

.cmc-branch-item i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--cmc-sky);
  font-size: 17px;
  box-shadow: 0 5px 15px rgba(8, 35, 59, .05)
}

.cmc-branch-item div {
  display: flex;
  flex-direction: column
}

.cmc-branch-item strong {
  font-size: 12px;
  color: var(--cmc-navy)
}

.cmc-branch-item span {
  font-size: 10.5px;
  line-height: 1.5;
  color: #73838f;
  margin-top: 2px
}

.cmc-contact-form-card {
  padding: 30px;
  border: 1px solid #e4edf3;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8, 35, 59, .08)
}

.cmc-contact-form-head>span {
  font-size: 10px;
  color: var(--cmc-sky);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase
}

.cmc-contact-form-head h2 {
  margin: 5px 0 5px;
  font-size: 24px;
  color: var(--cmc-navy);
  font-weight: 500
}

.cmc-contact-form-head p {
  margin: 0 0 22px;
  color: #778794;
  font-size: 12px
}

.cmc-form-alert {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--cmc-sky-soft);
  border: 1px solid var(--cmc-primary-border);
  color: var(--cmc-primary-dark);
  font-size: 12px;
  font-weight: 700
}

.cmc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.cmc-modern-form label {
  display: block;
  margin: 0
}

.cmc-modern-form label>span {
  display: block;
  margin-bottom: 7px;
  color: #42586a;
  font-size: 11px;
}

.cmc-modern-form input,
.cmc-modern-form select,
.cmc-modern-form textarea {
  width: 100%;
  border: 1px solid #dce6ed;
  border-radius: 12px;
  background: #fbfdfe;
  color: #17344c;
  font-size: 12px;
  padding: 12px 13px;
  outline: 0;
  transition: .22s ease
}

.cmc-modern-form input,
.cmc-modern-form select {
  height: 46px
}

.cmc-modern-form textarea {
  min-height: 128px;
  resize: vertical
}

.cmc-modern-form input:focus,
.cmc-modern-form select:focus,
.cmc-modern-form textarea:focus {
  border-color: var(--cmc-sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cmc-primary) 10%, transparent);
  background: #fff
}

.cmc-form-full {
  grid-column: 1/-1
}

.cmc-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.cmc-form-submit>span {
  margin: 0 !important;
  color: #80909b !important;
  font-size: 10px !important;
  font-weight: 500 !important
}

.cmc-form-submit>span i {
  color: var(--cmc-sky);
  margin-right: 4px
}

.cmc-contact-map {
  height: 420px;
  overflow: hidden;
  background: #eaf2f6
}

.cmc-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(.82) contrast(1.02)
}

/* PRODUCT DETAILS */

.cmc-pd-wrap {
  padding: 50px 0;
  background: #fff
}

.cmc-pd-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: start
}

.cmc-pd-gallery {
  min-width: 0
}

.cmc-pd-main-image {
  height: 530px;
  border: 1px solid #e1ebf1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8fbfc, #eef5f8);
  background: #fff;
  position: relative
}

.cmc-pd-main-image>a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.cmc-pd-main-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
  max-height: 530px;
}

.cmc-pd-main-image:hover img {
  transform: scale(1.025)
}

.cmc-pd-zoom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--cmc-navy);
  box-shadow: 0 8px 22px rgba(8, 35, 59, .11)
}

.cmc-pd-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin
}

.cmc-pd-thumb {
  width: 82px;
  height: 76px;
  flex: 0 0 82px;
  padding: 5px;
  border: 1px solid #dfe8ee;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: .22s ease
}

.cmc-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.cmc-pd-thumb.is-active,
.cmc-pd-thumb:hover {
  border-color: var(--cmc-sky);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cmc-primary) 12%, transparent)
}

.cmc-pd-info {
  padding: 18px 0 0
}

.cmc-pd-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ecf9f1;
  color: #2a8b56;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em
}

.cmc-pd-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35ad68;
  box-shadow: 0 0 0 4px rgba(53, 173, 104, .12)
}

.cmc-pd-info h2 {
margin: 14px 0 13px;
  color: var(--cmc-navy);
  font-size: 24px;
  line-height: 1.08;
  font-weight: 400;
  text-transform: capitalize;
}

.cmc-pd-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cmc-sky);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none
}

.cmc-pd-brand i {
  font-size: 16px
}

.cmc-pd-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 25px 0
}

.cmc-pd-meta>div {
  padding: 14px 15px;
  border: 1px solid #e5edf2;
  border-radius: 12px;
  background: #fbfdfe;
  min-width: 0
}

.cmc-pd-meta span {
  display: block;
  color: #84919c;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500
}

.cmc-pd-meta strong,
.cmc-pd-meta a {
  display: block;
  color: #254055;
  font-size: 12px;
  text-decoration: none;
  margin-top: 3px;
  word-break: break-word
}

.cmc-pd-meta a:hover {
  color: var(--cmc-sky)
}

.cmc-pd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 8px 0 20px
}

.cmc-pd-quote {
  min-height: 48px !important;
  padding: 0 23px !important
}

.cmc-pd-whatsapp {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #cfdce4;
  color: #183951;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  transition: .25s
}

.cmc-pd-whatsapp i {
  color: #25d366;
  font-size: 18px
}

.cmc-pd-whatsapp:hover {
  border-color: #25d366;
  background: #f3fff7;
  color: #183951
}

.cmc-pd-support-note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border-radius: 14px;
  background: var(--cmc-sky-pale);
  border: 1px solid var(--cmc-primary-border)
}

.cmc-pd-support-note>i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky);
  color: #fff;
  font-size: 20px
}

.cmc-pd-support-note div {
  display: flex;
  flex-direction: column
}

.cmc-pd-support-note strong {
  color: var(--cmc-navy);
  font-size: 12px
}

.cmc-pd-support-note span {
  color: #66808f;
  font-size: 10.5px;
  margin-top: 2px;
  line-height: 1.45
}

.cmc-pd-content-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 24px;
  margin-top: 46px;
  align-items: start
}

.cmc-pd-description-card,
.cmc-pd-side-card {
  border: 1px solid #e4edf3;
  border-radius: 18px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(8, 35, 59, .045)
}

.cmc-pd-description-card h3,
.cmc-pd-side-card h3 {
  margin: 3px 0 17px;
  color: var(--cmc-navy);
  font-size: 22px;
  font-weight: 500
}

.cmc-rich-content {
  color: #526a7b;
  font-size: 13px;
  line-height: 1.85
}

.cmc-rich-content p {
  margin: 0 0 12px
}

.cmc-rich-content ul {
  padding-left: 20px
}

.cmc-rich-content li {
  margin: 5px 0
}

.cmc-pd-files {
  display: grid;
  gap: 9px
}

.cmc-pd-files>a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #e6eef3;
  border-radius: 12px;
  text-decoration: none;
  background: #fbfdfe;
  transition: .22s
}

.cmc-pd-files>a:hover {
  border-color: var(--cmc-primary-border);
  background: var(--cmc-sky-pale)
}

.cmc-pd-files>a>i:first-child {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky-soft);
  color: var(--cmc-sky);
  font-size: 17px
}

.cmc-pd-files>a>i:last-child {
  color: #82919c
}

.cmc-pd-files span {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.cmc-pd-files strong {
  font-size: 10.5px;
  color: var(--cmc-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cmc-pd-files small {
  font-size: 8.5px;
  color: #87949e;
  margin-top: 2px
}

.cmc-pd-muted {
  color: #7d8c97;
  font-size: 11px;
  line-height: 1.6;
  margin: 0
}

.cmc-related-section {
  margin-top: 64px;
  padding-top: 45px;
  border-top: 1px solid #e8eef2
}

.cmc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px
}

.cmc-related-card {
  border: 1px solid #e4edf2;
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  transition: .28s;
  box-shadow: 0 7px 22px rgba(8, 35, 59, .04)
}

.cmc-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 32px rgba(8, 35, 59, .09)
}

.cmc-related-image {
  height: 220px;
  display: flex;
  place-items: center;
  background: #f8fbfc;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.cmc-related-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: .4s
}

.cmc-related-card:hover .cmc-related-image img {
  transform: scale(1.04)
}

.cmc-related-card>div {
  padding: 14px
}

.cmc-related-card>div>span {
  font-size: 8.5px;
  color: var(--cmc-sky);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em
}

.cmc-related-card h3 {
  margin: 4px 0 8px;
  font-size: 13px;
  line-height: 1.35
}

.cmc-related-card h3 a {
  color: var(--cmc-navy);
  text-decoration: none;
  font-size: 16px;
}

.cmc-related-card .cmc-red-link {
  font-size: 10px
}

.cmc-empty-state {
  padding: 100px 0;
  background: #f7fafc
}

.cmc-empty-card {
  max-width: 600px;
  margin: auto;
  text-align: center;
  padding: 50px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e4edf2;
  box-shadow: 0 18px 48px rgba(8, 35, 59, .07)
}

.cmc-empty-card>i {
  font-size: 52px;
  color: var(--cmc-sky)
}

.cmc-empty-card h1 {
  color: var(--cmc-navy);
  font-size: 32px;
  margin: 13px 0 8px
}

.cmc-empty-card p {
  color: #71818e;
  margin: 0 0 20px
}

/* RTL adjustments for redesigned pages */

.cmc-rtl .cmc-inner-hero:before {
  right: auto;
  left: -90px
}

.cmc-rtl .cmc-inner-hero-content {
  text-align: right
}

.cmc-rtl .cmc-clean-breadcrumb {
  direction: rtl
}

.cmc-rtl .cmc-about-photo-main {
  left: auto;
  right: 54px
}

.cmc-rtl .cmc-about-photo-small.one {
  left: auto;
  right: 0
}

.cmc-rtl .cmc-about-photo-small.two {
  right: auto;
  left: 0
}

.cmc-rtl .cmc-about-experience {
  right: auto;
  left: 8%
}

.cmc-rtl .cmc-about-rich li {
  padding-left: 0;
  padding-right: 21px
}

.cmc-rtl .cmc-about-rich li:before {
  left: auto;
  right: 0
}

.cmc-rtl .cmc-about-points>div:hover {
  transform: translateX(-4px)
}

.cmc-rtl .cmc-value-card:after {
  right: auto;
  left: -52px
}

.cmc-rtl .cmc-form-submit>span i {
  margin-right: 0;
  margin-left: 4px
}

.cmc-rtl .cmc-pd-zoom {
  right: auto;
  left: 18px
}

.cmc-rtl .cmc-rich-content ul {
  padding-left: 0;
  padding-right: 20px
}

.cmc-rtl .cmc-pd-files strong {
  text-align: right
}

@media(max-width:1100px) {
  .cmc-contact-cards {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-about-intro-grid {
    gap: 45px
  }
  .cmc-about-story-media {
    min-height: 460px
  }
  .cmc-about-photo-main {
    height: 340px
  }
  .cmc-pd-grid {
    gap: 35px
  }
  .cmc-pd-main-image {
    height: 470px
  }
  .cmc-related-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:991px) {
  .cmc-inner-hero {
    padding: 55px 0 50px
  }
  .cmc-inner-hero h1 {
    font-size: clamp(32px, 6vw, 48px)
  }
  .cmc-about-intro-grid,
  .cmc-contact-form-grid,
  .cmc-pd-grid {
    grid-template-columns: 1fr
  }
  .cmc-about-story-media {
    max-width: 680px;
    width: 100%;
    margin: auto
  }
  .cmc-about-values-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px
  }
  .cmc-strengths-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-contact-form-grid {
    gap: 18px
  }
  .cmc-contact-info-panel {
    padding-bottom: 5px
  }
  .cmc-pd-gallery {
    max-width: 700px;
    width: 100%;
    margin: auto
  }
  .cmc-pd-content-grid {
    grid-template-columns: 1fr
  }
  .cmc-pd-side-card {
    order: 2
  }
}

@media(max-width:767px) {
  .cmc-inner-hero {
    padding: 43px 0 39px
  }
  .cmc-inner-hero h1 {
    font-size: 19px;
    line-height: 1.08
  }
  .cmc-inner-hero p {
    font-size: 13px;
    line-height: 1.65
  }
  .cmc-inner-kicker {
    font-size: 9px
  }
  .cmc-clean-breadcrumb {
    margin-top: 17px;
    font-size: 10px
  }
  .cmc-about-intro-section {
    padding: 45px 0 52px
  }
  .cmc-about-story-media {
    min-height: 335px
  }
  .cmc-about-photo-main {
    left: 31px;
    width: 74%;
    height: 250px;
    border-radius: 13px
  }
  .cmc-about-photo-small {
    height: 120px;
    border-width: 5px;
    border-radius: 11px
  }
  .cmc-about-photo-small.one {
    bottom: 0
  }
  .cmc-about-photo-small.two {
    bottom: 25px
  }
  .cmc-about-experience {
    width: 84px;
    height: 84px;
    right: 3%;
    top: 18px;
    border-width: 4px
  }
  .cmc-about-experience strong {
    font-size: 22px
  }
  .cmc-about-experience small {
    font-size: 8px
  }
  .cmc-about-rich {
    font-size: 13.5px;
    line-height: 1.85
  }
  .cmc-about-rich ul {
    grid-template-columns: 1fr
  }
  .cmc-about-values-section {
    padding: 45px 0
  }
  .cmc-about-values-grid {
    grid-template-columns: 1fr
  }
  .cmc-value-card {
    padding: 22px 18px;
    gap: 14px
  }
  .cmc-value-icon {
    width: 48px;
    height: 48px;
    font-size: 21px
  }
  .cmc-strengths-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px
  }
  .cmc-strength-card {
    padding: 17px 9px
  }
  .cmc-strength-card span {
    font-size: 9.5px
  }
  .cmc-rtl .cmc-about-photo-main {
    left: auto;
    right: 31px
  }
  .cmc-rtl .cmc-about-experience {
    right: auto;
    left: 3%
  }
  .cmc-contact-top {
    padding: 35px 0 12px
  }
  .cmc-contact-cards {
    grid-template-columns: 1fr;
    gap: 10px
  }
  .cmc-contact-card {
    padding: 16px 14px
  }
  .cmc-contact-form-section {
    padding: 25px 0 45px
  }
  .cmc-contact-form-card {
    padding: 22px 16px;
    border-radius: 16px
  }
  .cmc-form-grid {
    grid-template-columns: 1fr
  }
  .cmc-form-full {
    grid-column: auto
  }
  .cmc-form-submit {
    align-items: stretch;
    flex-direction: column
  }
  .cmc-contact-map {
    height: 330px
  }
  .cmc-pd-wrap {
    padding: 40px 0 52px
  }
  .cmc-pd-main-image {
    height: 350px;
    border-radius: 15px
  }
  .cmc-pd-main-image>a {

  }
  .cmc-pd-thumb {
    width: 68px;
    height: 64px;
    flex-basis: 68px
  }
  .cmc-pd-info {
    padding-top: 0
  }
  .cmc-pd-info h2 {
    font-size: 29px
  }
  .cmc-pd-meta {
    grid-template-columns: 1fr 1fr
  }
  .cmc-pd-actions {
    align-items: stretch
  }
  .cmc-pd-actions>a {
    flex: 1;
    justify-content: center;
    min-width: 145px
  }
  .cmc-pd-content-grid {
    margin-top: 31px
  }
  .cmc-pd-description-card,
  .cmc-pd-side-card {
    padding: 21px 17px;
    border-radius: 15px
  }
  .cmc-rich-content {
    font-size: 13px
  }
  .cmc-related-section {
    margin-top: 43px;
    padding-top: 34px
  }
  .cmc-related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }
  .cmc-related-image {
    height: 150px
  }
  .cmc-related-card>div {
    padding: 11px
  }
  .cmc-related-card h3 {
    font-size: 11.5px
  }
}

@media(max-width:480px) {
  .cmc-about-story-media {
    min-height: 300px
  }
  .cmc-about-photo-main {
    height: 223px
  }
  .cmc-about-photo-small {
    height: 105px
  }
  .cmc-about-experience {
    width: 76px;
    height: 76px
  }
  .cmc-strengths-grid {
    grid-template-columns: 1fr 1fr
  }
  .cmc-pd-main-image {
    height: 305px
  }
  .cmc-pd-meta {
    grid-template-columns: 1fr
  }
  .cmc-related-grid {
    grid-template-columns: 1fr
  }
  .cmc-related-image {
    height: 210px
  }
}

.cmc-captcha-wrap {
  overflow: hidden;
  min-height: 78px
}

.cmc-captcha-wrap .g-recaptcha {
  transform-origin: 0 0
}

.cmc-rtl .cmc-captcha-wrap .g-recaptcha {
  transform-origin: 100% 0
}

@media(max-width:390px) {
  .cmc-captcha-wrap .g-recaptcha {
    transform: scale(.88);
    width: 304px
  }
}

/* refined motion for redesigned About + Product gallery */

.cmc-about-story-media.cmc-reveal .cmc-about-photo-main {
  transform: translateY(22px) scale(.985)
}

.cmc-about-story-media.cmc-reveal .cmc-about-photo-small.one {
  transform: translate(-18px, 18px) scale(.96)
}

.cmc-about-story-media.cmc-reveal .cmc-about-photo-small.two {
  transform: translate(18px, 18px) scale(.96)
}

.cmc-about-story-media.cmc-reveal .cmc-about-experience {
  transform: scale(.72) rotate(-8deg);
  opacity: 0
}

.cmc-about-story-media.cmc-reveal.is-visible .cmc-about-photo-main,
.cmc-about-story-media.cmc-reveal.is-visible .cmc-about-photo-small {
  transform: none;
  transition: transform .85s cubic-bezier(.2, .8, .2, 1)
}

.cmc-about-story-media.cmc-reveal.is-visible .cmc-about-photo-small.one {
  transition-delay: .12s
}

.cmc-about-story-media.cmc-reveal.is-visible .cmc-about-photo-small.two {
  transition-delay: .22s
}

.cmc-about-story-media.cmc-reveal.is-visible .cmc-about-experience {
  transform: none;
  opacity: 1;
  transition: transform .7s .28s cubic-bezier(.2, .8, .2, 1), opacity .5s .28s ease
}

.cmc-pd-main-image img.is-switching {
  opacity: .25;
  transform: scale(.985)
}

.cmc-pd-main-image img {
  opacity: 1;
  transition: opacity .22s ease, transform .45s ease
}

@media(prefers-reduced-motion:reduce) {
  .cmc-about-story-media.cmc-reveal .cmc-about-photo-main,
  .cmc-about-story-media.cmc-reveal .cmc-about-photo-small,
  .cmc-about-story-media.cmc-reveal .cmc-about-experience {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important
  }
}

/* checkpoint 08: branded why image, partners bg, global radii */

:root {
  --cmc-radius: 10px
}

.cmc-products-arrow,
.cmc-showcase-arrow,
.cmc-slider-arrow,
.cmc-home-showcase .showcase-arrow,
.cmc-hero-arrow {
  border-radius: 50% !important
}

.cmc-solid-btn,
.cmc-outline-btn,
.cmc-brands-more,
.cmc-red-link,
.cmc-quote-btn,
.cmc-brand-card,
.cmc-product-card,
.cmc-contact-card,
.cmc-contact-form-card,
.cmc-contact-info-panel,
.cmc-pd-gallery-main,
.cmc-pd-thumb,
.cmc-pd-panel,
.cmc-pd-info-card,
.cmc-pd-related-card,
.cmc-about-card,
.cmc-about-main,
.cmc-why-card,
.cmc-footer-links a,
.cmc-inner-card,
.cmc-gallery-card,
.cmc-modern-form input,
.cmc-modern-form textarea,
.cmc-modern-form select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.nice-select,
.cmc-form-alert,
.partners-us .gallery-item,
.gallery-block,
.blog-insight-card-four,
.products .product-wrapper,
.product-item,
.cmc-sitemap-group,
.cmc-legal-card {
  border-radius: var(--cmc-radius) !important
}

.cmc-brands {
  background: linear-gradient(135deg, #eff4f7 0%, #f8fafb 100%) !important;
  padding-bottom: 56px !important;
  margin-bottom: 0 !important
}

.cmc-brands .cmc-shell,
.cmc-brands .cmc-brands-head,
.cmc-brands .cmc-brands-grid,
.cmc-brands .cmc-brands-more-wrap {
  position: relative;
  z-index: 2
}

.cmc-why-reference {
  height: 330px !important;
  background: #eef4f8 !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 34px rgba(8, 35, 59, .08) !important;
  overflow: hidden !important
}

.cmc-why-reference>img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 10px !important
}

.cmc-rtl .cmc-footer-bottom,
.cmc-rtl .cmc-footer-legal,
.cmc-rtl .cmc-footer-contact,
.cmc-rtl .cmc-footer-links {
  direction: rtl
}

.cmc-rtl .cmc-footer-bottom {
  justify-content: space-between
}

.cmc-rtl .cmc-footer-legal {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap
}

@media(max-width:767px) {
  .cmc-why-reference {
    height: 250px !important
  }
}

/* =====================================================================
   CHECKPOINT 09 — DIRECTORY PAGES + HOME PRODUCT SEARCH + READABILITY
   ===================================================================== */

body.cmc-inner-page {
  font-size: 16px
}

.cmc-inner-page p,
.cmc-inner-page li,
.cmc-inner-page a,
.cmc-inner-page span,
.cmc-inner-page label,
.cmc-inner-page input,
.cmc-inner-page textarea,
.cmc-inner-page select {
  font-size: 14px
}

.cmc-inner-page .cmc-section-title {
  font-size: clamp(30px, 2.7vw, 40px) !important;
  line-height: 1.12 !important
}

.cmc-inner-page .cmc-inner-hero h1 {
  font-size: clamp(34px, 3.8vw, 52px) !important;
  line-height: 1.06 !important;

}

.cmc-inner-page .cmc-inner-hero p {
  font-size: 16px !important;
  line-height: 1.8 !important
}

.cmc-inner-page .cmc-inner-kicker {
  font-size: 11px !important
}

.cmc-inner-page .cmc-clean-breadcrumb,
.cmc-inner-page .cmc-clean-breadcrumb * {
  font-size: 12px !important
}

.cmc-rtl.cmc-inner-page p,
.cmc-rtl.cmc-inner-page li,
.cmc-rtl.cmc-inner-page a,
.cmc-rtl.cmc-inner-page span,
.cmc-rtl.cmc-inner-page label,
.cmc-rtl.cmc-inner-page input,
.cmc-rtl.cmc-inner-page textarea,
.cmc-rtl.cmc-inner-page select {
  font-size: 16px
}

/* shared directory/listing pages */

.cmc-directory-main,
.cmc-news-main {
  background: #fff
}

.cmc-directory-intro {
  padding: 62px 0 28px;
  background: #fff
}

.cmc-directory-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  align-items: end
}

.cmc-directory-intro-grid>div:last-child {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end
}

.cmc-directory-intro-grid p {
  margin: 0;
  color: #607383;
  line-height: 1.85;
  font-size: 16px !important
}

.cmc-directory-count {
  min-width: 112px;
  padding: 14px 17px;
  border: 1px solid #dceaf2;
  background: #f7fbfd;
  border-radius: 10px;
  text-align: center
}

.cmc-directory-count strong {
  display: block;
  color: var(--cmc-sky);
  font-size: 29px;
  line-height: 1;
  font-weight: 900
}

.cmc-directory-count span {
  display: block;
  margin-top: 5px;
  color: #6d7d89;
  font-size: 11px !important;
  font-weight: 700
}

.cmc-directory-section {
  padding: 22px 0 70px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%)
}

.cmc-brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px
}

.cmc-brand-directory-card {
  position: relative;
  min-height: 154px;
  padding: 20px 15px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cmc-navy);
  background: #fff;
  border: 1px solid #e2ebf1;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(8, 35, 59, .045);
  transition: .28s ease;
  overflow: hidden
}

.cmc-brand-directory-card:hover {
  transform: translateY(-5px);
  border-color: var(--cmc-primary-border);
  box-shadow: 0 18px 35px rgba(8, 35, 59, .09);
  color: var(--cmc-navy)
}

.cmc-brand-directory-index {
  position: absolute;
  left: 11px;
  top: 9px;
  color: #b8c5cf;
  font-size: 9px !important;
  font-weight: 500;
  letter-spacing: .08em
}

.cmc-rtl .cmc-brand-directory-index {
  left: auto;
  right: 11px
}

.cmc-brand-directory-logo {
  height: 82px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px
}

.cmc-brand-directory-logo img {
  max-width: 100%;
  max-height: 74px;
  object-fit: contain;
  transition: transform .35s ease
}

.cmc-brand-directory-card:hover img {
  transform: scale(1.055)
}

.cmc-brand-directory-card>strong {
  font-size: 12px !important;
  line-height: 1.35;
  text-align: center
}

.cmc-directory-cta {
  padding: 0 0 72px;
  background: #f7fbfd
}

.cmc-directory-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b2944 0%, #123e61 100%);
  color: #fff;
  box-shadow: 0 18px 42px rgba(8, 35, 59, .13)
}

.cmc-directory-cta-card span {
  font-size: 11px !important;
  color: #a9dff5;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em
}

.cmc-directory-cta-card h2 {
  margin: 5px 0 0;
  color: #fff;
  font-size: 27px;
  font-weight: 500
}

/* news */

.cmc-news-listing,
.cmc-gallery-listing,
.cmc-video-listing {
  padding: 64px 0 76px;
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%)
}

.cmc-listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px
}

.cmc-listing-head>p {
  max-width: 490px;
  margin: 0;
  color: #657887;
  line-height: 1.8;
  font-size: 15px !important
}

.cmc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.cmc-news-card {
  background: #fff;
  border: 1px solid #e3ebf0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 9px 26px rgba(8, 35, 59, .045);
  transition: .3s ease;
  display: flex;
  flex-direction: column
}

.cmc-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(8, 35, 59, .11)
}

.cmc-news-card-image {
  display: block;
  height: 235px;
  overflow: hidden;
  background: #edf4f7
}

.cmc-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease
}

.cmc-news-card:hover .cmc-news-card-image img {
  transform: scale(1.045)
}

.cmc-news-card-body {
  padding: 21px 21px 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.cmc-news-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #78909f;
  font-size: 14px !important;
  margin-bottom: 10px
}

.cmc-news-meta i {
  color: var(--cmc-sky)
}

.cmc-news-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 400
}

.cmc-news-card h2 a {
  color: var(--cmc-navy);
  text-decoration: none;
  font-size: inherit
}

.cmc-news-card h2 a:hover {
  color: var(--cmc-sky)
}

.cmc-news-card p {
  margin: 0 0 18px;
  color: #687987;
  font-size: 14px !important
}

.cmc-news-read {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cmc-sky);
  font-size: 13px !important;
  font-weight: 500;
  text-decoration: none
}

.cmc-news-read:hover {
  gap: 12px;
  color: var(--cmc-sky-dark)
}

/* gallery */

.cmc-gallery-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 14px
}

.cmc-gallery-modern-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #eaf1f5;
  box-shadow: 0 8px 24px rgba(8, 35, 59, .05)
}

/*
.cmc-gallery-modern-card:nth-child(7n+1) {
  grid-column: span 2;
  grid-row: span 2
}

.cmc-gallery-modern-card:nth-child(7n+4) {
  grid-row: span 2
}*/

.cmc-gallery-modern-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1)
}

.cmc-gallery-modern-card:hover img {
  transform: scale(1.055)
}

.cmc-gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 17px 16px;
  background: linear-gradient(180deg, transparent, rgba(5, 25, 42, .88));
  color: #fff;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(12px);
  opacity: .92;
  transition: .3s ease
}

.cmc-gallery-modern-card:hover .cmc-gallery-overlay {
  transform: none;
  opacity: 1
}

.cmc-gallery-overlay strong {
  font-size: 13px !important;
  line-height: 1.35
}

.cmc-gallery-overlay i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(5px)
}

/* videos */

.cmc-video-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.cmc-video-modern-card {
  background: #fff;
  border: 1px solid #e3ebf0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 9px 26px rgba(8, 35, 59, .05);
  transition: .3s ease
}

.cmc-video-modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(8, 35, 59, .11)
}

.cmc-video-frame {
  aspect-ratio: 16/9;
  background: #071e34
}

.cmc-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block
}

.cmc-video-card-body {
  padding: 17px 18px 19px
}

.cmc-video-card-body>span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--cmc-sky);
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase
}

.cmc-video-card-body h2 {
  margin: 7px 0 0;
  color: var(--cmc-navy);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500
}

/* quote page */

.cmc-quote-main {
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%)
}

.cmc-quote-section {
  padding: 64px 0 78px
}

.cmc-quote-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start
}

.cmc-quote-info {
  padding: 18px 0
}

.cmc-quote-info .cmc-section-title {
  max-width: 560px
}

.cmc-quote-info>p {
  margin: 16px 0 25px;
  color: #617585;
  line-height: 1.85;
  font-size: 16px !important
}

.cmc-quote-benefits {
  display: grid;
  gap: 11px
}

.cmc-quote-benefits>div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  border: 1px solid #e2edf3;
  border-radius: 10px;
  background: #fff
}

.cmc-quote-benefits i {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cmc-sky-soft);
  color: var(--cmc-sky);
  font-size: 20px
}

.cmc-quote-benefits span {
  display: flex;
  flex-direction: column
}

.cmc-quote-benefits strong {
  color: var(--cmc-navy);
  font-size: 15px !important
}

.cmc-quote-benefits small {
  color: #71838f;
  font-size: 14px !important;
  margin-top: 3px;
  line-height: 1.45
}

.cmc-quote-help {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #0b2944;
  border-radius: 10px;
  color: #fff
}

.cmc-quote-help>i {
  font-size: 26px;
  color: #78d1f3
}

.cmc-quote-help div {
  display: flex;
  flex-direction: column
}

.cmc-quote-help strong {
  font-size: 13px !important
}

.cmc-quote-help a {
  color: #a9e2f8;
  font-size: 12px !important;
  text-decoration: none;
  margin-top: 2px
}

.cmc-quote-help a:hover {
  color: #fff
}

.cmc-quote-form-card {
  padding: 32px;
  border: 1px solid #dfeaf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(8, 35, 59, .08)
}

.cmc-quote-form-card .cmc-contact-form-head h2 {
  font-size: 30px
}

.cmc-quote-form-card .cmc-contact-form-head p {
  font-size: 14px !important;
  line-height: 1.7
}

.cmc-modern-form label>span {
  font-size: 13px !important
}

.cmc-modern-form input,
.cmc-modern-form select,
.cmc-modern-form textarea {
  font-size: 14px !important
}

/* Home all-product search */

.cmc-home-search {
  padding: 18px 0 26px;
  background: #fff;
  position: relative;
  z-index: 20
}

.cmc-home-search-card {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 34px;
  align-items: center;
  padding: 24px 28px;
  border: 1px solid #dceaf2;
  border-radius: 10px;
  background: linear-gradient(135deg, #f4fbfe 0%, #fff 60%);
  box-shadow: 0 12px 34px rgba(8, 35, 59, .055)
}

.cmc-home-search-copy h2 {
  margin: 2px 0 6px;
  color: var(--cmc-navy);
  font-size: 24px;
  font-weight: 500
}

.cmc-home-search-copy p {
  margin: 0;
  color: #6b7d89;
  font-size: 13px;
  line-height: 1.6
}

.cmc-home-search-box {
  position: relative
}

.cmc-home-search-input {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px 0 17px;
  border: 1px solid var(--cmc-primary-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 35, 59, .05);
  transition: .2s
}

.cmc-home-search-input:focus-within {
  border-color: var(--cmc-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cmc-primary) 9%, transparent), 0 10px 24px rgba(8, 35, 59, .06)
}

.cmc-home-search-input>i {
  color: var(--cmc-sky);
  font-size: 20px
}

.cmc-home-search-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: var(--cmc-navy);
  height: 100%;
  padding: 0
}

.cmc-home-search-input input::placeholder {
  color: #9aa9b4
}

.cmc-home-search-clear {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--cmc-primary-soft);
  color: #6e8290;
  display: none;
  place-items: center;
  cursor: pointer
}

.cmc-home-search-clear.is-visible {
  display: grid
}

.cmc-home-search-clear:hover {
  background: var(--cmc-sky);
  color: #fff
}

.cmc-home-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 9px);
  z-index: 40;
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 10px;
  box-shadow: 0 24px 55px rgba(8, 35, 59, .16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .18s ease;
  max-height: 540px;
  overflow: auto
}

.cmc-home-search-results.is-open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.cmc-home-search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 9px 10px;
  border-bottom: 1px solid #edf2f5;
  color: #7b8d99
}

.cmc-home-search-status span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em
}

.cmc-home-search-status strong {
  font-size: 12px;
  color: var(--cmc-sky)
}

.cmc-home-search-list {
  display: grid;
  gap: 3px;
  padding-top: 5px
}

.cmc-home-search-result {
  display: none;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit
}

.cmc-home-search-result.is-match {
  display: grid
}

.cmc-home-search-result:hover {
  background: #f3f9fc
}

.cmc-home-search-thumb {
  width: 56px;
  height: 50px;
  border-radius: 8px;
  background: #f4f7f8;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4px
}

.cmc-home-search-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.cmc-home-search-info {
  min-width: 0;
  display: flex;
  flex-direction: column
}

.cmc-home-search-info strong {
  color: var(--cmc-navy);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cmc-home-search-info small {
  color: #78909c;
  font-size: 10px;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.cmc-home-search-result>i {
  color: var(--cmc-sky)
}

.cmc-home-search-empty {
  display: none;
  padding: 27px 14px;
  text-align: center;
  color: #82929d
}

.cmc-home-search-empty.is-visible {
  display: flex;
  flex-direction: column;
  align-items: center
}

.cmc-home-search-empty i {
  font-size: 28px;
  color: #b9c8d1
}

.cmc-home-search-empty strong {
  margin-top: 6px;
  color: var(--cmc-navy);
  font-size: 13px
}

.cmc-home-search-empty span {
  margin-top: 3px;
  font-size: 11px
}

.cmc-home-search-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 7px;
  padding: 11px;
  border-radius: 10px;
  background: var(--cmc-primary-soft);
  color: var(--cmc-sky);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500
}

.cmc-home-search-all:hover {
  background: var(--cmc-sky);
  color: #fff
}

.cmc-home-search-ar .cmc-home-search-input {
  padding: 0 17px 0 13px
}

.cmc-rtl .cmc-home-search-result {
  grid-template-columns: 56px 1fr auto
}

.cmc-rtl .cmc-home-search-info {
  text-align: right
}

/* keep light-blue identity across older remnants */

.cmc-home-page [style*="#d8242b"],
.cmc-home-page [style*="#e31d2f"] {
  color: var(--cmc-sky) !important
}

@media(max-width:1100px) {
  .cmc-brand-directory-grid {
    grid-template-columns: repeat(4, 1fr)
  }
  .cmc-news-grid,
  .cmc-video-modern-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-gallery-modern-grid {
    grid-template-columns: repeat(3, 1fr)
  }
  .cmc-quote-grid {
    gap: 34px
  }
}

@media(max-width:991px) {
  .cmc-directory-intro-grid,
  .cmc-quote-grid,
  .cmc-home-search-card {
    grid-template-columns: 1fr;
    gap: 24px
  }
  .cmc-directory-intro-grid>div:last-child {
    grid-template-columns: 1fr auto
  }
  .cmc-home-search {
    padding-top: 14px
  }
  .cmc-home-search-card {
    padding: 22px
  }
  .cmc-brand-directory-grid {
    grid-template-columns: repeat(3, 1fr)
  }
  .cmc-gallery-modern-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-gallery-modern-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto
  }
  .cmc-gallery-modern-card:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2
  }
}

@media(max-width:767px) {
  body.cmc-inner-page {
    font-size: 15px
  }
  .cmc-inner-page p,
  .cmc-inner-page li,
  .cmc-inner-page a,
  .cmc-inner-page span,
  .cmc-inner-page label,
  .cmc-inner-page input,
  .cmc-inner-page textarea,
  .cmc-inner-page select {
    font-size: 14px
  }
  .cmc-inner-page .cmc-inner-hero h1 {
    font-size: 30px !important
  }
  .cmc-inner-page .cmc-inner-hero p {
    font-size: 14.5px !important;
    line-height: 1.75 !important
  }
  .cmc-inner-page .cmc-section-title {
    font-size: 28px !important
  }
  .cmc-directory-intro {
    padding: 42px 0 18px
  }
  .cmc-directory-intro-grid {
    gap: 18px
  }
  .cmc-directory-intro-grid>div:last-child {
    grid-template-columns: 1fr
  }
  .cmc-directory-count {
    justify-self: start
  }
  .cmc-directory-section {
    padding: 16px 0 48px
  }
  .cmc-brand-directory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }
  .cmc-brand-directory-card {
    min-height: 128px;
    padding: 16px 10px 12px
  }
  .cmc-brand-directory-logo {
    height: 68px
  }
  .cmc-directory-cta {
    padding-bottom: 48px
  }
  .cmc-directory-cta-card {
    padding: 23px 20px;
    flex-direction: column;
    align-items: flex-start
  }
  .cmc-directory-cta-card h2 {
    font-size: 22px
  }
  .cmc-news-listing,
  .cmc-gallery-listing,
  .cmc-video-listing {
    padding: 42px 0 52px
  }
  .cmc-listing-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px
  }
  .cmc-listing-head>p {
    font-size: 14px !important
  }
  .cmc-news-grid,
  .cmc-video-modern-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }
  .cmc-news-card-image {
    height: 220px
  }
  .cmc-news-card h2 {
    font-size: 18px
  }
  .cmc-news-card p {
    font-size: 14px !important
  }
  .cmc-gallery-modern-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px
  }
  .cmc-gallery-modern-card:nth-child(n) {
    grid-column: auto;
    grid-row: auto
  }
  .cmc-gallery-overlay {
    transform: none;
    opacity: 1
  }
  .cmc-video-card-body h2 {
    font-size: 17px
  }
  .cmc-quote-section {
    padding: 42px 0 54px
  }
  .cmc-quote-info {
    padding: 0
  }
  .cmc-quote-info>p {
    font-size: 14.5px !important
  }
  .cmc-quote-form-card {
    padding: 22px 16px
  }
  .cmc-quote-form-card .cmc-contact-form-head h2 {
    font-size: 26px
  }
  .cmc-quote-benefits strong {
    font-size: 13px !important
  }
  .cmc-quote-benefits small {
    font-size: 11px !important
  }
  .cmc-home-search {
    padding: 12px 0 20px
  }
  .cmc-home-search-card {
    padding: 18px 14px;
    gap: 17px
  }
  .cmc-home-search-copy h2 {
    font-size: 19px
  }
  .cmc-home-search-copy p {
    font-size: 12px
  }
  .cmc-home-search-input {
    height: 54px
  }
  .cmc-home-search-input input {
    font-size: 14px
  }
  .cmc-home-search-results {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 86px;
    max-height: calc(100vh - 105px)
  }
  .cmc-home-search-result {
    grid-template-columns: 50px 1fr auto
  }
  .cmc-home-search-thumb {
    width: 50px;
    height: 48px
  }
  .cmc-rtl.cmc-inner-page p,
  .cmc-rtl.cmc-inner-page li,
  .cmc-rtl.cmc-inner-page a,
  .cmc-rtl.cmc-inner-page span,
  .cmc-rtl.cmc-inner-page label,
  .cmc-rtl.cmc-inner-page input,
  .cmc-rtl.cmc-inner-page textarea,
  .cmc-rtl.cmc-inner-page select {
    font-size: 14.5px
  }
}

/* checkpoint 09 refinements */

.cmc-brands {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: linear-gradient(135deg, #eff4f7 0%, #f8fafb 100%) !important
}

.cmc-brands>.cmc-brands-head,
.cmc-brands>.cmc-brands-grid,
.cmc-brands>.cmc-brands-more-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto
}

.cmc-brands>.cmc-brands-more-wrap {
  margin-top: 32px
}

.cmc-brand-card,
.cmc-brands-more,
.cmc-btn,
.cmc-hero-slide {
  border-radius: 10px !important
}

.cmc-arrow,
.cmc-products-arrow {
  border-radius: 50% !important
}

.cmc-inner-page p,
.cmc-inner-page li {
  font-size: 15px !important
}

.cmc-rtl.cmc-inner-page p,
.cmc-rtl.cmc-inner-page li {
  font-size: 16px !important;
  line-height: 1.9
}

/* News detail follows the new directory visual language */

.cmc-article-main {
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%)
}

.cmc-article-section {
  padding: 58px 0 74px
}

.cmc-article-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: start
}

.cmc-article-card {
  padding: 31px;
  border: 1px solid #e1ebf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 59, .055)
}

.cmc-article-card .cmc-news-richtext {
  font-size: 16px !important;
  line-height: 1.95;
  color: #526b7b
}

.cmc-article-card .cmc-news-richtext p,
.cmc-article-card .cmc-news-richtext li {
  font-size: 16px !important;
  line-height: 1.95
}

.cmc-article-media {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 98px
}

.cmc-article-media>a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #eef4f7;
  box-shadow: 0 10px 28px rgba(8, 35, 59, .07)
}

.cmc-article-media>a img {
  width: 100%;
  display: block;
  max-height: 430px;
  object-fit: cover
}

.cmc-article-side-cta {
  display: flex;
  gap: 13px;
  padding: 18px;
  border-radius: 10px;
  background: #0b2944;
  color: #fff
}

.cmc-article-side-cta>i {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cmc-primary);
  color: #fff;
  font-size: 20px
}

.cmc-article-side-cta div {
  display: flex;
  flex-direction: column
}

.cmc-article-side-cta strong {
  font-size: 14px !important
}

.cmc-article-side-cta span {
  font-size: 12px !important;
  color: #c7d9e5;
  margin-top: 3px;
  line-height: 1.55
}

.cmc-article-side-cta a {
  font-size: 12px !important;
  color: var(--cmc-primary);
  text-decoration: none;
  font-weight: 500;
  margin-top: 7px
}

.cmc-article-side-cta a:hover {
  color: #fff
}

.cmc-article-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4d8e5 !important;
  font-size: 13px !important
}

.cmc-news-gallery-head {
  margin: 45px 0 18px
}

.cmc-news-gallery-head h2 {
  margin: 3px 0 0;
  color: var(--cmc-navy);
  font-size: 27px
}

.cmc-gallery-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.cmc-gallery-detail-item {
  position: relative;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  background: #edf3f6
}

.cmc-gallery-detail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.cmc-gallery-detail-item:hover img {
  transform: scale(1.05)
}

.cmc-gallery-detail-item span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 41, 68, .78);
  color: #fff
}

.cmc-rtl .cmc-article-date {
  direction: rtl
}

.cmc-rtl .cmc-gallery-detail-item span {
  right: auto;
  left: 10px
}

@media(max-width:991px) {
  .cmc-article-layout {
    grid-template-columns: 1fr
  }
  .cmc-article-media {
    position: static;
    grid-template-columns: 1fr 1fr
  }
  .cmc-article-side-cta {
    grid-column: 1/-1
  }
  .cmc-gallery-detail-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:767px) {
  .cmc-brands>.cmc-brands-head,
  .cmc-brands>.cmc-brands-grid,
  .cmc-brands>.cmc-brands-more-wrap {
    width: calc(100% - 28px)
  }
  .cmc-article-section {
    padding: 40px 0 52px
  }
  .cmc-article-card {
    padding: 21px 17px
  }
  .cmc-article-card .cmc-news-richtext,
  .cmc-article-card .cmc-news-richtext p,
  .cmc-article-card .cmc-news-richtext li {
    font-size: 15px !important
  }
  .cmc-article-media {
    grid-template-columns: 1fr
  }
  .cmc-gallery-detail-grid {
    grid-template-columns: repeat(2, 1fr)
  }
  .cmc-gallery-detail-item {
    height: 145px
  }
}

/* radius policy */

.cmc-arrow,
.cmc-products-arrow,
.swiper-button-next,
.swiper-button-prev,
.cmc-gallery-overlay i,
.cmc-article-side-cta>i,
.cmc-gallery-detail-item span,
.cmc-home-search-clear {
  border-radius: 50% !important
}

/* checkpoint 10: final polish - smaller titles, readable type, brand numbering removed */

.cmc-inner-hero-content h1 {
  font-size: clamp(2rem, 3.3vw, 3.3rem) !important;
  line-height: 1.16 !important
}

.cmc-section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.75rem) !important;
  line-height: 1.18 !important
}

.cmc-directory-cta-card h2,
.cmc-contact-form-head h2,
.cmc-pd-summary h1,
.cmc-news-hero h1,
.cmc-gallery-hero h1,
.cmc-videos-hero h1,
.cmc-quote-hero h1 {
  font-size: 24px !important;
  line-height: 1.2 !important
}

html[lang="ar"] body,
.cmc-rtl {
  font-size: 17px
}

.cmc-rtl p,
.cmc-rtl li,
.cmc-rtl a,
.cmc-rtl span,
.cmc-rtl label,
.cmc-rtl input,
.cmc-rtl textarea,
.cmc-rtl select {

}
/*
html[lang="ar"] .cmc-rtl p {
  font-size: 14px;
}
*/
.cmc-brand-directory-index {
  display: none !important
}

.cmc-brand-directory-card {
  padding-top: 24px !important
}

/* checkpoint 11: final requested hero image background */

.cmc-inner-hero {
 /* background: linear-gradient(90deg, rgba(8, 29, 51, .78) 0%, rgba(8, 29, 51, .62) 42%, rgba(8, 29, 51, .52) 100%), url('../images/why-choose-cmc-premium.webp') center center/cover no-repeat !important;*/
}

.cmc-inner-hero:before {
  display: none !important
}

.cmc-inner-hero:after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0)) !important;
  opacity: .55
}

.cmc-inner-hero .cmc-inner-kicker {
  color: #cdeffd !important
}

.cmc-inner-hero p {
  color: #eef7fc !important;
  max-width: 760px
}

.cmc-clean-breadcrumb a,
.cmc-clean-breadcrumb span,
.cmc-clean-breadcrumb i {
  color: #fff !important
}

.cmc-inner-page .cmc-inner-hero h1 {
  font-size: clamp(31px, 3.15vw, 46px) !important;
  line-height: 1.14 !important
}

.cmc-inner-page .cmc-section-title {
  font-size: clamp(1.7rem, 2.15vw, 2.35rem) !important;
  line-height: 1.18 !important
}

.cmc-rtl.cmc-inner-page .cmc-section-title {
  font-size: 24px !important;
}

@media(max-width:767px) {
  .cmc-inner-hero {
    background-position: center center !important
  }
  .cmc-inner-page .cmc-inner-hero h1 {
    font-size: 28px !important
  }
}

/* checkpoint 12: final frontend lock - unified hero, typography, responsive */

@font-face {
  font-family: "CMC Jost";
  src: url('jost.woff2') format('woff2');
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "CMC Arabic Regular";
  src: url('GE_SS_TWO_LIGHT.OTF') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "CMC Arabic Medium";
  src: url('GE_SS_Two_Medium.woff') format('woff');
  font-weight: 500 900;
  font-style: normal;
  font-display: swap
}

body {
  font-family: "Outfit", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.65
}

body.cmc-rtl,
.cmc-rtl {
  font-family: "CMC Arabic Regular", "CMC Arabic Medium", Tahoma, Arial, sans-serif !important;
  font-size: 16.5px;
  line-height: 1.85
}

.cmc-rtl h1,
.cmc-rtl h2,
.cmc-rtl h3,
.cmc-rtl h4,
.cmc-rtl h5,
.cmc-rtl h6,
.cmc-rtl strong,
.cmc-rtl .cmc-inner-kicker,
.cmc-rtl .cmc-eyebrow,
.cmc-rtl button {
  font-family: "CMC Arabic Medium", "CMC Arabic Regular", Tahoma, Arial, sans-serif !important
}

.cmc-inner-hero {
  padding: 30px 0 !important;
  display: flex;
  align-items: center;
  background-position: center 48% !important
}

.cmc-inner-hero-content {
  max-width: 760px !important
}

.cmc-inner-page .cmc-inner-hero h1 {
  font-size: clamp(26px, 3vw, 24px) !important;
  line-height: 1.16 !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;
}

.cmc-inner-page .cmc-inner-hero p {
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  margin-top: 13px !important;
  max-width: 680px !important;
  display: none;
}

.cmc-rtl.cmc-inner-page .cmc-inner-hero h1 {
  letter-spacing: 0 !important;
font-size: 24px !important;
  line-height: 1.5 !important;
}

.cmc-rtl.cmc-inner-page .cmc-inner-hero p {
  font-size: 16px !important;
  line-height: 1.9 !important
}

.cmc-inner-kicker {
  font-size: 10.5px !important;
  letter-spacing: .13em !important;
  margin-bottom: 10px !important
}

.cmc-clean-breadcrumb {
  font-size: 12px !important;
  margin-top: 20px !important;
  gap: 9px !important
}

.cmc-section-title {
  font-size: clamp(27px, 2.2vw, 36px) !important;
  line-height: 1.2 !important
}

.cmc-section-lead,
.cmc-directory-intro p,
.cmc-contact-intro {
  font-size: 15px !important;
  line-height: 1.75 !important
}

.cmc-rtl .cmc-section-lead,
.cmc-rtl .cmc-directory-intro p,
.cmc-rtl .cmc-contact-intro {
  font-size: 16px !important;
  line-height: 1.9 !important
}

.cmc-catalog {
  padding: 52px 0 74px !important
}

.cmc-catalog-intro {
  margin-bottom: 27px !important
}

.cmc-catalog-intro h2 {
  font-size: clamp(27px, 2.35vw, 26px) !important;
  line-height: 1.2 !important
}

.cmc-catalog-intro p {
  font-size: 14.5px !important;
  line-height: 1.75 !important
}

.cmc-rtl .cmc-catalog-intro p {
  font-size: 15.5px !important;
  line-height: 1.9 !important
}

.cmc-catalog-card-body h3 {
  font-size: 16.5px !important;
  line-height: 1.4 !important
}

.cmc-catalog-card-body p {
  font-size: 13px !important;
  line-height: 1.7 !important
}

.cmc-rtl .cmc-catalog-card-body p {
  font-size: 14px !important;
  line-height: 1.85 !important
}

.cmc-filter-links a,
.cmc-brand-filter a {
  font-size: 13px !important
}

.cmc-catalog-search input[type="search"] {
  font-size: 14px !important
}

.cmc-catalog-search button,
.cmc-filter-toggle {

}

.cmc-legal-page {
  padding: 54px 0 70px !important
}

.cmc-legal-card {
  max-width: 980px !important;
  padding: 38px 42px !important
}

.cmc-legal-card h2 {
  font-size: 22px !important;
  line-height: 1.35 !important;
  margin: 27px 0 10px !important
}

.cmc-legal-card p,
.cmc-legal-card li {
  font-size: 15.5px !important;
  line-height: 1.85 !important
}

.cmc-rtl .cmc-legal-card h2 {
  font-size: 22px !important;
  line-height: 1.55 !important
}

.cmc-rtl .cmc-legal-card p,
.cmc-rtl .cmc-legal-card li {
  font-size: 16.5px !important;
  line-height: 2 !important
}

.cmc-sitemap-group h3 {
  font-size: 18px !important;
  line-height: 1.4 !important
}

.cmc-sitemap-group a {
  font-size: 14.5px !important;
  line-height: 1.65 !important
}

.cmc-rtl .cmc-sitemap-group a {
  font-size: 15.5px !important;
  line-height: 1.9 !important
}

.cmc-site-footer {
  font-size: 14px !important
}

.cmc-footer-links a,
.cmc-footer-contact a,
.cmc-footer-contact span {
  line-height: 1.65 !important
}

.cmc-footer-title {
  font-size: 15px !important
}

.cmc-rtl .cmc-footer-links a,
.cmc-rtl .cmc-footer-contact a,
.cmc-rtl .cmc-footer-contact span {
  font-size: 14.5px !important;
  line-height: 1.85 !important
}

.cmc-rtl .cmc-footer-title {
  font-size: 16px !important
}

@media(max-width:991px) {

  .cmc-inner-page .cmc-inner-hero h1 {
    font-size: 36px !important
  }
  .cmc-rtl.cmc-inner-page .cmc-inner-hero h1 {
    font-size: 34px !important
  }
  .cmc-catalog {
    padding: 44px 0 60px !important
  }
  .cmc-legal-card {
    padding: 32px 30px !important
  }
}

@media(max-width:767px) {
  .cmc-shell {
    width: calc(100% - 28px) !important
  }
  .cmc-inner-hero {
    padding: 20px 0 !important;
    background-position: 58% center !important
  }
  .cmc-inner-page .cmc-inner-hero h1 {
    font-size: 27px !important;
    line-height: 1.2 !important
  }
  .cmc-rtl.cmc-inner-page .cmc-inner-hero h1 {
    font-size: 19px !important;
    line-height: 1.42 !important
  }
  .cmc-inner-page .cmc-inner-hero p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-top: 9px !important
  }
  .cmc-rtl.cmc-inner-page .cmc-inner-hero p {
    font-size: 15px !important;
    line-height: 1.9 !important
  }
  .cmc-inner-kicker {
    font-size: 9.5px !important;
    margin-bottom: 7px !important
  }
  .cmc-clean-breadcrumb {
    font-size: 11px !important;
    margin-top: 14px !important
  }
  .cmc-catalog {
    padding: 36px 0 52px !important
  }
  .cmc-catalog-intro {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    align-items: start !important
  }
  .cmc-catalog-intro h2 {
    font-size: 19px !important
  }
  .cmc-catalog-intro p {
    font-size: 13.5px !important
  }
  .cmc-rtl .cmc-catalog-intro p {
    font-size: 14.5px !important
  }
  .cmc-catalog-count {
    min-width: 68px !important;
    padding: 9px 9px !important
  }
  .cmc-catalog-count strong {
    font-size: 20px !important
  }
  .cmc-catalog-toolbar {
    grid-template-columns: minmax(0, 1fr) 42px !important;
    gap: 7px !important
  }
  .cmc-catalog-search button {
    height: 40px !important;
    padding: 0 10px !important
  }
  .cmc-filter-toggle {
    width: 42px !important;
    height: 40px !important;
    padding: 0 !important;
    justify-content: center !important
  }
  .cmc-catalog-image {
    height: 245px !important
  }
  .cmc-catalog-card-body {
    padding: 15px !important
  }
  .cmc-catalog-card-body h3 {
    font-size: 16px !important
  }
  .cmc-catalog-card-body p {
    font-size: 13px !important
  }
  .cmc-legal-page {
    padding: 34px 0 46px !important
  }
  .cmc-legal-card {
    padding: 24px 19px !important
  }
  .cmc-legal-card h2 {
    font-size: 20px !important;
    margin: 23px 0 8px !important
  }
  .cmc-legal-card p,
  .cmc-legal-card li {
    font-size: 14.5px !important;
    line-height: 1.8 !important
  }
  .cmc-rtl .cmc-legal-card h2 {
    font-size: 20px !important
  }
  .cmc-rtl .cmc-legal-card p,
  .cmc-rtl .cmc-legal-card li {
    font-size: 15.5px !important;
    line-height: 1.95 !important
  }
  .cmc-sitemap-grid {
    grid-template-columns: 1fr !important
  }
  .cmc-sitemap-group {
    padding: 17px !important
  }
}

@media(max-width:420px) {
  .cmc-catalog-intro {
    grid-template-columns: 1fr !important
  }
  .cmc-catalog-count {
    justify-self: start !important
  }
  .cmc-catalog-image {
    height: 220px !important
  }
}

/* Dynamic theme support controlled from admin */

.cmc-theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid #e4e9ed;
  border-radius: 50% !important;
  background: #fff;
  color: var(--cmc-navy);
  display: grid;
  place-items: center;
  transition: .25s ease
}

.cmc-theme-toggle:hover {
  background: var(--cmc-primary);
  color: #fff;
  border-color: var(--cmc-primary)
}

.cmc-theme-toggle i {
  font-size: 16px
}

html[data-theme="dark"] body {
  background: #0d151d;
  color: #e9f2f7
}



html[data-theme="dark"] .cmc-site-header {
  background: rgba(13, 21, 29, .96) !important;
  border-color: rgba(255, 255, 255, .08) !important
}

html[data-theme="dark"] .cmc-main-nav>li>a,
html[data-theme="dark"] .cmc-lang {
  color: #edf6fb !important
}


html[data-theme="dark"] .cmc-submenu {
  background: #101b24 !important;
  border-color: rgba(255, 255, 255, .08) !important
}

html[data-theme="dark"] .cmc-theme-toggle {
  background: #13232f;
  color: #fff;
  border-color: rgba(255, 255, 255, .12)
}

html[data-theme="dark"] .cmc-home-about,
html[data-theme="dark"] .cmc-why-section,
html[data-theme="dark"] .cmc-contact-main,
html[data-theme="dark"] .cmc-directory-main,
html[data-theme="dark"] .cmc-article-main,
html[data-theme="dark"] .cmc-gallery-detail,
html[data-theme="dark"] .cmc-pd-main {
  background: #0d151d !important
}

html[data-theme="dark"] .cmc-products-section,
html[data-theme="dark"] .cmc-brands,
html[data-theme="dark"] .cmc-directory-section,
html[data-theme="dark"] .cmc-contact-form-section {
  background: #111d27 !important
}

html[data-theme="dark"] .cmc-product-card,
html[data-theme="dark"] .cmc-brand-card,
html[data-theme="dark"] .cmc-why-card,
html[data-theme="dark"] .cmc-contact-card,
html[data-theme="dark"] .cmc-contact-form-card,
html[data-theme="dark"] .cmc-brand-directory-card,
html[data-theme="dark"] .cmc-news-card,
html[data-theme="dark"] .cmc-article-card,
html[data-theme="dark"] .cmc-pd-panel,
html[data-theme="dark"] .cmc-related-card,
html[data-theme="dark"] .cmc-legal-card,
html[data-theme="dark"] .cmc-sitemap-group {
  background: #14222d !important;
  border-color: rgba(255, 255, 255, .08) !important;
  color: #e8f2f8 !important
}

html[data-theme="dark"] .cmc-section-title,
html[data-theme="dark"] .cmc-product-body h3,
html[data-theme="dark"] .cmc-why-card strong,
html[data-theme="dark"] .cmc-brand-directory-card strong,
html[data-theme="dark"] .cmc-news-card h2 a,
html[data-theme="dark"] .cmc-pd-summary h1 {
  color: #f5fbff !important
}

html[data-theme="dark"] .cmc-about-text,
html[data-theme="dark"] .cmc-section-lead,
html[data-theme="dark"] .cmc-product-desc,
html[data-theme="dark"] .cmc-why-copy p,
html[data-theme="dark"] .cmc-why-card span,
html[data-theme="dark"] .cmc-news-card p,
html[data-theme="dark"] .cmc-contact-intro {
  color: #b7c8d4 !important
}

html[data-theme="dark"] .cmc-modern-form input,
html[data-theme="dark"] .cmc-modern-form textarea,
html[data-theme="dark"] .cmc-modern-form select {
  background: #0f1b24 !important;
  color: #edf6fb !important;
  border-color: rgba(255, 255, 255, .12) !important
}

html[data-theme="dark"] .cmc-logo img {
  filter: brightness(0) invert(1);
}

@media(max-width:991px) {

}

/* ADMIN V2 — semantic theme tokens / complete Light-Dark support */

:root {
  --cmc-page-bg: #ffffff;
  --cmc-surface: #ffffff;
  --cmc-surface-2: #f6f9fb;
  --cmc-card-bg: #ffffff;
  --cmc-card-bg-hover: #f8fbfd;
  --cmc-border: #e4ebf0;
  --cmc-heading: var(--cmc-navy, #0B2E59);
  --cmc-body-text: var(--cmc-text, #1E2A39);
  --cmc-muted-text: #677b89;
  --cmc-primary-soft: color-mix(in srgb, var(--cmc-primary, #35A9E0) 10%, #fff);
  --cmc-primary-soft-2: color-mix(in srgb, var(--cmc-primary, #35A9E0) 18%, #fff);
  --cmc-primary-border: color-mix(in srgb, var(--cmc-primary, #35A9E0) 34%, #fff);
  --cmc-primary-dark: color-mix(in srgb, var(--cmc-primary, #35A9E0) 78%, #000);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --cmc-page-bg: #0b131a;
  --cmc-surface: #101b24;
  --cmc-surface-2: #12212c;
  --cmc-card-bg: #14242f;
  --cmc-card-bg-hover: #192d3a;
  --cmc-border: rgba(255, 255, 255, .10);
  --cmc-heading: #f4f9fc;
  --cmc-body-text: #e5eef4;
  --cmc-muted-text: #adbfca;
  --cmc-primary-soft: color-mix(in srgb, var(--cmc-primary, #35A9E0) 18%, #101b24);
  --cmc-primary-soft-2: color-mix(in srgb, var(--cmc-primary, #35A9E0) 26%, #101b24);
  --cmc-primary-border: color-mix(in srgb, var(--cmc-primary, #35A9E0) 52%, #101b24);
}

html,
body {
  background: var(--cmc-page-bg) !important;
  color: var(--cmc-body-text)
}

.cmc-site-header,
.cmc-submenu {
  background: var(--cmc-surface) !important
}

.cmc-logo,
.cmc-footer-logo {
  background: transparent !important;
  padding: 0 !important;
  overflow: visible !important
}

.cmc-logo img,
.cmc-footer-logo img {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  object-fit: contain !important;
  display: block !important
}

.cmc-products-section,
.cmc-brands,
.cmc-directory-section,
.cmc-contact-form-section,
.cmc-home-search,
.cmc-quote-main {
  background: var(--cmc-surface-2) !important
}

.cmc-home-about,
.cmc-why-section,
.cmc-contact-main,
.cmc-directory-main,
.cmc-article-main,
.cmc-gallery-detail,
.cmc-pd-main,
.cmc-legal-main {
  background: var(--cmc-page-bg) !important
}

.cmc-product-card,
.cmc-brand-card,
.cmc-why-card,
.cmc-contact-card,
.cmc-contact-form-card,
/*.cmc-contact-info-panel,*/
.cmc-brand-directory-card,
.cmc-news-card,
.cmc-article-card,
.cmc-pd-panel,
.cmc-related-card,
.cmc-legal-card,
.cmc-sitemap-group,
.cmc-home-search-card,
.cmc-home-search-results,
.cmc-quote-benefits>div {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important
}

.cmc-product-card:hover,
.cmc-brand-card:hover,
.cmc-brand-directory-card:hover,
.cmc-news-card:hover,
.cmc-related-card:hover {
  background: var(--cmc-card-bg-hover) !important;
  border-color: var(--cmc-primary-border) !important
}

.cmc-section-title,
.cmc-product-body h3,
.cmc-why-card strong,
.cmc-brand-directory-card strong,
.cmc-news-card h2 a,
.cmc-pd-summary h1,
.cmc-home-search-copy h2,
.cmc-home-search-info strong,
.cmc-home-search-empty strong {
  color: var(--cmc-heading) !important
}

.cmc-about-text,
.cmc-section-lead,
.cmc-product-desc,
.cmc-why-copy p,
.cmc-why-card span,
.cmc-news-card p,
.cmc-contact-intro,
.cmc-home-search-copy p,
.cmc-home-search-info small {
  color: var(--cmc-muted-text) !important
}

.cmc-home-search-input,
.cmc-modern-form input,
.cmc-modern-form textarea,
.cmc-modern-form select {
  background: var(--cmc-card-bg) !important;
  color: var(--cmc-body-text) !important;
  border-color: var(--cmc-border) !important
}

.cmc-home-search-input:focus-within,
.cmc-modern-form input:focus,
.cmc-modern-form textarea:focus,
.cmc-modern-form select:focus {
  border-color: var(--cmc-primary) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--cmc-primary) 12%, transparent) !important
}

.cmc-home-search-clear {
  background: var(--cmc-primary-soft) !important;
  color: var(--cmc-primary-dark) !important
}

.cmc-home-search-result:hover,
.cmc-home-search-all {
  background: var(--cmc-primary-soft) !important
}

.cmc-home-search-all,
.cmc-home-search-status strong,
.cmc-home-search-result>i,
.cmc-home-search-input>i,
.cmc-eyebrow,
.cmc-red-link,
.cmc-news-read,
.cmc-news-meta i,
.cmc-video-card-body>span {
  color: var(--cmc-primary) !important
}

.cmc-contact-icon,
.cmc-quote-benefits i {
  background: var(--cmc-primary-soft) !important;
  color: var(--cmc-primary) !important
}

.cmc-outline-btn {
  border-color: var(--cmc-primary) !important;
  color: var(--cmc-primary) !important;
  background: var(--cmc-card-bg) !important
}

.cmc-outline-btn:hover,
.cmc-solid-btn,
.cmc-quote-btn {
  background: var(--cmc-primary) !important;
  border-color: var(--cmc-primary) !important;
  color: #fff !important
}

.cmc-solid-btn:hover,
.cmc-quote-btn:hover {
  background: var(--cmc-primary-dark) !important;
  border-color: var(--cmc-primary-dark) !important
}

.cmc-products-arrow:hover,
.cmc-theme-toggle:hover {
  background: var(--cmc-primary) !important;
  border-color: var(--cmc-primary) !important;
  color: #fff !important
}

html[data-theme="dark"] .cmc-footer-about,
html[data-theme="dark"] .cmc-footer-links a,
html[data-theme="dark"] .cmc-footer-contact a,
html[data-theme="dark"] .cmc-footer-contact span {
  color: #d8e5ec !important
}

html[data-theme="dark"] .cmc-site-footer {
  border-top-color: rgba(255, 255, 255, .08) !important
}

/* Remove visible white gutters from showcase/media areas. */

.cmc-showcase,
.cmc-hero-viewport,
.cmc-hero-track,
.cmc-hero-slide,
.cmc-hero-image {
  padding-left: 0 !important;
  padding-right: 0 !important
}

.cmc-hero-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  background: transparent !important
}

/* ADMIN V2 — dark mode gap cleanup */

html[data-theme="dark"] .cmc-about-strengths,
html[data-theme="dark"] .cmc-contact-top,
html[data-theme="dark"] .cmc-contact-form-section,
html[data-theme="dark"] .cmc-pd-content-grid,
html[data-theme="dark"] .cmc-related-section,
html[data-theme="dark"] .cmc-empty-state,
html[data-theme="dark"] .cmc-quote-section,
html[data-theme="dark"] .cmc-directory-intro,
html[data-theme="dark"] .cmc-directory-cta,
html[data-theme="dark"] .cmc-home-search {
  background: var(--cmc-page-bg) !important
}

html[data-theme="dark"] .cmc-strength-card,
html[data-theme="dark"] .cmc-branch-item,
html[data-theme="dark"] .cmc-pd-description-card,
html[data-theme="dark"] .cmc-pd-side-card,
html[data-theme="dark"] .cmc-related-card,
html[data-theme="dark"] .cmc-empty-card,
html[data-theme="dark"] .cmc-pd-meta>div,
html[data-theme="dark"] .cmc-pd-files>a,
html[data-theme="dark"] .cmc-quote-benefits>div,
html[data-theme="dark"] .cmc-branch-item i {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important
}

/*
html[data-theme="dark"] .cmc-related-image,
html[data-theme="dark"] .cmc-home-search-thumb {
  background: var(--cmc-surface-2) !important
}*/

html[data-theme="dark"] .cmc-rich-content,
html[data-theme="dark"] .cmc-pd-files small,
html[data-theme="dark"] .cmc-pd-muted,
html[data-theme="dark"] .cmc-quote-info>p,
html[data-theme="dark"] .cmc-quote-benefits small,
html[data-theme="dark"] .cmc-branch-item span {
  color: var(--cmc-muted-text) !important
}

html[data-theme="dark"] .cmc-pd-description-card h3,
html[data-theme="dark"] .cmc-pd-side-card h3,
html[data-theme="dark"] .cmc-pd-meta strong,
html[data-theme="dark"] .cmc-pd-meta a,
html[data-theme="dark"] .cmc-pd-files strong,
html[data-theme="dark"] .cmc-related-card h3 a,
html[data-theme="dark"] .cmc-strength-card strong,
html[data-theme="dark"] .cmc-branch-item strong {
  color: var(--cmc-heading) !important
}

html[data-theme="dark"] .cmc-about-experience {
  border-color: var(--cmc-page-bg) !important
}

html[data-theme="dark"] .breadcrumb-section,
html[data-theme="dark"] .section-padding {
  background: var(--cmc-page-bg) !important
}

/* FINAL V4 — dark-mode visibility, header/submenus, footer and layout polish */

:root {
  --cmc-footer-bg: #071c2c;
  --cmc-footer-bg-2: #0a263c;
}

/* Desktop header: cleaner balance and stable alignment */

@media(min-width:992px) {
  .cmc-site-header .cmc-shell {
    width: min(calc(100% - 34px), 1280px) !important
  }
  .cmc-header-row {
    height: 72px !important;
    gap: 18px !important
  }
  .cmc-logo {
    min-width: 0 !important
  }
  .cmc-logo img {
    object-fit: contain !important
  }
  .cmc-nav-wrap {
    gap: 16px !important;
    min-width: 0 !important
  }
  .cmc-main-nav {
    gap: 15px !important
  }
  .cmc-main-nav>li>a {
    padding: 25px 0 23px !important;
    font-size: 13.5px !important;
    line-height: 1.15 !important
  }
  .cmc-header-actions {
    gap: 18px !important;
    flex: 0 0 auto !important
  }
  .cmc-lang {
    font-size: 16px !important
  }
  .cmc-quote-btn {
    min-height: 40px !important;
    padding: 0 16px !important;
  }
  .cmc-theme-toggle {
    width: 36px !important;
    height: 36px !important
  }
  .cmc-submenu {
    top: calc(100% - 4px) !important;
    min-width: 250px !important;
    padding: 8px !important
  }
  .cmc-submenu a {
    padding: 10px 12px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

/* Submenus stay readable in both themes */

.cmc-submenu a {
  color: var(--cmc-body-text) !important;
  background: transparent !important
}

.cmc-submenu a:hover,
.cmc-submenu a:focus {
  background: var(--cmc-primary-soft) !important;
  color: var(--cmc-primary) !important
}

html[data-theme="dark"] .cmc-submenu {
  background: #101d27 !important;
  border-color: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .42) !important;
}

html[data-theme="dark"] .cmc-submenu a {
  color: #eef7fc !important
}

html[data-theme="dark"] .cmc-submenu a:hover,
html[data-theme="dark"] .cmc-submenu a:focus {
  background: var(--cmc-primary-soft) !important;
  color: #fff !important
}

html[data-theme="dark"] .cmc-nav-drop>a:after {
  color: #a9bdc9 !important
}

html[data-theme="dark"] .cmc-main-nav>li>a {
  color: #eaf4f9 !important
}

html[data-theme="dark"] .cmc-main-nav>li.active>a,
html[data-theme="dark"] .cmc-main-nav>li>a:hover {
  color: var(--cmc-primary) !important
}

/* Dark mode: no accidental white bands/surfaces */

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: var(--cmc-page-bg) !important;
  color: var(--cmc-body-text) !important
}

html[data-theme="dark"] main,
html[data-theme="dark"] .cmc-showcase,
html[data-theme="dark"] .cmc-home-search,
html[data-theme="dark"] .cmc-home-about,
html[data-theme="dark"] .cmc-products-section,
html[data-theme="dark"] .cmc-why-section,
html[data-theme="dark"] .cmc-brands,
html[data-theme="dark"] .cmc-directory-main,
html[data-theme="dark"] .cmc-directory-intro,
html[data-theme="dark"] .cmc-directory-section,
html[data-theme="dark"] .cmc-directory-cta,
html[data-theme="dark"] .cmc-contact-main,
html[data-theme="dark"] .cmc-contact-top,
html[data-theme="dark"] .cmc-contact-form-section,
html[data-theme="dark"] .cmc-about-main-section,
html[data-theme="dark"] .cmc-about-strengths,
html[data-theme="dark"] .cmc-pd-wrap,
html[data-theme="dark"] .cmc-pd-content-grid,
html[data-theme="dark"] .cmc-related-section,
html[data-theme="dark"] .cmc-article-main,
html[data-theme="dark"] .cmc-gallery-main,
html[data-theme="dark"] .cmc-gallery-detail,
html[data-theme="dark"] .cmc-videos-main,
html[data-theme="dark"] .cmc-quote-main,
html[data-theme="dark"] .cmc-quote-section,
html[data-theme="dark"] .cmc-legal-main,
html[data-theme="dark"] .cmc-legal-page,
html[data-theme="dark"] .section-padding {
  background: var(--cmc-page-bg) !important
}

html[data-theme="dark"] .cmc-products-section,
html[data-theme="dark"] .cmc-brands,
html[data-theme="dark"] .cmc-home-search,
html[data-theme="dark"] .cmc-directory-section,
html[data-theme="dark"] .cmc-contact-form-section {
  background: var(--cmc-surface-2) !important
}

/* Dark cards / copy / controls */

html[data-theme="dark"] .cmc-about-subtitle,
html[data-theme="dark"] .cmc-stat strong,
html[data-theme="dark"] .cmc-stat span,
html[data-theme="dark"] .cmc-contact-card strong,
html[data-theme="dark"] .cmc-contact-card p,
html[data-theme="dark"] .cmc-contact-card small,
html[data-theme="dark"] .cmc-branch-item strong,
html[data-theme="dark"] .cmc-branch-item span,
html[data-theme="dark"] .cmc-pd-info h2,
html[data-theme="dark"] .cmc-pd-meta span,
html[data-theme="dark"] .cmc-pd-meta strong,
html[data-theme="dark"] .cmc-pd-meta a,
html[data-theme="dark"] .cmc-pd-description-card h3,
html[data-theme="dark"] .cmc-pd-side-card h3,
html[data-theme="dark"] .cmc-rich-content,
html[data-theme="dark"] .cmc-rich-content p,
html[data-theme="dark"] .cmc-rich-content li,
html[data-theme="dark"] .cmc-legal-card,
html[data-theme="dark"] .cmc-legal-card p,
html[data-theme="dark"] .cmc-legal-card li,
html[data-theme="dark"] .cmc-sitemap-group a {
  color: var(--cmc-body-text) !important
}

html[data-theme="dark"] .cmc-pd-description-card,
html[data-theme="dark"] .cmc-pd-side-card,
html[data-theme="dark"] .cmc-pd-meta>div,
html[data-theme="dark"] .cmc-pd-files>a,
html[data-theme="dark"] .cmc-branch-item,
html[data-theme="dark"] .cmc-strength-card,
html[data-theme="dark"] .cmc-empty-card {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important
}

html[data-theme="dark"] .cmc-home-search-results {
  box-shadow: 0 22px 54px rgba(0, 0, 0, .40) !important
}

html[data-theme="dark"] hr,
html[data-theme="dark"] .cmc-stat+.cmc-stat:before {
  border-color: var(--cmc-border) !important;
  background: var(--cmc-border) !important
}

/* Header mobile / dark drawer */

@media(max-width:991px) {
  .cmc-site-header .cmc-shell {
width: 100% !important;
    margin: 0;
  }
  .cmc-header-row {
    height: 80px !important
  }
  .cmc-logo img {
    max-width: 100%;
  }
  .cmc-nav-wrap {
    top: 80px !important;
    inset-inline: 0 !important;
    background: var(--cmc-surface) !important;
    border-top: 1px solid var(--cmc-border) !important;
    padding-top: 8px;
  }
  .cmc-main-nav>li>a {
    font-size: 17px !important;
    color: var(--cmc-heading) !important;
    border-bottom-color: var(--cmc-border) !important
  }
  .cmc-submenu {
    background: var(--cmc-surface-2) !important;
    padding: 5px 10px !important;
    border-radius: 10px !important;
    margin: 4px 0 8px !important
  }
  .cmc-submenu a {
    font-size: 17px !important;
    padding: 10px !important
  }
  html[data-theme="dark"] .cmc-menu-toggle {
    background: #162732 !important;
    color: #fff !important
  }
}

/* Footer must stay deliberately dark in light and dark mode */

.cmc-site-footer,
html[data-theme="dark"] .cmc-site-footer {
  background: linear-gradient(135deg, var(--cmc-footer-bg) 0%, var(--cmc-footer-bg-2) 100%) !important;
  color: #d9e6ee !important;
  border-top: 1px solid rgba(255, 255, 255, .07) !important;
}

.cmc-site-footer .cmc-footer-title {
  color: #fff !important
}

.cmc-site-footer .cmc-footer-about,
.cmc-site-footer .cmc-footer-links a,
.cmc-site-footer .cmc-footer-contact a,
.cmc-site-footer .cmc-footer-contact span,
.cmc-site-footer .cmc-footer-bottom,
.cmc-site-footer .cmc-footer-bottom a {
  color: #c6d5df !important
}

.cmc-site-footer .cmc-footer-links a:hover,
.cmc-site-footer .cmc-footer-bottom a:hover {
  color: #fff !important
}

.cmc-site-footer .cmc-footer-contact i {
  color: var(--cmc-primary) !important
}

.cmc-site-footer .cmc-footer-bottom {
  border-top-color: rgba(255, 255, 255, .10) !important
}

.cmc-footer-map img {
  opacity: .22 !important;
  filter: grayscale(1) brightness(2.25) !important
}

/* Keep images and logo areas free of artificial white gutters */

.cmc-logo,
.cmc-logo img,
.cmc-footer-logo,
.cmc-footer-logo img,
.cmc-hero-viewport,
.cmc-hero-track,
.cmc-hero-slide,
.cmc-hero-image,
.cmc-product-image {
  background-color: transparent !important
}

.cmc-hero-slide {
  border: 0 !important
}

/* Product details: robust dark-mode visuals */

html[data-theme="dark"] .cmc-pd-main-image {
  border-color: var(--cmc-border) !important
}

html[data-theme="dark"] .cmc-pd-thumb {
  background: #14242f !important;
  border-color: var(--cmc-border) !important
}

html[data-theme="dark"] .cmc-pd-support-note {
  background: var(--cmc-primary-soft) !important;
  background: rgba(10, 28, 38, 1) !important;
  border-color: var(--cmc-primary-border) !important;
  border-color: rgba(35, 101, 134, 0.22);
}

/* Eliminate light-only legacy backgrounds that can leak through */

html[data-theme="dark"] .breadcrumb-section,
html[data-theme="dark"] .faq-form-wrap,
html[data-theme="dark"] .inquiry-form,
html[data-theme="dark"] .contact-info-wrapper,
html[data-theme="dark"] .details-content-wrap {
  background: var(--cmc-page-bg) !important;
  color: var(--cmc-body-text) !important
}

/* FINAL V5 — complete dark mode for ALL inner pages */

html[data-theme="dark"] .cmc-inner-page,
html[data-theme="dark"] body.cmc-inner-page {
  background: var(--cmc-page-bg) !important;
  color: var(--cmc-body-text) !important;
}

/* Catalog / products listing */

html[data-theme="dark"] .cmc-catalog,
html[data-theme="dark"] .cmc-catalog-page .cmc-catalog {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-catalog-intro h2,
html[data-theme="dark"] .cmc-catalog-count strong,
html[data-theme="dark"] .cmc-filter-head h3,
html[data-theme="dark"] .cmc-catalog-card-body h3,
html[data-theme="dark"] .cmc-catalog-card-body h3 a,
html[data-theme="dark"] .cmc-catalog-empty h3,
html[data-theme="dark"] .cmc-card-more {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-catalog-intro p,
html[data-theme="dark"] .cmc-catalog-count span,
html[data-theme="dark"] .cmc-catalog-card-body p,
html[data-theme="dark"] .cmc-catalog-empty p {
  color: var(--cmc-muted-text) !important;
}

html[data-theme="dark"] .cmc-catalog-count,
html[data-theme="dark"] .cmc-filter-card,
html[data-theme="dark"] .cmc-catalog-toolbar,
html[data-theme="dark"] .cmc-catalog-card,
html[data-theme="dark"] .cmc-catalog-empty {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18) !important;
}

/*
html[data-theme="dark"] .cmc-catalog-image {
  background: var(--cmc-surface-2) !important;
}*/

html[data-theme="dark"] .cmc-card-actions,
html[data-theme="dark"] .cmc-filter-head {
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .cmc-filter-links a {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-filter-links a:hover {
  background: var(--cmc-card-bg-hover) !important;
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-filter-links a.is-active {
  background: var(--cmc-primary) !important;
  color: #fff !important;
}

html[data-theme="dark"] .cmc-filter-links small {
  background: var(--cmc-surface-2) !important;
  color: var(--cmc-muted-text) !important;
}

html[data-theme="dark"] .cmc-filter-links a.is-active small {
  background: rgba(255, 255, 255, .16) !important;
  color: #fff !important;
}

html[data-theme="dark"] .cmc-catalog-search input[type="search"] {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-catalog-search input::placeholder {
  color: var(--cmc-muted-text) !important;
}

/* About */

html[data-theme="dark"] .cmc-about-intro-section,
html[data-theme="dark"] .cmc-about-values-section,
html[data-theme="dark"] .cmc-about-main-section,
html[data-theme="dark"] .cmc-about-strengths {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-about-photo {
  background: var(--cmc-surface-2) !important;
}

html[data-theme="dark"] .cmc-about-photo-small {
  border-color: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-about-experience {
  border-color: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-about-rich,
html[data-theme="dark"] .cmc-about-rich p,
html[data-theme="dark"] .cmc-about-rich li,
html[data-theme="dark"] .cmc-about-values-head p {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-about-points>div,
html[data-theme="dark"] .cmc-value-card,
html[data-theme="dark"] .cmc-strength-card {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-about-points>div:hover,
html[data-theme="dark"] .cmc-value-card:hover,
html[data-theme="dark"] .cmc-strength-card:hover {
  background: var(--cmc-card-bg-hover) !important;
  border-color: var(--cmc-primary-border) !important;
}

html[data-theme="dark"] .cmc-value-card h3,
html[data-theme="dark"] .cmc-strength-card strong {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-value-card p,
html[data-theme="dark"] .cmc-strength-card span {
  color: var(--cmc-muted-text) !important;
}

/* Brands / directories */

html[data-theme="dark"] .cmc-directory-main,
html[data-theme="dark"] .cmc-directory-intro,
html[data-theme="dark"] .cmc-directory-section,
html[data-theme="dark"] .cmc-directory-cta {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-brand-directory-card {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .cmc-brand-directory-logo {
  background: var(--cmc-surface-2) !important;
}

html[data-theme="dark"] .cmc-directory-intro p,
html[data-theme="dark"] .cmc-directory-count span {
  color: var(--cmc-muted-text) !important;
}

html[data-theme="dark"] .cmc-directory-count strong {
  color: var(--cmc-heading) !important;
}

/* News, gallery and videos listings */

html[data-theme="dark"] .cmc-news-main,
html[data-theme="dark"] .cmc-news-listing,
html[data-theme="dark"] .cmc-gallery-listing,
html[data-theme="dark"] .cmc-video-listing,
html[data-theme="dark"] .cmc-gallery-detail,
html[data-theme="dark"] .cmc-article-main,
html[data-theme="dark"] .cmc-article-section {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-news-card,
html[data-theme="dark"] .cmc-video-modern-card,
html[data-theme="dark"] .cmc-article-card {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-news-card-image,
html[data-theme="dark"] .cmc-gallery-modern-card,
html[data-theme="dark"] .cmc-gallery-detail-item {
  background: var(--cmc-surface-2) !important;
}

html[data-theme="dark"] .cmc-news-card h2 a,
html[data-theme="dark"] .cmc-video-card-body h2,
html[data-theme="dark"] .cmc-news-gallery-head h2 {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-news-card p,
html[data-theme="dark"] .cmc-news-meta,
html[data-theme="dark"] .cmc-listing-head>p,
html[data-theme="dark"] .cmc-news-richtext,
html[data-theme="dark"] .cmc-news-richtext p,
html[data-theme="dark"] .cmc-news-richtext li {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-news-meta,
html[data-theme="dark"] .cmc-listing-head>p {
  color: var(--cmc-muted-text) !important;
}

/* Product details */

html[data-theme="dark"] .cmc-pd-main,
html[data-theme="dark"] .cmc-pd-wrap,
html[data-theme="dark"] .cmc-pd-content-grid,
html[data-theme="dark"] .cmc-related-section {
  background: var(--cmc-page-bg) !important;
}



html[data-theme="dark"] .cmc-pd-description-card,
html[data-theme="dark"] .cmc-pd-side-card,
html[data-theme="dark"] .cmc-pd-meta>div,
html[data-theme="dark"] .cmc-pd-files>a,
html[data-theme="dark"] .cmc-related-card,
html[data-theme="dark"] .cmc-empty-card {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-pd-info h1,
html[data-theme="dark"] .cmc-pd-info h2,
html[data-theme="dark"] .cmc-pd-description-card h3,
html[data-theme="dark"] .cmc-pd-side-card h3,
html[data-theme="dark"] .cmc-pd-meta strong,
html[data-theme="dark"] .cmc-related-card h3,
html[data-theme="dark"] .cmc-related-card h3 a {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-pd-summary,
html[data-theme="dark"] .cmc-pd-summary p,
html[data-theme="dark"] .cmc-pd-muted,
html[data-theme="dark"] .cmc-pd-meta span,
html[data-theme="dark"] .cmc-pd-files small,
html[data-theme="dark"] .cmc-related-card p {
  color: var(--cmc-muted-text) !important;
}

html[data-theme="dark"] .cmc-rich-content,
html[data-theme="dark"] .cmc-rich-content p,
html[data-theme="dark"] .cmc-rich-content li,
html[data-theme="dark"] .cmc-rich-content td,
html[data-theme="dark"] .cmc-rich-content th,
html[data-theme="dark"] .cmc-rich-content span:not(.cmc-primary-keep) {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-rich-content table,
html[data-theme="dark"] .cmc-rich-content td,
html[data-theme="dark"] .cmc-rich-content th {
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .cmc-rich-content a {
  color: var(--cmc-primary) !important
}

/* Contact + Quote */

html[data-theme="dark"] .cmc-contact-main,
html[data-theme="dark"] .cmc-contact-top,
html[data-theme="dark"] .cmc-contact-form-section,
html[data-theme="dark"] .cmc-quote-main,
html[data-theme="dark"] .cmc-quote-section {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-contact-card,
html[data-theme="dark"] .cmc-contact-form-card,
html[data-theme="dark"] .cmc-quote-form-card,
html[data-theme="dark"] .cmc-quote-benefits>div,
html[data-theme="dark"] .cmc-branch-item {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-contact-card strong,
html[data-theme="dark"] .cmc-contact-form-head h2,
html[data-theme="dark"] .cmc-quote-benefits strong,
html[data-theme="dark"] .cmc-branch-item strong {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-contact-card p,
html[data-theme="dark"] .cmc-contact-card small,
html[data-theme="dark"] .cmc-contact-form-head p,
html[data-theme="dark"] .cmc-contact-intro,
html[data-theme="dark"] .cmc-quote-info>p,
html[data-theme="dark"] .cmc-quote-benefits small,
html[data-theme="dark"] .cmc-branch-item span {
  color: var(--cmc-muted-text) !important;
}

html[data-theme="dark"] .cmc-modern-form label>span,
html[data-theme="dark"] .cmc-modern-form label {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-modern-form input,
html[data-theme="dark"] .cmc-modern-form textarea,
html[data-theme="dark"] .cmc-modern-form select,
html[data-theme="dark"] .nice-select {
  background: var(--cmc-surface) !important;
  color: var(--cmc-body-text) !important;
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .nice-select .list {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .nice-select .option:hover,
html[data-theme="dark"] .nice-select .option.focus,
html[data-theme="dark"] .nice-select .option.selected.focus {
  background: var(--cmc-card-bg-hover) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #8094a1 !important;
  opacity: 1 !important;
}

/* Legal pages / sitemap */

html[data-theme="dark"] .cmc-legal-page,
html[data-theme="dark"] .cmc-legal-main {
  background: var(--cmc-page-bg) !important;
}

html[data-theme="dark"] .cmc-legal-card,
html[data-theme="dark"] .cmc-sitemap-group {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-legal-card h2,
html[data-theme="dark"] .cmc-legal-card h3,
html[data-theme="dark"] .cmc-sitemap-group h3 {
  color: var(--cmc-heading) !important;
}

html[data-theme="dark"] .cmc-legal-card p,
html[data-theme="dark"] .cmc-legal-card li,
html[data-theme="dark"] .cmc-sitemap-group a {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] .cmc-legal-card a,
html[data-theme="dark"] .cmc-sitemap-group a:hover {
  color: var(--cmc-primary) !important;
}

/* Generic legacy/bootstrap surfaces that appear inside inner pages */

html[data-theme="dark"] body.cmc-inner-page .card,
html[data-theme="dark"] body.cmc-inner-page .modal-content,
html[data-theme="dark"] body.cmc-inner-page .dropdown-menu,
html[data-theme="dark"] body.cmc-inner-page .accordion-item,
html[data-theme="dark"] body.cmc-inner-page .accordion-body,
html[data-theme="dark"] body.cmc-inner-page .table,
html[data-theme="dark"] body.cmc-inner-page .form-control,
html[data-theme="dark"] body.cmc-inner-page .form-select {
  background-color: var(--cmc-card-bg) !important;
  color: var(--cmc-body-text) !important;
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] body.cmc-inner-page .table>:not(caption)>*>* {
  background-color: transparent !important;
  color: var(--cmc-body-text) !important;
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] body.cmc-inner-page .text-dark,
html[data-theme="dark"] body.cmc-inner-page .text-black,
html[data-theme="dark"] body.cmc-inner-page [style*="color: #000"],
html[data-theme="dark"] body.cmc-inner-page [style*="color:#000"] {
  color: var(--cmc-body-text) !important;
}

html[data-theme="dark"] body.cmc-inner-page .bg-white,
html[data-theme="dark"] body.cmc-inner-page .bg-light {
  background: var(--cmc-card-bg) !important;
}

/* separators and shadows */

html[data-theme="dark"] body.cmc-inner-page hr,
html[data-theme="dark"] body.cmc-inner-page [class*="border-"] {
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .cmc-catalog-card,
html[data-theme="dark"] .cmc-news-card,
html[data-theme="dark"] .cmc-video-modern-card,
html[data-theme="dark"] .cmc-contact-form-card,
html[data-theme="dark"] .cmc-quote-form-card,
html[data-theme="dark"] .cmc-article-card {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18) !important;
}

/* Mobile keeps the same semantic colors */

@media(max-width:767px) {
  html[data-theme="dark"] .cmc-catalog-sidebar,
  html[data-theme="dark"] .cmc-filter-card,
  html[data-theme="dark"] .cmc-catalog-toolbar,
  html[data-theme="dark"] .cmc-contact-form-card,
  html[data-theme="dark"] .cmc-quote-form-card {
    background: var(--cmc-card-bg) !important;
  }
}

/* FINAL V7 — dark-mode refinement + product request modal + larger navigation */

:root {
  --cmc-footer-bg: #050b10;
  --cmc-footer-bg-2: #07131d;
}

@media(min-width:992px) {
  .cmc-site-header .cmc-shell {
    width: min(calc(100% - 30px), 1360px) !important
  }
  .cmc-main-nav {
    gap: 20px !important
  }
  .cmc-main-nav>li>a {
    font-size: 15px !important;
    letter-spacing: -.01em !important
  }
  .cmc-submenu a {
    font-size: 15px !important;
    line-height: 1.45 !important
  }
  .cmc-rtl .cmc-main-nav>li>a {
    font-size: 15px !important
  }
  .cmc-rtl .cmc-submenu a {
    font-size: 15px !important
  }
}

/* Refine dark surfaces so separators do not look white or harsh. */

html[data-theme="dark"] {
  --cmc-border: rgba(255, 255, 255, .065) !important;
  --cmc-card-bg: #12212b !important;
  --cmc-card-bg-hover: #172a36 !important;
  --cmc-surface: #0d1820 !important;
  --cmc-surface-2: #101e28 !important;
}
/*
html[data-theme="dark"] .cmc-why-features {
  background: var(--cmc-card-bg) !important;
  border-color: rgba(255, 255, 255, .055) !important;
}*/

html[data-theme="dark"] .cmc-why-card {
  background: var(--cmc-card-bg) !important;
  border-color: rgba(255, 255, 255, .055) !important;
  box-shadow: none !important;
}


html[data-theme="dark"] .cmc-why-card:nth-child(odd),
html[data-theme="dark"] .cmc-why-card:nth-child(-n+2),
html[data-theme="dark"] .cmc-why-card+.cmc-why-card,
html[data-theme="dark"] .cmc-rtl .cmc-why-card:nth-child(odd) {
  border-color: rgba(255, 255, 255, .055) !important;
}

html[data-theme="dark"] .cmc-stat-grid {
  border-top-color: rgba(255, 255, 255, .075) !important;
  border-bottom-color: rgba(255, 255, 255, .075) !important;
}

html[data-theme="dark"] .cmc-stat+.cmc-stat:before {
  background: rgba(255, 255, 255, .075) !important;
}

html[data-theme="dark"] .cmc-related-section {
  border-top-color: rgba(255, 255, 255, .065) !important;
}

html[data-theme="dark"] .cmc-brands {
  border-top-color: rgba(255, 255, 255, .055) !important;
}

html[data-theme="dark"] .cmc-brand-card,
html[data-theme="dark"] .cmc-brand-directory-card {
  border-color: rgba(255, 255, 255, .065) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16) !important;
}

html[data-theme="dark"] .cmc-brand-directory-logo {
  background: #10202a !important;
}

html[data-theme="dark"] .cmc-contact-form-card,
html[data-theme="dark"] .cmc-quote-form-card {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18) !important;
}

html[data-theme="dark"] .cmc-pd-whatsapp {
  background: var(--cmc-card-bg) !important;
  color: var(--cmc-heading) !important;
  border-color: var(--cmc-border) !important;
}

html[data-theme="dark"] .cmc-pd-whatsapp:hover {
  background: #103024 !important;
  border-color: #25d366 !important;
  color: #fff !important;
}

/* Dark-friendly partner logos. Light mode keeps the original artwork. */

.cmc-brand-logo-dark {
  display: none !important
}

.cmc-brand-card,
.cmc-brand-directory-logo {
  position: relative
}

.cmc-brand-card .cmc-brand-logo-light,
.cmc-brand-card .cmc-brand-logo-dark,
.cmc-brand-directory-logo .cmc-brand-logo-light,
.cmc-brand-directory-logo .cmc-brand-logo-dark {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

html[data-theme="dark"] .cmc-brand-logo-light {
  display: block !important
}

html[data-theme="dark"] .cmc-has-dark-logo .cmc-brand-logo-light {
  display: none !important
}

html[data-theme="dark"] .cmc-has-dark-logo .cmc-brand-logo-dark {
  display: block !important
}

html[data-theme="dark"] .cmc-brand-logo-light {
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important
}

/* Deliberately darker footer in both themes; no bright navy block in dark mode. */

.cmc-site-footer,
html[data-theme="dark"] .cmc-site-footer {
  background: linear-gradient(135deg, #050b10 0%, #07131d 100%) !important;
}

.cmc-footer-grid {
  border-color: rgba(255, 255, 255, .06) !important
}

.cmc-footer-map {
  border-color: rgba(255, 255, 255, .07) !important
}

.cmc-socials a {
  border-color: rgba(255, 255, 255, .18) !important
}

/* Google reCAPTCHA wrapper follows surrounding surface; widget theme is set before API render. */

.cmc-captcha-wrap {
  background: transparent !important;
  border: 0 !important
}

html[data-theme="dark"] .cmc-captcha-wrap {
  color-scheme: dark
}

/* Product details request stays on the product page. */

.cmc-pd-actions button {
  font-family: inherit;
  cursor: pointer
}

.cmc-product-request-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px
}

.cmc-product-request-modal.is-open {
  display: flex
}

.cmc-product-request-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 12, 19, .72);
  backdrop-filter: blur(7px)
}

.cmc-product-request-dialog {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: var(--cmc-surface);
  border: 1px solid var(--cmc-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
  color: var(--cmc-body-text)
}

.cmc-product-request-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  border: 1px solid var(--cmc-border);
  background: var(--cmc-surface-2);
  color: var(--cmc-heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3
}

.cmc-rtl .cmc-product-request-close {
  right: auto;
  left: 15px
}

.cmc-product-request-close:hover {
  background: var(--cmc-primary);
  border-color: var(--cmc-primary);
  color: #fff
}

.cmc-product-request-head {
  padding-inline-end: 46px;
  margin-bottom: 18px
}

.cmc-product-request-head>span {
  display: block;
  color: var(--cmc-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px
}

.cmc-product-request-head h2 {
  margin: 0;
  color: var(--cmc-heading);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2
}

.cmc-product-request-head p {
  margin: 9px 0 0;
  color: var(--cmc-muted-text);
  font-size: 14px;
  line-height: 1.75
}

.cmc-product-fixed {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  margin: 0 0 18px;
  background: var(--cmc-primary-soft);
  border: 1px solid var(--cmc-primary-border);
  border-radius: 10px
}

.cmc-product-fixed>i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--cmc-primary);
  color: #fff;
  font-size: 19px;
  flex: 0 0 42px
}

.cmc-product-fixed div {
  display: flex;
  flex-direction: column;
  min-width: 0
}

.cmc-product-fixed small {
  color: var(--cmc-muted-text);
  font-size: 11px;
  margin-bottom: 2px
}

.cmc-product-fixed strong {
  color: var(--cmc-heading);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

html.cmc-modal-open,
html.cmc-modal-open body {
  overflow: hidden
}

html[data-theme="dark"] .cmc-product-request-dialog {
  background: #0f1d26;
  border-color: rgba(255, 255, 255, .08);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .52)
}

html[data-theme="dark"] .cmc-product-request-close {
  background: #142630;
  border-color: rgba(255, 255, 255, .08)
}

@media(max-width:767px) {
  .cmc-product-request-modal {
    padding: 10px;
    align-items: flex-end
  }
  .cmc-product-request-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: 16px 16px 8px 8px;
    padding: 22px 16px 18px
  }
  .cmc-product-request-head {
    padding-inline-end: 42px
  }
  .cmc-product-request-head h2 {
    font-size: 23px
  }
  .cmc-product-request-head p {
    font-size: 13px
  }
  .cmc-product-request-form .cmc-form-grid {
    grid-template-columns: 1fr !important
  }
  .cmc-pd-actions>button,
  .cmc-pd-actions>a {
    flex: 1;
    justify-content: center;
    min-width: 145px
  }
}

/* FINAL V8 — Google Maps follows site theme */

.cmc-contact-map {
  position: relative;
  background: var(--cmc-surface-2) !important;
  transition: background-color .28s ease;
}

.cmc-contact-map iframe {
  filter: saturate(.88) contrast(1.03);
  transition: filter .35s ease, opacity .35s ease;
  will-change: filter;
}

html[data-theme="dark"] .cmc-contact-map {
  background: #07131d !important;
}

html[data-theme="dark"] .cmc-contact-map iframe {
  filter: invert(.90) hue-rotate(180deg) saturate(.70) brightness(.86) contrast(1.10) !important;
  opacity: .96;
}

@media (prefers-reduced-motion:reduce) {
  .cmc-contact-map,
  .cmc-contact-map iframe {
    transition: none !important
  }
}

/* v9 polish: dark directory metric + captcha/form security alignment */

html[data-theme="dark"] .cmc-directory-count {
  background: var(--cmc-card-bg) !important;
  border-color: var(--cmc-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12) !important;
}

html[data-theme="dark"] .cmc-directory-count strong {
  color: var(--cmc-primary) !important
}

html[data-theme="dark"] .cmc-directory-count span {
  color: var(--cmc-muted-text) !important
}

/* Keep the security widget visually contained without touching Google's iframe internals. */

.cmc-captcha-wrap {
  justify-self: start;
  width: 280px;
  min-height: 72px !important;
  padding: 0 !important;
  margin: 2px 0 2px !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: transparent !important;
}

.cmc-captcha-wrap .cmc-recaptcha-auto {
  width: 304px;
  min-height: 78px;
  transform: scale(.92);
  transform-origin: 0 0;
}

.cmc-rtl .cmc-captcha-wrap {
  justify-self: end
}

.cmc-rtl .cmc-captcha-wrap .cmc-recaptcha-auto {
  transform-origin: 100% 0
}

.cmc-form-submit {
  justify-content: flex-start !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  overflow: visible !important;
}

.cmc-form-submit>span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 8px 11px !important;
  margin: 0 !important;
  border: 1px solid var(--cmc-border) !important;
  border-radius: 999px !important;
  background: var(--cmc-surface-2) !important;
  color: var(--cmc-muted-text) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.cmc-form-submit>span i {
  color: var(--cmc-primary) !important;
  margin: 0 !important
}

.cmc-form-submit .cmc-solid-btn {
  flex: 0 0 auto
}

html[data-theme="dark"] .cmc-form-submit>span {
  background: rgba(255, 255, 255, .035) !important;
  border-color: rgba(255, 255, 255, .075) !important;
}

/* Prevent any bright metric/placeholder tile in directory intro on dark mode. */

html[data-theme="dark"] .cmc-directory-intro-grid>div:last-child,
html[data-theme="dark"] .cmc-directory-intro-grid>div:last-child>* {
  color: var(--cmc-body-text);
}

@media(max-width:575px) {
  .cmc-captcha-wrap {
    width: 267px;
    min-height: 68px !important
  }
  .cmc-captcha-wrap .cmc-recaptcha-auto {
    transform: scale(.875)
  }
  .cmc-form-submit {
    align-items: flex-start !important
  }
  .cmc-form-submit>span {
    font-size: 10.5px !important
  }
}


html[data-theme="dark"] .cmc-inner-hero {
  background: #04182b;
}

html[data-theme="dark"] .cmc-pd-support-note strong { 
  color: #fff;
}


@media(max-width:991px) {




.cmc-rtl .cmc-brands-title,
.cmc-brands-title,
.cmc-why-copy .cmc-section-title,
.cmc-brands-title,
.cmc-section-title,
.cmc-rtl .cmc-brands-title,
.cmc-rtl .cmc-section-title {
  font-size: 19px !important;
}


.cmc-about-subtitle,
.cmc-rtl .cmc-about-subtitle {
  font-size: 16px !important;}


.cmc-site-footer {
  padding-top: 20px;
}


.cmc-header-actions .cmc-quote-btn {
margin-right: 0;
  margin-left: auto;
}


.cmc-rtl .cmc-header-actions .cmc-quote-btn {
margin-left: 0;
  margin-right: auto;
}

.cmc-site-header {
margin-bottom: 0;
}

}
