/*
Theme Name: Optimax Controls
Theme URI: https://optimaxcontrols.com
Author: Optimax
Version: 1.0
Description: Custom theme for Optimax Controls
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  /* vertical-align: baseline; */
  font-family: "Roboto", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  padding-top: 140px;
}

body.admin-bar {
  padding-top: 172px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 186px;
  }
}

ol,
ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.top-notch-wrap {
  background: #146368;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

/* Offset top-notch-wrap when WP Admin Bar is active */
body.admin-bar .top-notch-wrap {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .top-notch-wrap {
    top: 46px;
  }
}

.m-wrap {
  position: fixed;
  top: 45px;
  z-index: 100;
  width: 100%;
  background: #fff;
  box-shadow: 0px 6px 12px 0px #0009;
}

/* Offset m-wrap when WP Admin Bar is active */
body.admin-bar .m-wrap {
  top: 77px;
  /* 45px + 32px */
}

@media screen and (max-width: 782px) {
  body.admin-bar .m-wrap {
    top: 91px;
    /* 45px + 46px */
  }
}

.swiper.heading-swiper {
  /* margin-top: 171px; */
  /* margin-top: 130px; */
}

.container.top-notch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.left-notch .icon-wrap {
  /* display: inline-block; */
  width: 25px;
  height: 25px;
  background: #fff;
  border-radius: 50px;
  transition: 0.4s ease-in-out;
  /* text-align: center; */
  overflow: hidden;
}

.left-notch .icon-wrap:hover {
  width: 120px;
}

.left-notch>a:nth-child(1) .icon-wrap:hover i {
  background-color: #4267b2;

  color: #fff;
}

.left-notch>a:nth-child(1) .icon-wrap:hover span {
  color: #4267b2;
}

.left-notch>a:nth-child(3) .icon-wrap:hover span {
  color: #e1306c;
}

.left-notch>a:nth-child(2) .icon-wrap:hover span {
  color: #ff0000;
}

.left-notch>a:nth-child(2) .icon-wrap:hover i {
  background-color: #ff0000;

  color: #fff;
}

.left-notch>a:nth-child(3) .icon-wrap:hover i {
  background: #f09433;
  background: -moz-linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  background: -webkit-linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  color: #fff;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

.left-notch .icon span {
  line-height: 25px;
  margin-left: 5px;
  text-align: center;
  color: #000;
}

.left-notch i {
  width: 25px;
  height: 25px;
  font-size: 15px;
  border-radius: 50px;
  background-color: #fff;
  line-height: 25px;
  color: #146368;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.left-notch,
.right-notch {
  display: flex;
  gap: 20px;
}

.log-wrap {
  position: relative;
  display: flex;
  gap: 20px;
}

.log-wrap::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  background-color: #fff;
  top: 19%;
  left: 43%;
  /* transform: translate(-50%, -55%); */
}

.log-wrap a {
  color: #fff;
  font-size: 13px;
  font-weight: 300;
}

.right-notch i {
  color: #fff;
}

.menu-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #fff;
}

.right-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* #menu-menu-chinh{
  display: flex;
  align-items: center;
  gap: 20px;
}


#menu-menu-chinh li a {
  color: #011a1c;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 15px;
} */


/* ===============================
   MAIN MENU LEVEL 1
================================ */

#menu-menu-chinh {
  display: flex;
  align-items: center;
  gap: 20px;
}

#menu-menu-chinh>li {
  position: relative;
}

#menu-menu-chinh>li>a {
  position: relative;
  padding: 0.2rem 0;
  display: inline-block;
  color: #011a1c;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 15px;
}

/* underline effect */
#menu-menu-chinh>li>a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #777;
  transition: width 0.25s ease;
}

#menu-menu-chinh>li:hover>a::before,
#menu-menu-chinh>li.current-menu-item>a::before {
  width: 100%;
}


/* ===============================
   SUB MENU LEVEL 2 (CATEGORY)
================================ */

#menu-menu-chinh>li>.sub-menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 250px;
  background: #1d2023;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 999;
}

