:root {
  --primary-blue: #000000;
  --primary-blue-hover: #333333;
  --dark-navy: #000000;
  --dark-navy-light: #1a1a1a;
  --bg-page-light: #ffffff;
  --bg-card: #ffffff;
  --section-bg: #f5f5f5;
  --hero-banner: #bae6fd;
  --text-dark: #000000;
  --text-muted: #666666;
  --text-white: #ffffff;
  --border-color: #cccccc;
  --btn-warning-bg: #d97706;
  --btn-warning-hover: #333333;

  --font-section-title: 1.75rem;
  --font-cta-heading: 1.5rem;
  --font-product-title: 0.95rem;
  --font-body-small: 0.875rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-xxl: 2rem;
  --space-section: 2.5rem;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}
/* ================= GLOBAL & LAYOUT UTILITIES ================= */
body {
  background-color: var(--bg-page-light);
  color: var(--text-dark);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    sans-serif;
}

.mainn {
  background-color: var(--section-bg);
}

.sectionnew {
  padding: var(--space-section) 0;
}

/* Base Form Inputs */
.form-control {
  background-color: #ffffff;
  border: 1px solid var(--border-color) !important;
}

.form-control:focus {
  outline: 0 !important;
  border-color: var(--primary-blue) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 204, 0.15);
}

.featured-products-section,
.featured-tags-section {
  padding: var(--space-section) 0;
  background-color: var(--bg-page-light);
}
/* ================= BUTTONS ================= */
.main-btn {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border: 1px solid var(--primary-blue);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  margin-right:10px;
}

.main-btn:hover {
  background-color: var(--primary-blue-hover);
  color: var(--text-white);
  border-color: var(--primary-blue-hover);
}

.main-btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.main-btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--text-white);
}

/* ================= HERO SECTION & BADGES ================= */
.hero-badges .badge-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-body-small);
  font-weight: var(--fw-medium);
  color: var(--text-dark);
  background-color: var(--bg-card);
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  border: 1px solid rgba(0, 168, 204, 0.2);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  margin-right: var(--space-sm);
  margin-top: var(--space-md);
}

.hero-badges .badge-item i {
  color: var(--primary-blue);
}

.fw-bold {
    font-weight: var(--fw-bold) !important;
}
.text-muted {
    --bs-text-opacity: 1;
    color: var(--bs-secondary-color) !important;
}
.section-title {
    font-size: var(--font-section-title);
    font-weight: var(--fw-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}
/* ================= CATEGORY CARDS ================= */
.service-list__item {
  margin-bottom: var(--space-md);
}

.service-list__item a {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-weight: var(--fw-medium);
  padding: var(--space-md) var(--space-lg);
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.service-list__item a:hover {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border-color: var(--primary-blue);
  box-shadow: 0 4px 10px rgba(0, 168, 204, 0.2);
  transform: translateY(-2px);
}

.category1 {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category1:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
}

.categoryname {
  color: var(--text-dark);
  font-size: var(--font-body-small);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-sm);
}
/* ================= PRODUCT & TAG CARDS ================= */
.tag-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
}

.tag-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
  border-color: var(--primary-blue);
}

.tag-card .img-wrapper {
  background: #ffffff;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: var(--space-lg); */
}

.tag-card .img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.tag-card .card-body {
  text-align: center;
  background-color: var(--bg-card) !important;
  /* border-top: 1px solid var(--border-color); */
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease-in-out;
  padding-bottom: 15px;
  overflow: hidden;
  margin-bottom: 0px;
}

.product-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 16px rgba(0, 168, 204, 0.15);
}

