.RadGrid {margin-top: 3em !important;}


/* Add a line above the Eco Products title */
.xw-featured-products-title:before {
  content: "";
  display: block;
margin-bottom: 3em !important;
  width: 100%;
  max-width: 90%;
  height: 1px;
  background-color: #00abaa;
  margin: 60px auto 20px auto; /* top | right | bottom | left */
}


.categories-navbar {line-height: 16px;}

.categories-navbar .category-title-wrapper .category-title {margin-right: 0px !important; margin-bottom: 6px;}

.categories-navbar {display: flex; flex-direction: row; flex-wrap: wrap; align-content: center; align-items: stretch; justify-content: flex-start;}

#DocumentsContainerDiv {max-height: 50vh !important;}


.xw-featured-products-swiper .swiper-slide img {object-fit: cover !Important;}


/* Make product name text sit neatly under image */
.xw-featured-products-swiper .xw-featured-products-name {
  text-align: left;
  margin: 10px auto 0;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}



.layout .main-content {padding-top: 0em !important;}


.xw-homepage-banner-button-cta.truncate {
  overflow: visible !important;
  text-overflow: unset !important;
  white-space: normal !important;
}


.xw-homepage-banner-button-cta {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #20a8ce;
  text-transform: uppercase;
  text-align: center;
  background-color: transparent;
  border: 3px solid #20a8ce;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}


.xw-homepage-banner-button-cta {box-shadow: none; text-transform: none !important;}


/* ---------------------------------------
   HOMEPAGE BANNER SLIDER - MAIN STYLES
--------------------------------------- */

/* Slide layout and alignment */
.xw-homepage-banner-swiper .swiper-slide,
.xw-homepage-banner-swiper .swiper-slide-active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 80vh !Important;
  box-sizing: border-box;
  padding: 0 1rem;
  text-align: center;
  background-image: none !important;
}

/* Placeholder image hidden */
.xw-homepage-banner-placeholder {
  display: none !important;
}

/* Hide slider arrows */
.xw-homepage-banner-swiper-button-prev,
.xw-homepage-banner-swiper-button-next {
  display: none !important;
}