#menu-menu-chinh>li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#menu-menu-chinh .sub-menu>li {
  position: relative;
}

#menu-menu-chinh .sub-menu>li>a {
  display: block;
  padding: 10px 10px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
}

#menu-menu-chinh .sub-menu>li>a:hover {
  background: rgba(255, 255, 255, 0.08);
}

#menu-menu-chinh .sub-menu>li.menu-item-has-children>a {
  padding-right: 25px;
}

#menu-menu-chinh .sub-menu>li.menu-item-has-children>a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #ffffff;
  opacity: 0.6;
  pointer-events: none;
}

#menu-menu-chinh .menu-item:has(.auto-posts)>a {
  /* padding-right: 36px; */
}

#menu-menu-chinh .menu-item:has(.auto-posts)>a::after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 14px;
  color: #fff;
}


/* ===============================
   SUB MENU LEVEL 3 (POSTS)
================================ */

#menu-menu-chinh .sub-menu .sub-menu {
  position: absolute;
  top: 0%;
  left: 100%;
  min-width: 450px;
  width: fit-content;
  background: #1d2023;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: 0.25s ease;
}

#menu-menu-chinh .sub-menu>li:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#menu-menu-chinh .sub-menu .sub-menu a {
  padding: 10px;
  font-weight: 400;
}

#menu-menu-chinh .sub-menu .sub-menu>a {
  display: none;
  padding: 0;
  margin: 0;
}



.request {
  padding: 10px 20px;
  background-color: #146368;
  border-radius: 5px;
  position: relative;
  /* overflow: hidden; */
  cursor: pointer;
  transition: 0.5s ease;
}

.request:hover {
  /* background-color: #06b8c5;
  box-shadow: 0 0 5px #06b8c5, 0 0 20px #06b8c5, 0 0 60px #06b8c5,
    0 0 150px #06b8c5; */
}

.request a {
  color: #fff;
  text-transform: capitalize;
  font-weight: 300;
  font-size: 13px;
}

.heading-swiper .slide {
  height: 800px;
  object-fit: cover;
}

.heading-swiper img {
  height: 100%;
  object-fit: cover;
}

.footer-wrap {
  background-color: #011a1c;
  color: #fff;
  padding-top: 50px;
}

.copyright {
  justify-content: center;
  align-items: center;
  font-size: 14px;
  padding: 20px 0;
  border-top: 2px solid #24b0b9;
}

.com-in4 {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 100px;
}

.footer-wrap .text {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.menu-footer-wrap,
.menu-footer {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-transform: capitalize;
}

.menu-footer-wrap {
  padding-top: 30px;
}

.menu-footer a:hover {
  color: #fff;
}

.menu-footer a {
  color: #949ba5;
  font-size: 14px;
  transition: 0.3s ease;
}

.com-in4 a,
.com-in4 {
  color: #949ba5;
}

.email a,
.phone a {
  transition: 0.3s ease;
}

.email:hover a,
.phone:hover a {
  color: #fff;
}

.email,
.phone,
.address {
  position: relative;
  overflow: hidden;
  padding-top: 30px;
}

.email:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.phone:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.address:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.address {
  cursor: pointer;
}

.email::before {
  content: "Email:";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2;
}

.phone::before {
  content: "Phone:";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2;
}

.address::before {
  content: "Address:";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-100%);
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
  z-index: 2;
}

#menu-menu-chinh li a {
  transition: 0.3s ease;
}

#menu-menu-chinh li a:hover {
  color: #02b5c1;
}

.hamburger {
  position: relative;
  width: 35px;
  height: 80px;
  overflow: hidden;
  cursor: pointer;
  display: none;
}

.hamburger span {
  display: inline-block;
  width: 25px;
  height: 2.5px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  transition: all 0.8s ease;
  pointer-events: none;
}

.hamburger.active span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  transform: translateX(100%);
}

.hamburger.active span:nth-child(3) {
  transform: translate(-50%, 0) rotate(315deg);
}

