/* Super Pack Solution - responsive hardening layer
   Loaded after floens.css so it only corrects layout issues without changing desktop styling. */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
}

img,
video,
canvas {
  height: auto;
}

/* CMS/rich text content should never force the viewport wider. */
.product-detail-content,
.section-space,
.section-space-two,
.contact-one,
.about-two,
.faq-one,
.blog-one,
.main-footer {
  overflow-wrap: anywhere;
  word-break: normal;
}

.product-detail-content table,
.section-space table,
.section-space-two table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-detail-content iframe,
.section-space iframe,
.section-space-two iframe,
.contact-map iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.product-detail-content pre,
.section-space pre,
.section-space-two pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* Undo an old product-image rule that forced 150% width / 570px height. */
.product-detail-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 1199px) {
  .main-header--two .main-header__inner {
    gap: 16px;
  }

  .main-header--two .main-header__left {
    min-width: 0;
  }

  .main-header--two .main-header__logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .main-header--two .main-header__logo img {
    width: clamp(125px, 20vw, 185px);
    max-width: 100%;
    height: auto;
  }

  .main-header--two .main-header__right {
    flex: 0 0 auto;
    gap: 18px;
  }

  .main-header--two .main-header__right > * {
    margin-left: 0 !important;
  }

  .main-header--two .main-header__cart {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 991px) {
  .section-space,
  .section-space-two,
  .section-space-top {
    padding-top: 70px;
  }

  .section-space,
  .section-space-two,
  .section-space-bottom {
    padding-bottom: 70px;
  }

  .page-header {
    padding-top: 64px;
    padding-bottom: 64px;
    min-height: 190px;
    display: flex;
    align-items: center;
  }

  .page-header .container {
    width: 100%;
  }

  .page-header__bg {
    background-size: cover !important;
    background-position: center !important;
  }

  .page-header__content {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
  }

  .page-header__title {
    max-width: 100%;
    font-size: clamp(30px, 6vw, 40px) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }

  .floens-breadcrumb {
    row-gap: 5px;
  }

  .product-detail-area {
    padding: 45px 0;
  }

  .product-detail-content {
    padding-left: 0;
  }

  .product-detail-title h2,
  .sec-title__title {
    overflow-wrap: anywhere;
  }

  .main-footer__top {
    padding-top: 60px;
  }
}

@media (max-width: 767px) {
  .container,
  .container-fluid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-space,
  .section-space-two,
  .section-space-top {
    padding-top: 55px;
  }

  .section-space,
  .section-space-two,
  .section-space-bottom {
    padding-bottom: 55px;
  }

  .main-header--two .container-fluid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .main-header--two .main-header__inner {
    min-height: 72px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .main-header--two .main-header__logo img {
    width: 145px !important;
  }

  .main-header--two .main-header__right {
    gap: 14px;
  }

  .main-header--two .main-header__sidebar-btn {
    margin-left: 0 !important;
  }

  .main-header--two .main-header__sidebar-btn::before {
    display: none;
  }

  .mobile-nav__btn {
    width: 30px;
    margin-left: 0;
  }

  .mobile-nav__content {
    width: min(88vw, 340px);
    padding: 24px 16px;
  }

  .mobile-nav__content .logo-box {
    margin-bottom: 28px;
    padding-right: 36px;
  }

  .mobile-nav__content .logo-box img {
    width: 150px;
    height: auto;
  }

  .mobile-nav__content .main-menu__list li > a,
  .mobile-nav__content .products-dropdown ul li > a {
    height: auto !important;
    min-height: 48px !important;
    padding-top: 9px;
    padding-bottom: 9px;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .mobile-nav__content .product-menu-scroll > li,
  .mobile-nav__content .product-menu-scroll > li > a {
    height: auto !important;
    min-height: 50px !important;
    flex-basis: auto !important;
  }

  .mobile-nav__content .products-dropdown .product-menu-scroll {
    max-height: min(46vh, 280px) !important;
  }

  .page-header {
    min-height: 165px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .page-header__title {
    font-size: clamp(27px, 8vw, 34px) !important;
    margin-bottom: 10px;
  }

  .floens-breadcrumb li {
    font-size: 14px;
  }

  .product-detail-area {
    padding: 36px 0 45px;
  }

  .product-detail-image {
    margin-bottom: 26px;
  }

  .product-detail-image img + img {
    margin-top: 14px !important;
  }

  .product-detail-title h2 {
    font-size: clamp(26px, 8vw, 32px);
  }

  .product-detail-content > p,
  .product-detail-content li,
  .product-detail-content td,
  .product-detail-content th {
    font-size: 15px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .products-grid > div {
    min-width: 0;
    padding: 10px;
  }

  .products-grid img {
    height: 190px;
  }

  .service-card-two,
  .blog-card,
  .footer-widget {
    max-width: 100%;
  }

  .service-card-two__image img,
  .blog-card img {
    width: 100%;
    object-fit: cover;
  }

  .footer-widget__logo img {
    width: min(210px, 72vw) !important;
    height: auto;
  }

  .footer-widget__newsletter {
    max-width: 100%;
  }

  .main-footer__bottom__inner {
    padding: 28px 0 30px;
  }

  .callBtn,
  .whatsAppBtn {
    width: 48px !important;
    height: 48px !important;
    right: 10px !important;
    left: auto !important;
  }

  .callBtn {
    bottom: 70px !important;
  }

  .whatsAppBtn {
    bottom: 12px !important;
  }
}

@media (max-width: 575px) {
  .main-header--two .main-header__logo img {
    width: 128px !important;
  }

  /* Keep the phone header clean: logo + menu button. Search/sidebar/translate
     remain available on larger screens and otherwise consume too much width. */
  .main-header--two .main-header__cart,
  .main-header--two .main-header__search,
  .main-header--two .main-header__sidebar-btn,
  .main-header--two .main-header__btn {
    display: none !important;
  }

  .main-header--two .main-header__right {
    gap: 0;
  }

  .mobile-nav__btn {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .mobile-nav__btn span {
    width: 26px;
  }

  .section-space,
  .section-space-two,
  .section-space-top {
    padding-top: 44px;
  }

  .section-space,
  .section-space-two,
  .section-space-bottom {
    padding-bottom: 44px;
  }

  .page-header {
    min-height: 145px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .page-header__title {
    font-size: clamp(25px, 8.7vw, 31px) !important;
  }

  .sec-title__title {
    font-size: clamp(28px, 9vw, 38px) !important;
    line-height: 1.15;
  }

  .sec-title__title br {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .products-grid img {
    height: auto;
    max-height: 260px;
    object-fit: contain;
  }

  .product-feature-box {
    gap: 10px;
    padding: 13px;
  }

  .floens-btn {
    max-width: 100%;
  }

  form input,
  form select,
  form textarea,
  form button {
    max-width: 100%;
  }

  .contact-one input,
  .contact-one select,
  .contact-one textarea,
  .footer-widget__newsletter input {
    font-size: 16px; /* avoids iOS input zoom */
  }
}

@media (max-width: 380px) {
  .container,
  .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-header--two .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .main-header--two .main-header__logo img {
    width: 116px !important;
  }

  .mobile-nav__content {
    width: 92vw;
  }
}

/* Mobile category access: visible directly below the header so category
   navigation does not depend on the theme's nested accordion. */
.mobile-category-bar {
  display: none;
}

@media (max-width: 991px) {
  .mobile-category-bar {
    display: block;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(13, 43, 74, 0.08);
    border-bottom: 1px solid rgba(13, 43, 74, 0.12);
    position: relative;
    z-index: 90;
  }

  .mobile-category-bar__inner {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 14px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-category-bar__inner::-webkit-scrollbar {
    display: none;
  }

  .mobile-category-bar__label {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: #0d2b4a;
  }

  .mobile-category-bar a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 12px;
    border: 1px solid rgba(216, 150, 68, 0.42);
    border-radius: 999px;
    background: #fffaf4;
    color: #0d2b4a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
  }

  /* Always make the Products row an accordion trigger on mobile. The server
     adds .dropdown even when an older saved header block omitted that class. */
  .mobile-nav__content .main-menu__list > li.products-dropdown > a {
    min-height: 50px !important;
  }

  .mobile-nav__content .products-dropdown > ul > li > a {
    font-weight: 600;
  }
}

@media (max-width: 575px) {
  .mobile-category-bar__inner {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* 2026-10-06: mobile hamburger navigation hardening */
.mobile-category-bar { display: none !important; }
@media (max-width: 1199px) {
  .main-header__nav.main-menu { display: none !important; }
  .mobile-nav__btn.mobile-nav__toggler {
    display: flex !important;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }
  .mobile-nav__wrapper { z-index: 999999 !important; }
  .mobile-nav__wrapper.expanded { visibility: visible; }
  .mobile-nav__wrapper.expanded .mobile-nav__overlay { opacity: 1; visibility: visible; }
  .mobile-nav__wrapper.expanded .mobile-nav__content { transform: translateX(0); visibility: visible; }
  .mobile-nav__container { display: block !important; }
  .mobile-nav__container .main-menu__list { display: block !important; width: 100%; }
  .mobile-nav__container .main-menu__list > li { display: block; width: 100%; }
  .mobile-nav__container .main-menu__list > li > a { width: 100%; }
}

/* Product details must stay visible even when old imported theme CSS exists. */
.product-detail-area,
.product-detail-area .product-detail-row,
.product-detail-area .product-detail-content,
.product-detail-area .product-detail-image {
  visibility: visible !important;
  opacity: 1 !important;
}
.product-detail-area { display: block !important; }

/* Compact product-detail rich content.
   Features/description and specifications stay fully available, but long
   sections scroll internally so the detail page does not become excessively tall. */
.product-detail-scroll {
  width: 100%;
  max-height: 245px;
  overflow-y: auto;
  overflow-x: auto;
  padding: 14px 14px 14px 16px;
  margin: 14px 0 18px;
  border: 1px solid rgba(13, 43, 74, 0.12);
  border-radius: 10px;
  background: rgba(250, 248, 244, 0.62);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.product-detail-scroll > :first-child {
  margin-top: 0 !important;
}

.product-detail-scroll > :last-child {
  margin-bottom: 0 !important;
}

.product-detail-scroll ul,
.product-detail-scroll ol {
  margin-bottom: 0;
  padding-right: 4px;
}

.product-detail-scroll li {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* The outer section handles vertical and horizontal scrolling, so tables can
   remain proper tables instead of creating a second scrollbar. */
.product-detail-content .product-detail-specifications table {
  display: table;
  width: 100%;
  min-width: 520px;
  overflow: visible;
  margin-bottom: 0;
}

.product-detail-specifications th,
.product-detail-specifications td {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  vertical-align: middle;
}

.product-detail-price {
  margin: 12px 0 8px;
  font-weight: 700;
}

.product-detail-quote {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .product-detail-scroll {
    max-height: 205px;
    padding: 11px 10px 11px 13px;
    margin: 12px 0 15px;
    border-radius: 8px;
  }

  .product-detail-scroll li {
    padding-top: 4px;
    padding-bottom: 4px;
    line-height: 1.45;
  }

  .product-detail-content .product-detail-specifications table {
    min-width: 430px;
  }

  .product-detail-specifications th,
  .product-detail-specifications td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}

@media (max-width: 575px) {
  .product-detail-scroll {
    max-height: 190px;
  }

  .product-detail-content {
    margin-top: 2px;
  }

  .product-detail-summary {
    margin-bottom: 10px;
  }
}
