/* ================================================================
   Arab Computers – Check Sticker Clone
   Pixel-perfect match of arabcomputers.com.sa/check-sticker
   Font: Rubik | Colors from live production CSS
   ================================================================ */

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Rubik, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #1c1c1c;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}

a:hover {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
}

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.ts-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 #e8e8ed;
}

/* Logo row */
.header-middle.logo-center {
  border-bottom: 1px solid #e8e8ed;
}

.header-middle .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  height: 80px;
  display: flex;
  align-items: center;
  position: relative;
}

.header-left {
  flex: 1;
}

.logo-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo a {
  display: block;
}

.logo .normal-logo {
  height: 56px;
  width: auto;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Hamburger (desktop – only shows on mobile) */
.hamburger-wrap {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
}

.hamburger-wrap span {
  display: block;
  height: 1.5px;
  background: #1c1c1c;
  width: 22px;
}

/* Navigation row */
.header-bottom.menu-center {
  border-bottom: 1px solid #e8e8ed;
}

.header-bottom .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center;
}

/* Menu */
.main-menu ul.menu {
  display: flex;
  align-items: center;
}

.main-menu ul.menu>li.menu-item {
  position: relative;
}

.main-menu ul.menu>li.menu-item>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 400;
  color: #1c1c1c;
  white-space: nowrap;
  line-height: 22px;
}

.main-menu ul.menu>li.menu-item>a:hover {
  color: #c9a227;
}

/* Dropdown arrow */
.main-menu ul.menu>li.parent>a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #888;
  margin-left: 3px;
  vertical-align: middle;
}

/* Sub-menu */
.main-menu ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 100;
  padding: 6px 0;
}

.main-menu ul.menu>li.parent:hover>.sub-menu {
  display: block;
}

.main-menu ul.sub-menu li a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: #1c1c1c;
}

.main-menu ul.sub-menu li a:hover {
  background: #f5f5f7;
  color: #c9a227;
}

/* ----------------------------------------------------------------
   MOBILE OVERLAY + PANEL
   ---------------------------------------------------------------- */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
}

.mobile-overlay.open {
  display: block;
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu-panel.open {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8ed;
}

.mobile-menu-title {
  font-weight: 600;
  font-size: 15px;
}

.close-mobile-menu {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-list li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1c1c1c;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list li a:hover {
  background: #f5f5f7;
}

/* ----------------------------------------------------------------
   MOBILE BOTTOM BAR
   ---------------------------------------------------------------- */
#ts-mobile-button-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #fff;
  border-top: 1px solid #e8e8ed;
  z-index: 9997;
  align-items: center;
  justify-content: space-around;
  padding: 0 20px;
}

.ts-mobile-icon-toggle,
.mobile-button-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.mobile-button-home a {
  display: flex;
  align-items: center;
}

/* ----------------------------------------------------------------
   MAIN CONTENT
   ---------------------------------------------------------------- */
#main.wrapper {
  background: #fff;
}

/* Breadcrumb */
.breadcrumb-title-wrapper {
  padding: 0;
  background: #fff;
}

.breadcrumb-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 30px;
}

.breadcrumbs-container {
  font-size: 13px;
  color: #6e6e73;
  font-family: Rubik;
}

.breadcrumbs-container a {
  color: #3a3a3c;
}

.breadcrumbs-container a:hover {
  color: #c9a227;
}

.breadcrumbs-container .brn_arrow {
  margin: 0 8px;
  color: #aaa;
}

.breadcrumbs-container .current {
  color: #888;
}

/* Page container */
.page-container.show_breadcrumb_v1 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 30px 60px;
}

#main-content {
  width: 100%;
}

/* ----------------------------------------------------------------
   ELEMENTOR PAGE LAYOUT
   ---------------------------------------------------------------- */
.elementor.elementor-12449 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.elementor-12449 .elementor-section.e-con {
  width: 100%;
}

.elementor-12449 .e-con-inner {
  max-width: 770px;
  margin: 0 auto;
  width: 100%;
}

/* Section 1: Title */
.elementor-widget-heading .elementor-heading-title {
  font-family: Rubik;
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
  margin: 20px 0 15px;
}

/* Section 2: Subtitle */
.elementor-widget-text-editor p {
  font-size: 15px;
  line-height: 24px;
  color: #3a3a3c;
  margin: 0 0 10px;
}

/* Section 3: sticker + input layout */
.sticker-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 770px;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.col-empty {
  display: none;
}

.col-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sticker image */
.sticker-img {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 10px auto 20px;
  display: block;
}

/* ================================================================
   SERIAL CODE VALIDATOR (sngmbh plugin exact classes)
   ================================================================ */