.hamburger span:nth-child(1) {
  transform: translate(-50%, -8px);
}

.hamburger span:nth-child(3) {
  transform: translate(-50%, 6px);
}

.menu-mobile-wrap {
  position: fixed;
  top: 145px;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: #002c2fbf;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding-top: 100px;
  /* text-align: center; */
  transform: translateX(100%) scaleY(0);
  transform-origin: top left;
  transition: 0.5s ease;
  opacity: 0;
  pointer-events: none;
}

.menu-mobile-wrap.active {
  transform: translateX(0) scaleY(1);
  opacity: 1;
  pointer-events: all;
}

#menu-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  height: fit-content;
}

#menu-mobile li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
}

.system-wrap {

  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  padding: 100px 0;
}

.sensor-wrap {
  background: #ecf8f7;
  padding: 0 0 50px 0;
}

.right-system {
  line-height: 1.6;
  font-weight: 300;
  font-size: 15px;
  padding-left: 92px;
}

.left-system {
  font-size: 45px;
  line-height: 1;
}

.last-system {
  text-align: center;
  margin-top: 80px;
}

.last-system p {
  font-size: 30px;
  margin-bottom: 20px;
}

.sen-wrap {
  position: relative;
  cursor: pointer;
}

.sticker {
  position: absolute;
  top: 5%;
  left: 6%;
}

.content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 6%;
}

.sen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #000;
  transition: 0.3s ease;
}

.sticker {
  width: 62px;
  height: 62px;
  padding: 6px;
  background-color: #fff;
  border: 1px solid #146368;
  border-radius: 10px;
}

.sticker img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.c-title {
  /* color: #fff; */
  font-size: 25px;
  font-weight: 700;
}

.c-desc {
  color: #011a1c;
  /* color: #fff; */
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  margin: 25px 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  height: 58.5px;
  overflow: hidden;
}

.more {
  margin-bottom: 20px;
}

.more a {
  position: relative;
  /* text-decoration: underline; */
  color: #011a1c;
  text-transform: capitalize;
  font-weight: 300;
  font-size: 13px;
  transition: 0.3s ease;
}

.more a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  background-color: #fff;
  font-weight: 300;
  bottom: 0px;
  transition: 0.3s ease;
  /* transition-delay: 0.3s; */
}

.sen:hover {
  background-color: #00000095;
  color: #fff;
}

.sen:hover .c-desc {
  color: #fff;
}

.sen:hover a {
  color: #fff;
}

.sen:hover a::before {
  width: 100%;
}

.sensor-desc {
  color: #681914;
  font-size: 25px;
  margin-bottom: 50px;
  font-weight: 400;
  width: 60%;
}

.sensor-desc span {
  font-weight: bold;
}

.optimax-solution img {
  height: 700px;
  object-fit: cover;
}

.op-content {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  z-index: 3;
}

.op-content p {
  color: #fff;
  text-transform: uppercase;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 40px;
}

.more-click a {
  color: #fff;
  font-size: 15px;
  font-weight: 300;
  text-transform: none;
}

.more-click:hover a::before {
  width: 100%;
}

.op-content p::first-line {
  font-size: 80px;
}

.optimax-solution {
  position: relative;
}

.optimax-solution::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  background-color: #00000065;
  z-index: 2;
}

.right-notch .icon {
  cursor: pointer;
}

/* archive product  */
.archive-header-banner {
  background-color: #f6f6f6;
  padding: 40px 0;
  margin-bottom: 40px;
}

.archive-header-banner .page-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.archive-header-banner .woocommerce-breadcrumb {
  font-size: 13px;
  color: #999;
  margin: 0;
  padding: 0;
}

.archive-header-banner .woocommerce-breadcrumb a {
  color: #999;
}

.archive-header-banner .woocommerce-breadcrumb a:hover {
  color: #146368;
}

