/* --- Product Showcase Styles --- */

.product-title-box {
  display: block;
  font-size: 36px;
  background: rgb(61, 96, 168);
  color: #ffffff;
  padding: 8px 20px;
  margin: 0 auto 30px;
  text-align: center;
}

.product-two-column-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto 40px;
  gap: 20px;
}

.product-column-left,
.product-column-right {
  width: 48%;
}

.product-column-left img,
.product-gallery img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.call-button {
  display: inline-block;
  background: red;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid #fff;
  transition: background 0.3s;
}

.call-button:hover {
  background: #b30000;
}

.product-cta-wrapper {
  width: 80%;
  margin: 0 auto 60px;
  padding: 20px;
  border: 1px solid #000;
  background-color: #f9f9f9;
  text-align: center;
}

.product-tabs-wrapper {
  width: 80%;
  margin: 0 auto 60px;
}

.product-tabs-nav {
  display: flex;
  flex-wrap: wrap;                /* wrap nicely on smaller screens */
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 2px solid #3d60a8;
}

.product-tabs-nav li {
  margin: 0 10px 5px 0;           /* tighter spacing */
  padding: 10px 20px;
  background: #eee;
  color: #333;
  cursor: pointer;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  transition: background .25s, color .25s;
}

.product-tabs-nav li:hover {
  background: #d8d8d8;
}

.product-tabs-nav li.active {
  background: #3d60a8;
  color: #fff;
  border-bottom: 2px solid #3d60a8; /* blends into nav border */
}

.tab-pane {
  display: none;
  padding: 15px 0 0;              /* breathing room for content */
}

.tab-pane.active {
  display: block;
}

/* responsive nicety */
@media (max-width: 768px) {
  .product-tabs-wrapper {
    width: 100%;
    margin: 0 auto 40px;
  }
  .product-tabs-nav li {
    flex: 1 1 auto;               /* let tabs fill width evenly */
    text-align: center;
    margin-right: 0;
  }
}


#closing-cta-wrapper {
  padding-top: 30px;
  border-top: 3px solid #000;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
  .product-two-column-wrapper {
    flex-direction: column;
    width: 90%;
  }

  .product-column-left,
  .product-column-right {
    width: 100% !important;
  }

  .product-title-box {
    font-size: 28px;
    top: 18%;
  }

  .call-button {
    width: 100%;
    text-align: center;
  }
}

/* Yoast Breadcrumb Styling */
#breadcrumbs {
  font-size: 14px;
  padding: 10px 0;
  margin-bottom: 20px;
  color: #666;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  display: block;
  max-width: 100%;
  line-height: 1.4;
}

#breadcrumbs a {
  color: #3d60a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

#breadcrumbs a:hover {
  color: #000;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
    body > div.off-canvas-wrapper > div > div.off-canvas-content > section > div > section > div > div > h1 {
        font-size: 18px !important;
    }
}
@media screen and (max-width: 480px) {
    body > div.off-canvas-wrapper > div > div.off-canvas-content > section > div > section > div > div > h1 {
        font-size: 15px !important;
    }
}

}
@media screen and (max-width: 768px) {
  #breadcrumbs{
    font-size: 13px;
    padding: 8px 0;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  #breadcrumbs{
    font-size: 12px;
    text-align: left;
  }
}

.product-gallery-swiper {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.product-gallery-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-gallery-preview {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.product-gallery-preview a img {
  width: 100px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.product-gallery-preview a:hover img {
  border-color: #3d60a8;
  transform: scale(1.05);
}
///Magnigfic///
/* scope to your gallery wrapper */
.acf-magnific .mfp-bg {
  z-index: 10000 !important; /* overlay always on top */
}

.acf-magnific .mfp-wrap {
  z-index: 10001 !important;
  top: 0 !important;          /* fill viewport */
  left: 0;
  right: 0;
  bottom: 0;
}

.acf-magnific .mfp-content {
  position: static !important;   /* let Magnific handle centering */
  margin: 0 auto !important;     /* keep horizontally centered */
  text-align: center;            /* align inline elements */
  max-width: 90%;                /* keep images contained on wide screens */
}

.acf-magnific img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;                /* always centered */
}

/* balance arrow placement so layout feels centered */
.acf-magnific .mfp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  z-index: 10002;
}

.acf-magnific .mfp-arrow-left {
  left: 5%;
}

.acf-magnific .mfp-arrow-right {
  right: 5%;
}