/* spinner */
.lds-dual-ring {
  display: inline-block;
  width: 64px;
  height: 64px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid transparent;
  border-color: #c9a227 transparent #c9a227 transparent;
  animation: lds-dual-ring 0.6s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.sngmbh_container {
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  max-width: 400px;
}

.sngmbh_mb-2 {
  margin-bottom: 0.5rem !important;
}

.sngmbh_mb-3 {
  margin-bottom: 1rem !important;
}

.sngmbh_input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.sngmbh_input-group>.sngmbh_form-control {
  flex: 1 1 0%;
  min-width: 0;
  margin-bottom: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.sngmbh_form-control {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 20px 0 0 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: Rubik;
  text-align: center;
}

.sngmbh_form-control:focus {
  outline: none;
  border-color: #c9a227;
  box-shadow: 0 0 0 0.15rem rgba(201, 162, 39, 0.2);
}

.sngmbh_form-control::placeholder {
  color: #aaa;
}

/* Valid/Invalid states */
.sngmbh_is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  padding-right: calc(1.5em + .75rem);
}

.sngmbh_is-valid {
  border-color: #28a745;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
  padding-right: calc(1.5em + .75rem);
}

.sngmbh_input-group-append {
  margin-left: -1px;
  display: flex;
}

.sngmbh_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
  font-family: Rubik;
  height: 42px;
}

/* QR Scanner Button – gold/brown color matching screenshot */
.sngmbh_btn-qr-scanner {
  background-color: #c9a227;
  border: 1px solid #c9a227;
  color: #fff;
  padding: 0 12px;
  border-radius: 0;
  margin-right: 0;
}

.sngmbh_btn-qr-scanner:hover {
  background-color: #b08d22;
  border-color: #b08d22;
}

.sngmbh_btn-qr-scanner--active {
  background-color: #dc3545;
  border-color: #dc3545;
}

.sngmbh_btn-qr-scanner--active:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.sngmbh_btn-qr-scanner svg {
  stroke: #fff;
}

/* Check Button – matching gold color from screenshot */
.sngmbh_btn-primary {
  color: #fff;
  background-color: #c9a227;
  border-color: #c9a227;
  border-radius: 0 20px 20px 0;
  padding: 0 18px;
  font-weight: 500;
}

.sngmbh_btn-primary:hover {
  background-color: #b08d22;
  border-color: #b08d22;
}

.sngmbh_btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Result output */
#sngmbhSerialcodesValidatoroutput {
  min-height: 20px;
  margin-top: 6px;
}

#sngmbhSerialcodesValidatoroutput center {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}

/* Warning notices (text inside inline spans are colored red by HTML) */
.elementor-widget-text-editor p span[style*="color:#ff0000"],
.elementor-widget-text-editor p span[style*="color: #ff0000"] {
  font-size: 15px;
  line-height: 24px;
}

/* ----------------------------------------------------------------
   QR READER (inline, below input)
   ---------------------------------------------------------------- */
#qr-reader-area {
  max-width: 500px;
  margin: 10px auto;
}

.qr-reader-inner {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.qr-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

#qr-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qr-scan-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-scan-frame {
  width: 200px;
  height: 200px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.qr-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #c9a227, transparent);
  animation: qrScan 2s linear infinite;
}

@keyframes qrScan {
  0% {
    top: 0;
  }

  100% {
    top: 100%;
  }
}

.qr-hint {
  color: #fff;
  text-align: center;
  font-size: 13px;
  padding: 10px 16px 4px;
  background: #000;
  margin: 0;
}

.qr-upload-label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #111;
  color: #ccc;
  font-size: 13px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.qr-upload-label:hover {
  background: #222;
  color: #fff;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
#colophon.footer-container {
  background-color: #f0f0f5;
  border-top: 1px solid #e0e0e8;
  margin-top: 40px;
}

#colophon .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

.elementor-449 {
  padding: 0;
}

/* Footer top section */
.footer-top-section .elementor-container {
  display: flex;
  align-items: flex-start;
  padding: 40px 0 30px;
  gap: 40px;
}

/* Brand column */
.footer-brand-col {
  flex-shrink: 0;
  width: 240px;
}

.footer-logo-wrap {
  margin-bottom: 16px;
}

.footer-logo {
  width: 200px;
  height: auto;
}