.shop-toolbar-wrapper {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.shop-toolbar-wrapper .woocommerce-result-count {
  margin: 0;
  color: #666;
  font-size: 14px;
  order: 2;
}

.shop-toolbar-wrapper .woocommerce-ordering {
  margin: 0;
  order: 1;
}

.shop-toolbar-wrapper .woocommerce-ordering select {
  padding: 8px 10px;
  border: 1px solid #e5e5e5;
  border-radius: 0px;
  outline: none;
  font-size: 14px;
  color: #666;
  min-width: 200px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product a {
  color: black;
}

.woocommerce ul.products li.product {
  border: 1px solid #eaeaea;
  padding-bottom: 25px;
  text-align: center;
  transition: all 0.3s ease;
  background: #fff;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.woocommerce ul.products li.product img {
  margin: 0;
  width: 100%;
  height: auto;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px;
  font-weight: 700;
  color: #5d5d5d;
  margin: 20px 20px 15px 20px;
  line-height: 1.5;
}

.woocommerce ul.products li.product .button {
  background-color: #6a6a6a;
  color: #fff;
  border-radius: 0px;
  padding: 10px 25px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #4a4a4a;
  color: #fff;
}


/* single product  */
.product-breadcrumb {
  margin: 1rem 0 0 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin: 2rem 0 10rem 0;
  /* padding: 40px 0; */
}

/* Sidebar */
.product-sidebar h3 {
  font-size: 15px;
  margin-bottom: 20px;
}

.product-sidebar ul {
  list-style: none;
  padding: 0;
}

.product-sidebar li {
  padding: 2px 0;
  border-bottom: 1px solid #eee;
}

.product-sidebar a {
  text-decoration: none;
  color: #444;
}

/* Main */
.product-title {
  font-size: 32px;
  margin-bottom: 30px;
}

.product-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.product-image img {
  width: 100%;
}

.product-summary ul {
  /* padding-left: 18px; */
}

.product-categories {
  margin-top: 20px;
}

.product-categories a {
  color: #444;
  /* text-decoration: underline; */
}

/* Tabs */
.product-tabs {
  margin-top: 50px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.related-docs li {
  margin-bottom: 10px;
}

.related-docs a {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.related-docs a:hover {
  color: #146368;
}

.related-docs i {
  color: #146368;
  font-size: 16px;
}

.tab-buttons {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding-bottom: 5px;
}

.tab-btn.active {
  border-bottom: 3px solid #444;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* single news  */
.news-container {
  max-width: 900px;
  margin: 80px auto;
}

.news-date-top {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.news-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.news-content {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.news-content p {
  margin-bottom: 18px;
}

.news-meta-bottom {
  margin-top: 40px;
  font-size: 13px;
  color: #777;
}

.news-meta-bottom a {
  color: #0c4da2;
  text-decoration: none;
}

.author-box {
  margin-top: 40px;
  padding: 30px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  gap: 20px;
}

.related-news {
  padding: 80px 0;
  background: #f9fbfd;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ===== PRODUCT DESCRIPTION FIX ===== */

.tab-content {
  line-height: 1.8;
  font-size: 16px;
  color: #222;
}

/* Strong phải đậm lại */
.tab-content strong {
  font-weight: 700 !important;
}

/* Paragraph spacing */
.tab-content p {
  margin-bottom: 18px;
}

/* TABLE STYLE */
.tab-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.tab-content table th,
.tab-content table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.tab-content table th {
  background: #f5f5f5;
  font-weight: 600;
}

.tab-content table tr:nth-child(even) {
  background: #fafafa;
}

/* IMAGE FIX */
.tab-content img {
  max-width: 100%;
  height: auto;
  margin: 20px 10px 0 0;
}

@media (max-width: 1200px) {
  #menu-menu-chinh li a {
    font-size: 13px;
  }
}

@media (max-width: 962px) {
  #menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  #menu-mobile li {
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #menu-mobile>li>a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    font-size: 19px;
    text-transform: uppercase;
  }

  /* ===============================
     SUB MENU
  ================================ */

  #menu-mobile .sub-menu {
    display: none;
    position: static;
    /* background: #1d2023; */
  }

  #menu-mobile li.open>.sub-menu {
    display: block;
  }

  #menu-mobile .sub-menu a {

    font-size: 19px;
    text-transform: none;
  }

  #menu-mobile .sub-menu li {
    padding: 10px 0;
    ;
  }

  /* level 3 */
  #menu-mobile .sub-menu .sub-menu {
    background: #262a2f;
  }

  #menu-mobile .sub-menu .sub-menu a {
    /* padding-left: 48px; */
    font-size: 14px;
  }

  /* ===============================
     ARROW
  ================================ */

  #menu-mobile .menu-item-has-children>a {
    position: relative;
    padding-right: 44px;
  }

  #menu-mobile .menu-item-has-children>a::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotateX(180deg);
    font-size: 20px;
    opacity: 0.7;
  }

  #menu-mobile li.open>a::after {
    content: "−";
  }

  .right-system {
    padding-left: 0;
  }

  .hamburger {
    display: block;
  }

  #menu-menu-chinh {
    display: none;
  }

  .menu-footer-wrap {
    text-align: center;
  }

  .left-menu img {
    width: 70%;
  }

  .com-in4 {
    margin-bottom: 10px;
    gap: 20px;
  }

  .phone,
  .address,
  .email {
    text-align: center;
    font-size: 15px;
  }

  .phone::before,
  .email::before,
  .address::before {
    width: 100%;
    text-align: center;
    transform: unset;

    opacity: unset;
  }

  .footer-wrap {
    padding-top: 20px;
  }

  .copyright {
    font-size: 12px;

    margin-top: 30px;
  }

  .menu-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .swiper.heading-swiper {
    margin-top: 145px;
  }

  .heading-swiper .slide {
    height: 500px;
  }

  .right-system {
    margin-top: 30px;
  }

  .sen-wrap {
    margin-bottom: 20px;
  }

  .optimax-solution img {
    height: 500px;
  }

  .sensor-desc {
    width: 100%;
  }
}

