/* SADQT homepage layout */
.theme-site-name {
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(15px, 2.15vw, 28px) !important;
  font-weight: 700 !important;
  line-height: 1.25;
}
.theme-banner:has(.zshero-banner-style-15) .zphero,
.theme-banner:has(.zshero-banner-style-15) .zphero-slide,
.theme-banner .zshero-banner-style-15 {
  height: auto !important;
  min-height: 0 !important;
}
.theme-banner .zshero-banner-style-15 {
  padding: clamp(28px, 4vw, 56px) 0 !important;
}
.theme-banner .zshero-banner-style-15 .zprow > .zpelem-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.theme-banner .zshero-banner-style-15 .zpelem-col > .zpelement {
  min-width: 0;
  margin: 0 !important;
}
.theme-banner .zshero-banner-style-15 .zpelem-col > .zpelem-spacer {
  display: none;
}
.theme-banner .zshero-banner-style-15 .zpelem-col > .zpelem-heading,
.theme-banner .zshero-banner-style-15 .zpelem-col > .zpelem-text {
  grid-column: 1 / -1;
}
.theme-banner .zshero-banner-style-15 .zpelem-heading { order: -2; }
.theme-banner .zshero-banner-style-15 .zpelem-text {
  order: -1;
  width: min(100%, 720px);
  justify-self: center;
}
.theme-banner .zshero-banner-style-15 img.zpimage,
#products img.zpimage {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}
.theme-banner .zshero-banner-style-15 img.zpimage { aspect-ratio: 16 / 10; }
#about-us img.zpimage { border-radius: 12px; }
#products .zpcontainer > .zprow:has(img.zpimage) {
  justify-content: center;
  row-gap: 20px;
}
#products .zpbox-container {
  padding: 12px;
  border: 1px solid #e1e4eb;
  border-radius: 16px;
  background: #fff;
}
.theme-footer-area .footer-container .zpsection {
  padding-top: 36px;
  padding-bottom: 36px;
}
.theme-footer-area .footer-container { overflow-wrap: anywhere; }
@media (max-width: 599px) {
  .theme-banner .zshero-banner-style-15 .zprow > .zpelem-col {
    grid-template-columns: minmax(0, 1fr);
  }
  #products .zpcontainer > .zprow:has(img.zpimage) > .zpelem-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding-inline: 6px;
  }
  #products .zpbox-container { padding: 8px; }
}

/* Keep the single hero slide in normal document flow. */
.theme-banner:has(.zshero-banner-style-15) .hero-container {
  min-height: 0 !important;
}
.theme-banner .zphero-slide.curslide:has(.zshero-banner-style-15),
.theme-banner .zshero-banner-style-15 {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  width: 100%;
}
.theme-banner .zshero-banner-style-15 .zprow:not(:has(.zpelem-heading, img)) {
  display: none;
}

/* SADQT electronics palette */
:root {
  --sadqt-navy: #10233e;
  --sadqt-blue: #1d56ca;
  --sadqt-blue-hover: #1746a6;
  --sadqt-ice: #eff5fc;
  --sadqt-line: #d6e2f1;
  --sadqt-text: #304760;
}
.theme-header {
  background: var(--sadqt-navy) !important;
}
.theme-header .theme-site-name,
.theme-header .theme-menu a,
.theme-header .theme-burger-icon {
  color: #fff !important;
}
.theme-header .theme-responsive-menu-area,
.theme-header .theme-menu ul ul {
  background-color: var(--sadqt-navy) !important;
}
.theme-header .theme-menu .theme-menu-selected > a,
.theme-header .theme-menu a:hover,
.theme-header .theme-menu a:focus-visible,
#products .zpbutton {
  background: var(--sadqt-blue) !important;
  color: #fff !important;
}
#products .zpbutton:hover,
#products .zpbutton:focus-visible {
  background: var(--sadqt-blue-hover) !important;
}
.theme-banner .zphero-slide:has(.zshero-banner-style-15) {
  background: linear-gradient(150deg, #f8fbff 0%, #e2edfb 100%) !important;
  color: var(--sadqt-text) !important;
}
.theme-banner .zpheading,
#about-us .zpheading,
#products .zpheading {
  color: var(--sadqt-navy) !important;
}
#about-us { background: #fff !important; }
#products { background: var(--sadqt-ice) !important; }
#products .zpbox-container { border-color: var(--sadqt-line); }
.theme-footer-area,
.theme-footer-area .footer-container .zpsection {
  background: var(--sadqt-navy) !important;
  color: #e2edfb !important;
}
.theme-footer-area .footer-container .zpheading,
.theme-footer-area .footer-container a {
  color: #fff !important;
}
.theme-footer-area .footer-container a:hover,
.theme-footer-area .footer-container a:focus-visible {
  color: #a9cdff !important;
}
.theme-header .theme-burger-icon,
.theme-header .theme-burger-icon::before,
.theme-header .theme-burger-icon::after {
  background-color: #a9cdff !important;
}

/* Show the full product photo within each card. */
#products img.zpimage {
  object-fit: contain;
  object-position: center;
  background-color: #fff;
}

/* Match the smartphone image-and-text card to the adjacent product boxes. */
#products .zpelem-imagetext {
  padding: 12px;
  border: 1px solid var(--sadqt-line);
  border-radius: 16px;
  background: #fff;
}
#products .zpelem-imagetext .zpimage-with-text-container {
  display: block;
  width: 100%;
}
#products .zpelem-imagetext .zpimage-text {
  padding: 0 !important;
  margin: 20px 0 0 !important;
}
#products .zpelem-imagetext .zpimage-text p,
#products .zpelem-imagetext .zpimage-text p :is(strong, span) {
  margin: 0;
  color: var(--sadqt-navy);
  font: 500 20px/1.8 Montserrat, sans-serif !important;
  text-align: center;
  text-transform: capitalize;
}
@media (max-width: 599px) {
  #products .zpelem-imagetext { padding: 8px; }
  #products .zpelem-imagetext .zpimage-text p,
  #products .zpelem-imagetext .zpimage-text p :is(strong, span),
  #products .zpbox-container h6 { font-size: 15px !important; }
}
#products .zpelem-imagetext .zpimage-with-text-container {
  display: flex;
  flex-direction: column;
}
#products .zpelem-imagetext .zpimage-with-text-container > figure {
  margin: 0;
}