/* Social */
.social-icons.show-tooltip.style-horizontal .list-icons {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons .list-icons li {
  list-style: none;
}

.social-icons .list-icons li.linkedin a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d0d0d8;
  color: #1c1c1c;
  font-size: 15px;
  position: relative;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.social-icons .list-icons li.linkedin a:hover {
  background: #c9a227;
  color: #fff;
  border-color: #c9a227;
  box-shadow: 0 2px 8px rgba(201,162,39,0.35);
}

.ts-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1c1c1c;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.social-icons .list-icons li a:hover .ts-tooltip {
  display: block;
}

/* Links column */
.footer-links-col {
  flex: 1;
}

.footer-links-col .elementor-widget-wrap>.elementor-inner-section .elementor-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Footer headings */
.elementor-449 .elementor-heading-title.elementor-size-default {
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1c;
  margin: 0 0 14px;
  font-family: Rubik;
}

.elementor-449 .elementor-heading-title.elementor-size-small {
  font-size: 13px;
  font-weight: 600;
  color: #3a3a3c;
  margin: 12px 0 6px;
  font-family: Rubik;
}

.elementor-449 .elementor-heading-title.elementor-size-small a {
  color: #3a3a3c;
}

.elementor-449 .elementor-heading-title.elementor-size-small a:hover {
  color: #c9a227;
}

/* Footer link lists */
.elementor-449 ul.nostyle li,
.elementor-449 ul.nostyle li a {
  font-size: 13px;
  color: #3a3a3c;
  line-height: 1.4;
  margin-bottom: 7px;
  font-family: Rubik;
}

.elementor-449 ul.nostyle li a:hover {
  color: #c9a227;
}

/* Icon list */
.elementor-449 .elementor-icon-list-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.elementor-449 .elementor-icon-list-item {
  display: flex;
  align-items: center;
  gap: 0;
}

/* When the whole li is an anchor */
.elementor-449 .elementor-icon-list-item > a {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #3a3a3c;
  text-decoration: none;
  transition: color 0.2s;
}

.elementor-449 .elementor-icon-list-item > a:hover {
  color: #c9a227;
}

.elementor-449 .elementor-icon-list-item > a:hover .elementor-icon-list-icon {
  color: #c9a227;
}

.elementor-449 .elementor-icon-list-icon {
  color: #3a3a3c;
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  transition: color 0.2s;
}

/* Standalone icon+text (not wrapped in anchor - e.g. email row) */
.elementor-449 .elementor-icon-list-item > .elementor-icon-list-icon + .elementor-icon-list-text {
  margin-left: 7px;
}

.elementor-449 .elementor-icon-list-text,
.elementor-449 .elementor-icon-list-text a {
  font-size: 13px;
  color: #3a3a3c;
  font-family: Rubik;
  text-decoration: none;
  transition: color 0.2s;
}

.elementor-449 .elementor-icon-list-text a:hover {
  color: #c9a227;
}

.elementor-449 .elementor-icon-list-text a:hover {
  color: #c9a227;
}

/* Divider */
.footer-divider-section {
  padding: 0;
}

.footer-divider-section .elementor-container {
  padding: 0;
}

.elementor-divider-separator {
  display: block;
  width: 100%;
  height: 1px;
  background: #d8d8e0;
}

/* Copyright */
.footer-copyright-section .elementor-container {
  padding: 14px 0;
}

.footer-copyright-section p {
  font-size: 13px;
  color: #6e6e73;
  margin: 0;
  font-family: Rubik;
}

/* ----------------------------------------------------------------
   SCROLL TO TOP
   ---------------------------------------------------------------- */
#to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999;
  background: #1c1c1c;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 0.2s;
}

#to-top.show {
  display: flex;
}

#to-top a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#to-top:hover {
  background: #c9a227;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet / below nav breakpoint */
@media only screen and (max-width: 1024px) {
  .header-bottom.menu-center {
    display: none;
  }

  .hamburger-wrap {
    display: flex;
  }

  #ts-mobile-button-bottom {
    display: flex;
  }

  .header-middle .container {
    height: 60px;
  }

  .logo .normal-logo {
    height: 44px;
  }

  .page-container.show_breadcrumb_v1 {
    padding: 20px 16px 80px;
  }

  .breadcrumb-content {
    padding: 12px 16px;
  }

  #colophon .container {
    padding: 0 16px;
  }
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .elementor-widget-heading .elementor-heading-title {
    font-size: 26px;
    line-height: 34px;
  }

  .sticker-img {
    max-width: 280px;
  }

  .sngmbh_container {
    padding: 0;
  }

  .footer-top-section .elementor-container {
    flex-direction: column;
  }

  .footer-brand-col {
    width: 100%;
  }

  .footer-links-col .elementor-widget-wrap>.elementor-inner-section .elementor-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  #to-top {
    bottom: 70px;
  }
}

@media only screen and (max-width: 480px) {
  .footer-links-col .elementor-widget-wrap>.elementor-inner-section .elementor-container {
    grid-template-columns: 1fr 1fr;
  }
}