@media (max-width: 762px) {



  .footer-wrap .col-lg-2.col-6 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-footer-wrap {
    text-align: center;
    width: fit-content;
  }

  .op-content p::first-line {
    font-size: 50px;
  }

  .op-content p {
    font-size: 25px;
  }

  .optimax-solution img {
    height: 400px;
  }

  /* .sen {
    background-color: #00000095;
    color: #fff;
  } */
  .c-desc {
    margin: 12px 0;
  }

  .sen-wrap {
    margin-bottom: 20px;
  }

  .c-title {
    font-size: 18px;
  }

  .sticker {
    width: 40px;
    height: 40px;
  }

  .sensor-desc {
    font-size: 20px;
  }

  .last-system img {
    width: 50%;
  }

  .last-system p {
    font-size: 17px;
  }

  .last-system {
    margin-top: 30px;
  }

  .right-system {
    margin-top: 30px;
    /* text-align: justify; */
    padding-left: 0;
  }

  .left-system {
    font-size: 30px;
  }

  .system-wrap {
    padding: 50px 0;
  }

  .heading-swiper .slide {
    height: 300px;
  }

  .menu-footer-wrap {
    /* text-align: unset; */
  }

  .copyright {
    font-size: 7px;

    margin-top: 30px;
  }
}

@media (max-width: 500px) {
  .request {
    padding: 10px 10px;
  }

  .c-title {
    font-size: 15px;
  }

  .sensor-wrap {
    background: #ecf8f7;
    padding: 30px 0;
  }
}

/* Blog Archive Styles (List Redesign) */

.blog-hero-banner {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}

.blog-archive-header {
  margin-bottom: 40px;
}

.blog-archive-header .page-title {
  font-size: 32px;
  font-weight: 700;
  color: #666;
  /* Matching the grey styling in the example */
}

.archive-blog-container {
  padding-bottom: 60px;
}

