body {
  text-decoration: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.div-general {
  padding: 64px 10px 64px 10px;
}

/* ----- Split image / text sections ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1100px;
  margin: auto;
  padding: 70px 30px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: 0 18px 40px rgba(5,69,129,0.18);
}

.split-body {
  text-align: left;
}

.split-body .section-head {
  text-align: left;
  margin-bottom: 16px;
}

.split-body .section-text {
  margin-bottom: 28px;
}

.split--reverse .split-media {
  order: 2;
}

/* ----- Products grid (products.php) ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 36px auto 0 auto;
}

/* Tiles reuse the carousel .item card, but the carousel relies on absolute
   positioning + fixed height. In the grid we reset to normal flex flow so
   titles/descriptions/links stack cleanly inside each cell. */
.products-grid .item {
  height: auto;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.products-grid .item:hover {
  box-shadow: 0 10px 24px rgba(5,69,129,0.16);
  transform: translateY(-3px);
}

.products-grid .item-img {
  height: 180px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Cancel the carousel's absolute-centering and just center with flexbox,
   capping both dimensions so images sit neatly inside the tile. */
.products-grid .product-img {
  position: static;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: 0;
}

.products-grid .product-meta {
  position: static;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  margin-top: 16px;
}

.products-grid .product-title {
  height: auto;
  margin-bottom: 8px;
}

.products-grid .product-description {
  margin-bottom: 18px;
}

.products-grid .product-view-more {
  position: static;
  width: auto;
  margin-top: auto;
}

@media only screen and (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
  }

  .products-grid .item-img {
    height: 130px;
  }
}

/* ----- International CTA band ----- */
.div-international {
  background: var(--navy-deep);
  color: white;
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 24px;
  border-radius: 16px;
}

.div-international .section-head {
  color: white;
}

.div-international .section-text {
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 28px auto;
}

@media only screen and (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 24px;
  }

  .split-media img {
    height: 240px;
  }

  .split-body,
  .split-body .section-head {
    text-align: center;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .div-international {
    border-radius: 0;
    padding: 44px 20px;
  }
}

.section-head {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-family: 'Inter', sans-serif;
  text-align: center;
  color: var(--navy);
}

.section-text {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: var(--muted);
}

#contact .container-sub {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(25px, 1fr) );
  padding-top: 40px;
}

.services-holder {
  margin-top: 30px;
}

.about-content {
  color: white;
  text-align: center;
  background-color: var(--navy);
}

.about-content .section-text {
  color: rgba(255,255,255,0.75);
}

.main-section .client-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-content: center;
  justify-items: center;
  grid-gap: 30px;
  padding: 0 20px 0 20px;
  margin: 30px 0 15px 0;
}