/* Swiper container */
.swiper {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

/* Title + Subtext Styling */
.xw-homepage-banner-slide-title {
  font-size: 30px !important;
  color: #ffffff;
  margin-bottom: 1em;
}

.xw-homepage-banner-slide-subtext {
  font-size: 20px !important;
  color: #ffffff;
  margin-bottom: 1em;
}

/* CTA Button */
.xw-homepage-banner-swiper .swiper-slide .cta {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background-color: #ffffff;
  color: #00abaa;
  font-weight: bold;
  border: none;
  text-decoration: none;
  margin-top: 1em;
  font-size: 16px;
  transition: background-color 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.xw-homepage-banner-swiper .swiper-slide .cta:hover {
  background-color: #000000;
  color: #ffffff;
}

/* -------------------------------
   SLIDE-SPECIFIC COLOR STYLES
------------------------------- */

/* Slide 1 - Teal background, white text */
.xw-homepage-banner-swiper .swiper-slide:nth-child(1) {
  background-color: #00abaa !important;
}

.xw-homepage-banner-swiper .swiper-slide:nth-child(1) h2,
.xw-homepage-banner-swiper .swiper-slide:nth-child(1) .subtext {
  color: #ffffff !important;
}

/* Slide 2 - Light background, teal text */
.xw-homepage-banner-swiper .swiper-slide:nth-child(2) {
  background-color: #f0f0f0 !important;
}

.xw-homepage-banner-swiper .swiper-slide:nth-child(2) h2,
.xw-homepage-banner-swiper .swiper-slide:nth-child(2) .subtext {
  color: #00abaa !important;
}

/* -------------------------------
   FIXES + CLEANUP
------------------------------- */

/* Prevent header from overlapping */
header, .header, .site-header {
  position: relative !important;
  z-index: 1000;
}

/* Hide promotion/image defaults */
.promotion-item,
.promotion-item .promotion-image,
.promotion-item .main {
  display: none !important;
  height: 0 !important;
}

/* -------------------------------
   MOBILE RESPONSIVENESS
------------------------------- */

@media screen and (max-width: 768px) {
  .xw-homepage-banner-slide-title {
    font-size: 24px !important;
  }

  .xw-homepage-banner-slide-subtext {
    font-size: 16px !important;
  }

  .xw-homepage-banner-swiper .swiper-slide {
    padding: 1rem;
    min-height: calc(90vh - 100px);
  }

  .xw-homepage-banner-swiper .swiper-slide .cta {
    font-size: 14px;
    padding: 8px 16px;
    margin-top: 1em;
    width: fit-content;
    min-width: auto;
  }
}





.DP2Htable {
  width: auto; /* or set to a fixed width like 80% or 960px */
  max-width: 960px;
  margin: 20px 0;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
}

.DP2Htable th,
.DP2Htable td {
  padding: 10px 12px;
  border: 1px solid #ccc;
}

/* Top header row (teal block) */
.DP2Htable thead th {
  background-color: #00A8A8;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
}

/* First row after thead — Silk / Gloss header */
.DP2Htable .header td {
  background-color: #fff;
  color: #444;
  font-weight: normal;
}

/* Sub-header row (gsm weights) */
.DP2Htable .subHeader td {
  background-color: #f5f5f5;
  font-weight: normal;
  color: #444;
}

/* Alternating row colours */
.DP2Htable tr:nth-child(even):not(.header):not(.subHeader) td {
  background-color: #f9f9f9;
}

/* Last row (Contact us) */
.DP2Htable tr:last-child td {
  font-weight: bold;
  background-color: #f5f5f5;
  color: #444;
  text-align: center;
}

/* Optional: left/right borders if you're using .leftBorder/.rightBorder */
.leftBorder {
  border-left: 1px solid #ccc;
}
.rightBorder {
  border-right: 1px solid #ccc;
}



/* ------------------------
   GENERAL CLEANUPS & FIXES
------------------------- */
x
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body > .footer {
  margin-top: auto;
}

/* Removed the global footer flex override */
/* .footer { display: flex; } */  /* Leave disabled */

/* Temporarily disable this to test if it's hiding your widget */
/* #id-0 { display: none; } */


/* ------------------------
   THEME CUSTOMIZATIONS
------------------------- */

.home .featured-products-wrapper {
  display: none;
}

.promotion-item .button {
  color: black;
  background-color: white;
}

.search .search-button {
  background-color: #00ABAB;
  border-color: #00ABAB;
}

.categories-navbar .category-title-wrapper {
  height: auto;
  align-content: flex-start;
  margin: 0px;
  padding: 0px;
}

.categories-navbar .category-title {
  font-weight: 600;
  border: 1px solid #00ABAB !important;
  background-color: #00ABAB;
  padding: 6px 10px;
  margin: 0px;
  border-radius: 15px;
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
}

.categories-navbar .category-title-wrapper .category-title.highlight {
  font-weight: 600;
  border: 2px solid #00ABAB !important;
  background-color: #e3e6e5;
  padding: 6px 10px;
  border-radius: 15px;
  color: #000000 !important;
}

.header .header-stripe .search {
  width: 200px;
}

.categories-wrapper,
.divider {
  display: none;
}

.xw-featured-widget-subtitle {
  color: black !important;
  margin-bottom: 2em;
}


.xw-featured-products-title {
  margin-top: 3em;
}



.product-item .image-wrapper {
  padding: 0px;
  background-color: white;
}


/* ------------------------
   TABLE STYLE (OPTIONAL)
------------------------- */

.DP1Htable {
  width: 20em;
  border-collapse: collapse;
  background-color: #f9f9f9;
  font-size: 16px;
}

.DP1Htable th,
.DP1Htable td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.DP1Htable th {
  background-color: #00ABAB;
  color: #ffffff;
  font-weight: bold;
}

.DP1Htable tr:nth-child(even) {
  background-color: #f2f2f2;
}

.tbody {
  width: 100%;
}

.Duc dl .dtiName .FormLabel {
  margin: 0px !important;
  padding: 0px !important;
  line-height: 0px !important;
}

.categorytext {
  padding-top: 3em !important;
  margin-bottom: -1em;
}


/* -------------------------------
   CUSTOM FOOTER STYLES
------------------------------- */

.custom-footer {
  background-color: #00abaa;
  color: white;
  font-family: sans-serif;
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.custom-footer-columns {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 0px solid rgba(255, 255, 255, 0.3);
  padding-top: 2rem;
}

.custom-footer-column {
  flex: 1;
  min-width: 200px;
  margin: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding-right: 2rem;
}

.custom-footer-column:last-child {
  border-right: none;
  padding-right: 0;
}

.custom-footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.custom-footer a {
  color: white;
  text-decoration: underline;
}

.footer-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: white;
  color: #00abaa !important;
  border-radius: 12px;
  text-decoration: none !important;
  font-weight: bold;
  transition: all 0.1s ease;
  border: none;
}

.footer-link:hover {
  background-color: transparent;
  color: white !important;
  border: 2px solid white;
}


.footer {
  height: auto !important;
  padding: 0 !important;
}


/* Enlarge and left-align the product image */
.ProductDescMainSlide img {
  max-width: 100% !important;
  width: 300px !important; /* Adjust as needed */
  height: auto !important;
  display: block;
  margin: 0 auto 0 0; /* Left-align */
  object-fit: contain;
}

/* Caption underneath the image */
.ProductDescMainSlide span[id$="_lblPage"] {
  display: block;
  text-align: left;
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #333;
}

/* Restore arrow icon size */
.ProductDescMainSlide img[id*="_btnPrev"],
.ProductDescMainSlide img[id*="_btnNext"] {
  width: 24px !important;
  height: 24px !important;
  margin: 0 5px !important;
  vertical-align: middle;
}