.posts-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.post-list-item {
  display: flex;
  gap: 30px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

/* Image Column */
.post-thumbnail-wrap {
  position: relative;
  flex: 0 0 400px;
  max-width: 400px;
  overflow: hidden;
}

.post-thumbnail-wrap img {
  width: 100%;
  /* height: 250px; */
  object-fit: contain;
  display: block;
}

.no-thumb-placeholder {
  display: block;
  width: 100%;
  height: 250px;
  background-color: #eaeaea;
}

/* Overlays */
.post-date-box {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #fff;
  padding: 8px 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.post-date-box .month {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2px;
  margin-bottom: 2px;
}

.post-date-box .day {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.post-date-box .year {
  font-size: 10px;
  font-weight: 600;
  color: #666;
}

.post-thumb-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 15px;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
  z-index: 2;
}

/* Content Column */
.post-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5px;
}

.post-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.post-title a {
  color: #666;
  /* Subdued title color matching reference image */
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #146368;
}

.post-meta-inline {
  font-size: 13px;
  color: #666;
  margin-bottom: 13px;
  display: inline-block;
}

.post-excerpt {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  display: inline;
}

.details-link {
  font-size: 13px;
  font-weight: 700;
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
  margin-top: 0;
}

.details-link:hover {
  color: #146368;
}

/* Responsive Listing */
@media (max-width: 768px) {
  .post-list-item {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
  }

  .post-thumbnail-wrap {
    flex: 0 0 auto;
    max-width: 100%;
  }
}


.pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 8px 15px;
  background: #f6f6f6;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  background: #146368;
  color: #fff;

}

/* ==========================================
   PAGE CONTENT RESET REVERSION
   Allows Gutenberg editor tags (h1-h6, b, em) 
   to render correctly on the frontend with 
   native browser sizes, ignoring the theme reset.
   ========================================== */
.page-content {
  font-family: "Roboto", sans-serif;
  color: #4b4b4b;
  line-height: 1.8;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  font-size: revert;
  font-weight: revert;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.3;
  color: #111;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content strong,
.page-content b {
  font-weight: bold;
}

.page-content em,
.page-content i {
  font-style: italic;
}

.page-content ul,
.page-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-content ul {
  list-style-type: disc;
}

.page-content ol {
  list-style-type: decimal;
}

.page-content a {
  text-decoration: underline;
  color: #146368;
}

.page-content blockquote {
  font-size: 1.1em;
  font-style: italic;
  border-left: 4px solid #146368;
  margin: 20px 0;
  color: #666;
  background: #f9f9f9;
  padding: 15px 20px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 15px 0;
}

/* ====================================================================
   PRODUCT PAGE LAYOUT & SIDEBAR
   ==================================================================== */
.product-page {
  padding: 20px 0;
}

.product-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.product-sidebar {
  flex: 0 0 280px;
  background: #f9f9f9;
  padding: 30px 25px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
}

.product-content {
  flex: 1;
  min-width: 0;
}

.product-sidebar h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #146368;
  text-transform: uppercase;
}

.product-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-sidebar ul li {
  /* margin-bottom: 12px; */
}

.product-sidebar ul li:last-child {
  margin-bottom: 0;
}

.product-sidebar ul li a {
  color: #555;
  font-size: 15px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.5;
}



.product-sidebar ul li a:hover {
  color: #146368;
  padding-left: 5px;
}

.product-sidebar ul li a:hover::before {
  color: #146368;
}

/* ===============================
   PRODUCT SIDEBAR ACCORDION
================================ */
.product-sidebar ul.children {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
}

.product-sidebar li.cat-item-has-children {
  position: relative;
}

.product-sidebar li.cat-item-has-children.open>ul.children {
  display: block;
}

.product-sidebar .cat-toggle {
  position: absolute;
  right: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ccc;
  transition: transform 0.3s ease;
  z-index: 10;
}

.product-sidebar li.cat-item-has-children.open>.cat-toggle {
  transform: rotate(180deg);
}

.product-sidebar .cat-toggle:hover {
  color: #146368;
}

/* Make product layout stacked on mobile */
@media (max-width: 991px) {
  .product-layout {
    flex-direction: column;
  }

  .product-sidebar {
    flex: 1 1 100%;
    width: 100%;
    margin-bottom: 40px;
  }
}