.client-container .img-holder {
  width: 150px;
  height: 100px;
  max-width: 100%;
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.client-img {
  max-width: 90%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.div-questions {
    padding: 0 10px 10px 20px;
    margin: 20px 0 20px 0;
}

/*------- International Page -------*/
#section-content-container {
  padding-top: 30px;
}

.content-div {
  padding: 10px 30px;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  text-align: left;
  color: var(--navy);
}

.secton-content {
  text-align: left;
  color: var(--muted);
}

/* ----- NON-MOBILE STYLING ----- */
@media only screen and (min-width: 825px) {
  .main-section .client-container {
    padding: 0 40px 0 40px;
  }

  .client-container .img-holder {
    width: 210px;
  }

  .main-section .about-content {
    padding: 50px 130px 50px 130px;
  }

}

/* Catalogue filters */
.catalogue-layout { max-width: 1200px; margin: 36px auto 0; padding: 0 20px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; text-align: left; }
.product-filters { align-self: start; border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: #fff; }
.product-filters summary { font-size: 18px; font-weight: 700; cursor: pointer; }
.product-filters fieldset { border: 0; margin: 20px 0 0; padding: 0; }
.product-filters legend { font-weight: 700; margin-bottom: 12px; }
.product-filters label { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; font-size: 14px; line-height: 1.4; cursor: pointer; }
.product-filters input { accent-color: var(--blue-dark); }
.clear-filters { border: 0; background: transparent; color: var(--blue-dark); padding: 4px 0; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.catalogue-results { min-width: 0; }
.product-count, .product-empty { margin: 0; color: #43566b; font-size: 14px; }
.product-empty { margin-top: 20px; }
.catalogue-results .products-grid { margin: 14px 0 0; }
.products-grid .item[hidden] { display: none; }
@media (max-width: 824px) {
  .catalogue-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0 10px; }
  .product-filters { padding: 16px; }
}

/* Catalogue layout */
#PRODUCTS-PAGE .div-general { padding: 48px 0 72px; }
.catalogue-intro { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 40px; text-align: left; }
.catalogue-intro .section-head { text-align: left; font-size: 32px; margin: 0 0 10px; }
.catalogue-intro .section-text { max-width: 720px; margin: 0; font-size: 16px; }
.catalogue-layout { box-sizing: border-box; max-width: 1280px; margin-top: 36px; padding: 0 40px; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.product-filters { box-sizing: border-box; padding: 22px; border-color: #dce5ed; border-radius: 10px; background: #f8fafc; }
.product-filters summary { color: var(--navy); font-size: 16px; line-height: 1.4; }
.product-filters fieldset { margin-top: 20px; padding-top: 19px; border-top: 1px solid #dce5ed; }
.product-filters legend { float: left; width: 100%; margin: 0 0 12px; color: #43566b; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.product-filters label { clear: both; align-items: center; gap: 10px; margin: 0; padding: 9px 0; color: #334b61; line-height: 1.4; }
.product-filters input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; }
.clear-filters { margin-top: 12px; font-weight: 600; }
.product-count { min-height: 22px; display: flex; align-items: center; font-weight: 600; }
.catalogue-results .products-grid { margin-top: 18px; gap: 20px; }
@media (min-width: 825px) {
  .product-filters summary { cursor: pointer; }
}
@media (max-width: 824px) {
  #PRODUCTS-PAGE .div-general { padding: 36px 0 56px; }
  .catalogue-intro { padding: 0 20px; }
  .catalogue-intro .section-head { font-size: 28px; }
  .catalogue-layout { margin-top: 26px; padding: 0 20px; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-filters { padding: 16px 18px; }
  .product-filters summary { cursor: pointer; }
}

/* Contact options */
#contact.div-contact { box-sizing: border-box; width: calc(100% - 40px); max-width: 1040px; padding: 52px 32px; }
#contact .container-sub { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 24px; padding-top: 32px; }
#contact .contact-sub { min-width: 0; padding: 8px; }
#contact .contact-text { margin: 10px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
#contact .contact-text a { text-underline-offset: 3px; }
@media (max-width: 600px) {
  #contact.div-contact { width: calc(100% - 32px); padding: 36px 20px; border-radius: 12px; }
  #contact .container-sub { grid-template-columns: 1fr; gap: 20px; padding-top: 22px; }
}

/* Category choices */
.product-filters { background: transparent; border: 0; border-radius: 0; padding: 0; }
.product-filters summary { padding: 0 0 16px; border-bottom: 1px solid #dce5ed; }
.product-filters fieldset { margin: 18px 0 0; padding: 0; border: 0; }
.product-filters legend { margin-bottom: 10px; }
.product-filters label { position: relative; padding: 0; margin: 3px 0; }
.product-filters input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.product-filters label span { display: block; box-sizing: border-box; width: 100%; padding: 10px 12px; border-radius: 6px; color: #43566b; transition: background-color .15s, color .15s; }
.product-filters label:hover span { background: #f0f4f8; }
.product-filters input:checked + span { background: #e8f1fa; color: var(--navy); font-weight: 700; }
.product-filters input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.catalogue-results .products-grid { margin-top: 0; }
@media (max-width: 824px) {
  .product-filters { padding: 0; }
  .product-filters summary { padding: 14px 16px; border: 1px solid #dce5ed; border-radius: 8px; }
  .product-filters fieldset { padding: 0 4px; }
}
@media (max-width: 900px) {
  #contact.div-contact { margin-left: auto; margin-right: auto; }
}