.product-card .img-box {
  background-color: #ffffff;
  /* border-bottom: 1px solid var(--border-color); */
  padding-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-title {
  font-size: var(--font-product-title);
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  text-align: center;
  color: var(--text-dark);
  margin: 0;
}

.product-title a {
  color: var(--text-dark);
  text-decoration: none;
}

.product-title a:hover {
  color: var(--primary-blue);
}

/* ================= SIDEBAR CATEGORY ================= */
.liststylenone li {
  background-color: var(--border-color);
}

.liststylenone li:hover {
  background-color: #ffffff;
}

.productmedia {
  height: 200px;
  border-bottom: 1px solid var(--border-color);
}

.productmedia a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.productmedia img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.lastproduct:hover {
  border: 1px solid #d0e3ff;
}

/* ================= RFID BANNERS (OVERLAY CARDS) ================= */
.rfid-card {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius-md);
  /* border: 1px solid var(--border-color); */
  overflow: hidden;
}

.card-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, 0.9) 0%,
    rgba(11, 19, 41, 0.3) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.card-overlay .product-title a {
  color: var(--text-white) !important;
}

/* ================= PROMO SPLIT CARDS SECTION ================= */
.promo-split-section {
  background-color: var(--bg-page-light);
}

.promo-split-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: start !important;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.promo-split-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.promo-split-card.reverse-layout {
  flex-direction: row;
  align-items: start;
}

.split-img-box {
  width: 45%;
  height: 220px;
  background: var(--bg-image-box);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  flex-shrink: 0;
}

.split-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.split-content-box {
  width: 55%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.promo-badge.badge-accent {
  color: #0284c7;
}

.promo-title {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.promo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.promo-tags .tag {
  background-color: var(--bg-page-light);
  border: 1px solid var(--border-color);
  color: var(--text-slate);
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: var(--fw-medium);
}

.btn-promo-link {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-promo-link:hover {
  color: var(--primary-blue-hover);
}

/* ================= BLOG CARDS ================= */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-blue);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
}

.blog-img-box {
  height: 180px;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.blog-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-img-box img {
  transform: scale(1.03);
}

.blog-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.blog-title a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1rem;
  font-weight: var(--fw-semibold);
}

.blog-title a:hover {
  color: var(--primary-blue);
}

.blog-excerpt {
  font-size: var(--font-body-small);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.read-more-btn {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: var(--primary-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.read-more-btn:hover {
  color: var(--primary-blue-hover);
}
/* ================= CTA BANNER ================= */
.cta-banner {
  background: linear-gradient(
    135deg,
    var(--dark-navy) 0%,
    var(--dark-navy-light) 100%
  );
  border-radius: var(--radius-xl);
  padding: var(--space-xl) 35px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.cta-banner h3 {
  font-size: var(--font-cta-heading);
  line-height: 1.3;
  color: var(--text-white);
}

.cta-banner .btn-warning {
  background-color: var(--btn-warning-bg);
  border-color: var(--btn-warning-bg);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  transition: all 0.2s ease;
}

.cta-banner .btn-warning:hover {
  background-color: var(--btn-warning-hover);
  border-color: var(--btn-warning-hover);
  color: var(--text-white);
}

/* Tablet & Mobile Screens (Up to 991px) */
@media (max-width: 991.98px) {
  .cta-banner {
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
  }

  .cta-banner h3 {
    font-size: 1.25rem;
  }

  .cta-banner .d-flex {
    width: 100%;
    justify-content: center;
  }

  .rfid-card {
    height: 180px;
  }

  .barcodefont {
    font-size: 24px;
  }
}

/* Mobile Screens (Up to 767px) */
@media (max-width: 767.98px) {
  :root {
    --font-section-title: 1.35rem;
    --space-section: 1.75rem;
  }

  .hero-badges .badge-item {
    font-size: 0.8125rem;
    margin-right: var(--space-sm);
  }

  .productmedia {
    height: 150px;
  }

  .overlay-link {
    font-size: 0.8125rem;
    white-space: normal;
  }

  .promo-split-card,
  .promo-split-card.reverse-layout {
    flex-direction: column;
  }

  .split-img-box,
  .split-content-box {
    width: 100%;
  }

  .split-img-box {
    height: 160px;
  }

  .product-title {
    width: 300px;
    margin: auto;
    line-height: 1.1;
    font-size: 14px !important;
  }

  .tag-card .img-wrapper {
    height: auto;
  }
}
