/*
Theme Name: Blocksy Child
Theme URI: https://yourwebsite.com/
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A child theme for the Blocksy theme.
Template: blocksy
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
*/

/*------------------------------------------
 	Body
--------------------------------------------*/
/* --- Titles/Headings --- */
.section-heading 
{
  text-align: center;
}

.section-heading h2 
{
	font-size: 35px;
	font-weight: 600;
	font-family: 'Lato', sans-serif !important;
	color: #1e1d5e;
	margin: 10px;
}

.section-heading p 
{
  color: #595959;
  font-size: 15px;
  margin: 0;
}

.section-heading .underline 
{
  width: 50px;
  height: 2px;
  background-color: #C5C5C5;
  margin: 10px auto 0;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Lato', sans-serif !important;
}


/*------------------------------------------
 	Homepage
--------------------------------------------*/
/* --- Home Hero --- */
.hero-text-widget {
    position: relative;
    text-align: center;
    color: white;
    font-family: Lato, sans-serif;
    background-size: cover;
    padding: 50px;
    
}

.hero-text-widget h1 {
    font-weight: 900;
    letter-spacing: 3px;
    font-family: Lato;
    line-height: 65px;
}

.main-heading {
    font-size: 70px;
    position: relative;
    font-weight: 900;
    -webkit-text-stroke: 1px white;
    color: transparent;
    opacity: .8;
}

article h1 {
    font-size: 25px; /* Match your .main-heading size for consistency */
    font-weight: 900; /* Optional: match your design */
}

.bold-text {
    font-size: 60px;
    font-weight: 900;
    color: white;
}

.sub-heading {
    font-size: 15px;
    margin-top: 10px;
}

.line-vr-divider {
    position: relative;
    margin: -35px auto;
    border: 0;
    border-left: 3px solid;
    border-color: #0c7a54;
    width: 3px;
    height: 50px;
    z-index: 10;
    opacity: 1;
}
/* --- Feature Section ---*/
.features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  gap: 20px;
}

.feature-item {
  flex: 1 1 22%;
  padding: 10px;
}

.feature-icon i {
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 10px;
}

.feature-item h2 {
  margin: 0;
  font-size: 18px;
  color: white;
}

.feature-item p {
  margin: 5px 0 0;
  font-size: 15px;
  color: white;
}
/* --- About Section ---*/
.about-us-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.about-us-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.about-subtitle {
  font-size: 1rem;
  color: #1a1a8f;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
}

.about-subtitle::after {
  content: '';
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
  width: 40px;
  height: 1px;
  background: #aaa;
}

.about-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #000;
}

.about-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-contact {
  margin-top: 1rem;
  font-weight: 600;
}

.about-contact a {
  color: #000;
  text-decoration: none;
}

.about-us-image-wrapper {
  flex: 1 1 40%;
  min-width: 300px;
  position: relative;
}

.about-us-image-border {
  position: relative;
  display: inline-block;
}

.about-us-image-border::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid #1a1a8f;
  z-index: -1;
}

.about-us-image {
  width: 100%;
  height: auto;
  display: block;
}

.experience-box {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: #fff;
  border: 2px solid #000;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.experience-number {
  color: #1e1d5e;
  font-size: 2rem;
  font-weight: 800;
  margin-right: 0.5rem;
}

.experience-text {
  font-size: 0.9rem;
  line-height: 1.2;
  color: #333;
}

@media(max-width: 768px) {
  .about-us-section {
    flex-direction: column;
  }

  .experience-box {
    bottom: 0.5rem;
    left: 0.5rem;
  }
}
/* --- Product Section ---*/
.product-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 50% 50%;
  gap: 15px;
  max-width: 1000px;
  margin: auto;
  height: 500px;
}

.cladding {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  border-top-left-radius: 40px;
}

.cold-rolled {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.bottom-grid {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  height: 100%;
}

.flashings, .accessories {
  height: 100%;
}

.accessories {
  border-bottom-right-radius: 40px;
}

.product-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.product-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
  pointer-events: none;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(22, 22, 70, 0.7);
  color: white;
  text-align: center;
  padding: 10px 0;
  transition: background 0.3s ease;
  z-index: 2;
}

.overlay span {
  font-weight: bold;
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item:hover .overlay {
  background: rgba(22, 22, 70, 0.9);
}
/* --- Deals Section ---*/
.sale-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: Lato, sans-serif;
}
.headline {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.timer-box {
  font-size: 26px;
  font-weight: bold;
  color: #ff3b3f;
  background: #f9f9f9;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
}
.promo-message {
  font-size: 16px;
  color: #555;
}
.divider {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 20px 0;
}
.product-box ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-box ul.products li.product {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.product-box ul.products li.product .button {
  background-color: #007bff;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.product-box ul.products li.product .button:hover {
  background-color: #0056b3;
}

.product-box ul.products li.product .product-category {
  display: none;
}

/* --- Testimonials Section ---*/
.testimonials-container {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
        padding-top: 30px;
}

.testimonial {
    background: #f2f2f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 30%;
    text-align: left;
}

.quote-icon {
    font-size: 100px;
    color: #26215A;
    font-family: "Georgia", Sans-serif;
    margin: -40px 0px -80px 0px; 
 
}

.testimonial p {
    font-size: 12px;
    color: #333;
    line-height: 1.6;
}

.testimonial hr {
    margin: 10px 0;
    border: none;
    border-top: 1px solid #ccc;
}

.testimonial h3 {
    font-size: 16px;
    color: #26215A;
    margin-top: 10px;
}

/* --- Projects Gallery Section ---*/

.project-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

div.item {
  position: relative;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 240px;
  max-width: 300px;
  width: 100%;
  aspect-ratio: 4 / 3; /* Keeps all cards same aspect ratio */
  background: #1e1d5e;
  text-align: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  border-radius: 8px;
}

div.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* Ensures image fills area and is cropped as needed */
  object-position: center;
  transition: opacity 0.35s, filter 0.35s;
}

div.item i {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  font-size: 34px;
  color: #1e1d5e;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #fff;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 300ms 100ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
}

div.item.red {
  background-color: #1e1d5e;
}

div.item:hover img {
  opacity: 0.3;
  filter: grayscale(100%);
}

div.item:hover i {
  transform: translate(-50%, -50%) scale(1);
}

div.item * {
  box-sizing: border-box;
  transition: all 0.35s ease-in-out;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px 16px 16px 16px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.close {
  position: absolute;
  top: 0px;
  right: 20px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  transition: color 0.2s;
  cursor: pointer;
  z-index: 10;
}
.close:hover {
  color: #1e1d5e;
}
#modalImg {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #eaeaea;
}
#modalDesc {
  margin-top: 0;
  font-size: 1.08em;
  color: #232323;
}

/* --- Contact Bottom Section ---*/
.contact-cta {
  background-color: rgba(46, 44, 106, 0.9);
  color: white;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 2rem 0;
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-contact-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.cta-contact-button {
  background-color: white;
  color: #2e2c6a;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-contact-button:hover {
  background-color: #eaeaea;
}

/* --- Delivery Section ---*/
.delivery-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}

.delivery-text {
  flex: 1;
padding-top: 60px;
}

.delivery-image {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.delivery-image img {
  width: 100%;
  height: auto;
  border-radius: 50px 0px !important;
  display: block;
  margin-top: 0;
}

.main-btn-container {
    text-align: center;
}

/*------------------------------------------
 	Case Studies
--------------------------------------------*/
/* --- Hero --- */
.case-study-wrapper {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.case-study-image-box {
  position: relative;
  width: 100%;
  height: 589px;
  overflow: hidden;
  border-radius: 6px;
  
}

.case-study-image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.case-study-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000009E; /* black overlay */
  z-index: 1;
  pointer-events: none;
}

.case-study-box {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 575px;
  height: 307px;
  background: #0c1e7a75;
  color: white;
  padding: 30px;
  border-top-right-radius: 100px;
  box-sizing: border-box;
  z-index: 2; /* sits above the black overlay */
}

.case-study-box h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3em;
  color: white;
}

.case-study-box h3 span {
  font-weight: normal;
}

.case-study-box h2 {
  margin-top: 10px;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.4em;
  color: white;
}

.case-study-box p {
  margin-top: 15px;
  font-size: 0.95em;
  line-height: 1.6em;
}

/* --- Background --- */
.custom-header-box {
  background-color: #b3d7f5;
  padding: 20px 10px;
  text-align: center;
}

.custom-header {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  font-size: 1.5em;
  font-weight: bold;
  color: #1a144b;
}

.social-share {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-share a {
  width: 40px;
  height: 40px;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
}

.social-share .facebook { background: #3b5998; }
.social-share .twitter { background: #1DA1F2; }
.social-share .linkedin { background: #0077B5; }

.challenge-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
    background-color: #fff;
  }

  .challenge-text {
    flex: 1.5;
  }

  .challenge-text h1 {
    color: #2e2e72;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .challenge-text p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 14px;
  }

  .challenge-text strong {
    font-weight: 700;
  }

  .challenge-media {
    flex: 1;
  }

  .challenge-media video.main {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
    object-fit: cover;
  }

  .challenge-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .challenge-thumbnail-grid img {
    width: 100% !important;
    height: 100px !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: transform 0.2s;
	object-fit: cover;
	object-position: center;
  }

  .challenge-thumbnail-grid img:hover {
    transform: scale(1.05);
  }

  .challenge-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.challenge-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.challenge-lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.challenge-lightbox img.visible {
  opacity: 1;
}

  .challenge-lightbox .arrow,
  .challenge-lightbox .close {
    position: absolute;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    user-select: none;
  }

  .challenge-lightbox .arrow.left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .challenge-lightbox .arrow.right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .challenge-lightbox .close {
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
  }

/* -------------------- Case Studies -------------------- */
.case-studies-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.case-study-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 220px;
  width: 200px;
  cursor: pointer;
}

.case-study-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

.case-study-item .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.case-study-item:hover .wp-post-image {
  filter: grayscale(0%);
}

.case-study-item .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
}

.case-study-item:hover .image-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.case-study-item h4 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  z-index: 2;
}

.case-study-item .image-overlay .arrow {
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out 0.2s, transform 0.5s ease-in-out 0.2s;
}

.case-study-item:hover .image-overlay .arrow {
  opacity: 1;
  transform: translateY(0);
}


.blog-main-image {
        margin-bottom: 10px
    }
/*------------------------------------------
 	Blog
--------------------------------------------*/
.blog-banner {
    position: relative;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .blog-banner-text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
  }

.blog-testimonial-box {
  background-color: #f9f9fb;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-align: center;
}

.blog-testimonial-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.blog-testimonial-author img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: #00796b; /* Teal color */
}

.author-role {
  font-size: 0.9rem;
  color: #888;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.blog-post-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 280px;
	width: 239px;
  cursor: pointer;
}

.blog-post-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
}

.blog-post-item .wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.blog-post-item:hover .wp-post-image {
  filter: grayscale(0%);
}

.blog-post-item .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
	transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
}

.blog-post-item:hover .image-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.7);
}

.blog-post-item h3 {
  color: white;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  z-index: 2;
}

.blog-post-item .image-overlay .arrow {
  color: white;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out 0.2s, transform 0.5s ease-in-out 0.2s;
}

.blog-post-item:hover .image-overlay .arrow {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------- Custom Gallery Layout -------------------- */
.custom-gallery {
    display: grid ;
    grid-template-columns: 1.5fr 1fr ;
    grid-template-rows: repeat(2, 150px) ;
    gap: 10px ;
	width: auto;
    height: auto;
}

.custom-gallery img {
    width: 100% ;
    height: 100% !important;
    object-fit: cover ;
    border-radius: 8px !important;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.custom-gallery img:hover {
    transform: scale(1.05);
}

/* -------------------- Assigning grid positions manually -------------------- */
.custom-gallery img:nth-child(1) { 
    grid-column: 1 / 2; 
    grid-row: 1 / 3; 
    height: 310px !important;
}


.custom-gallery img:nth-child(4),
.custom-gallery img:nth-child(5) { 
    height: 203px !important; 
}

/* -------------------- Custom Lightbox Styles -------------------- */
.custom-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.custom-lightbox.show {
    display: flex;
    opacity: 1;
}

/* -------------------- Enlarged Image -------------------- */
.custom-lightbox img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.3s ease-in-out;
}

.custom-lightbox.show img {
    transform: scale(1);
}

/* -------------------- Close Button -------------------- */
.custom-lightbox .custom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/*------------------------------------------
 	Shop
--------------------------------------------*/

.radiosquarecss span {
	font-size: 13px;
	font-family: 'Lato', sans-serif !important;
}

.tprice {
	display: none;
}


.price_total {
	display: none;
}

.eoa.eoop.eoinput.multiple_fields 
{
  padding-left: 8px;
}

.single-product article>:where(.related,.up-sells) {
    margin-top: 50px;
		margin-bottom: 50px;
}

/* Style for Anti-Condensation Dropdown */
#anti-condensation,
#sizegirth,
#installation-type {
    width: 100%;
    max-width: 600px;
    padding: 0px 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Add hover and focus effects */
#anti-condensation:hover,
#anti-condensation:focus,
#sizegirth:hover,
#sizegirth:focus,
#installation-type:hover,
#installation-type:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
    outline: none;
    background-color: #fff;
}

/* Improve option appearance in dropdown (optional) */
#anti-condensation option,
#sizegirth option,
#installation-type option {
    padding: 10px;
}

/* Reset Variations Button */
a.reset_variations {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    color: #0073aa;
    background-color: #f1f1f1;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Hover Effect */
a.reset_variations:hover {
    background-color: #0073aa;
    color: #ffffff;
    border-color: #0073aa;
}

/* --- Checkout Basket Total ---*/

/* Style the order summary block */
.wp-block-woocommerce-cart-order-summary-block {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  font-family: sans-serif;
  max-width: 350px;
  border: 1px solid #e0e0e0;
}

/* Style the headings inside the summary */
.wp-block-woocommerce-cart-order-summary-block h2,
.wp-block-woocommerce-cart-order-summary-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

/* Style the subtotal, tax, and other line items */
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 1rem;
  color: #333;
}

/* Style the order total row */
.wp-block-woocommerce-cart-order-summary-block .wc-block-components-totals-footer-item {
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
  margin-top: 15px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

/* Discount code section styling */
.wp-block-woocommerce-cart-order-summary-block .wc-block-cart__coupon {
  margin-top: 20px;
  border-top: 1px solid #ddd;
  padding-top: 10px;
  font-size: 0.95rem;
}

/* Hide the default checkout button (orange) */
.wp-block-woocommerce-cart-order-summary-block .wp-block-button {
  display: none !important;
}

.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block {
    padding: 10px;
}

.wc-block-cart__submit.wp-block-woocommerce-proceed-to-checkout-block
 {
    padding-top: 10px;
}

/* Hide Product bottom price */
.single-product .product .summary form.cart + .price {
    display: none;
}

.read-more-toggle {
  color: #0073aa;
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  text-decoration: underline;
}
.extra-description {
  margin-top: 10px;
}

/*------------------------------------------
 	Account
--------------------------------------------*/
.woocommerce.ct-woo-account {
	padding: 20px 0;
}

/*------------------------------------------
 	Checkout
--------------------------------------------*/

pre, code, samp, kbd {
    --theme-font-family: Lato;
    --theme-font-weight: 400;
    --theme-font-size: 16px;
}

h2.wp-block-heading.has-text-align-center.with-empty-cart-icon.wc-block-cart__empty-cart__title {
	padding-top: 20px;
}

/* Make input fields larger */
.woocommerce-checkout input.input-text {
    padding: 12px;
    font-size: 16px;
}

/* General form container */
form.woocommerce-checkout {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    max-width: 1000px;
    margin: 40px auto;
}

/* Two-column layout for billing/shipping and order */
#customer_details {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

#customer_details .col-1,
#customer_details .col-2 {
    flex: 1 1 48%;
}

#customer_details .col-2 {
    margin-top: -60px !important;
}

/* Form fields */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Order Review Box */
.woocommerce-checkout-review-order {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 25px;
    background-color: #fcfcfc;
}

/* Section headings */
#order_review_heading,
.woocommerce-checkout h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

/* Place Order button */
#place_order {
    background-color: #0071a1;
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: background-color 0.3s ease;
}

#place_order:hover {
    background-color: #005c87;
}

/* Error or info notices */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.cm-cost-per-unit {
	display: none;
}

div#map {
    height: 280px;
	margin: -60px 0px 10px 0px;
}

/* Style the static country/region text to look like an input */
#billing_country_field .woocommerce-input-wrapper strong {
    display: block;
    padding: 6px 14px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    margin-bottom: 20px;
}
.cm-address-fields {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Force label above input */
.cm-address-fields label {
    order: -1;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.price_total .tprice:first-of-type {
    display: none;
}

#field1008  {
	padding-left: 10px;
}

.woocommerce ul.woocommerce-error li {
    padding-left: 30px;
}

/*------------------------------------------
 	FAQ
--------------------------------------------*/
/* Main category toggle buttons */
.main-toggle {
  width: 100%;
  text-align: left;
  background: #403c8c;
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  margin-bottom: 0.5rem;
  transition: background-color 0.3s ease;
}

.main-toggle[aria-expanded="true"] {
  background-color: #26215a;
}

/* Arrow for main toggle */
.main-toggle::after {
  content: '▸';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #ddd;
}

.main-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
  color: #fff;
}

/* Sub accordion wrapper */
.sub-accordion {
  overflow: hidden;
  height: 0;
  display: none; /* hidden by default */
  padding-left: 1.5rem;
  border-left: 3px solid #403c8c;
  margin-bottom: 1rem;
  transition: height 0.3s ease;
}

/* Sub question toggle buttons */
.sub-toggle {
  width: 100%;
  text-align: left;
  background: #e4e4f0;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  position: relative;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  color: #26215a;
  transition: background-color 0.3s ease;
}

.sub-toggle[aria-expanded="true"] {
  background-color: #c2c2db;
}

/* Arrow for sub toggle */
.sub-toggle::after {
  content: '▸';
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: #26215a;
}

.sub-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
  color: #151536;
}

/* Answer content */
.accordion-content {
  overflow: hidden;
  height: 0;
  padding: 0 1rem;
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
  background: #f9f9fc;
  border-radius: 0 0 6px 6px;
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.05);
  transition: height 0.3s ease;
  display: none;
}

/*------------------------------------------
 	Footer
--------------------------------------------*/
.custom-footer {
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  letter-spacing: 0.01em;
  padding: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 24px 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
    background-color: #282828;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
  margin: 10px;
  color: #fff;
  gap: 12px;
}

.footer-section i {
  color: #ffffff;
  font-size: 23px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.footer-section a:hover,
.footer-section a:focus {
  color: #6fa1ff;
}

hr {
  border: none;
  border-top: 1px solid #232426;
  margin: 0;
}

/* Bottom Footer: Unified 3 Columns */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 16px 24px;
  flex-wrap: wrap;
    background-color: #282828;
}

.footer-col {
  flex: 1 1 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo-text .footer-logo {
  margin-bottom: 14px;
  max-width: 56px;
  border-radius: 12px;
  background: #232426;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.footer-logo-text p {
  margin: 0;
  padding: 0 10px;
  font-size: 1.03rem;
  color: #e0e0e0;
}

.footer-links h3,
.footer-social h3 {
 	margin-bottom: 14px;
 	font-size: 1.08rem;
  	font-weight: 600;
  	letter-spacing: 0.02em;
	color: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  font-size: 0.98rem;
}

.footer-links a:hover,
.footer-links a:focus {
  background: #474747;
  color: #fff;
}

.footer-social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #474747;
  color: #fff;
  font-size: 1.3rem;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.footer-social a:hover,
.footer-social a:focus {
  background: #3656a7;
  color: #fff;
  transform: translateY(-2px) scale(1.07);
}

.footer-copyright {
  text-align: center;
  color: #b0b0b0;
  font-size: 0.97rem;
  margin: 24px 0 0 0;
  padding: 0 0 24px 0;
  letter-spacing: 0.01em;
  background: #18191b;
}


/* ===========================
   Responsive Media Queries
   =========================== */

/* Responsive Footer */
@media (max-width: 900px) 
{
  .footer-bottom 
  {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 28px 8px 12px 8px;
  }

 .footer-top
  {
   display: none;
  }

  .footer-col,
  .footer-section 
  {
   min-width: unset;
   width: 100%;
   align-items: center;
   margin-bottom: 18px;
  }

  .footer-social-icons 
  {
    justify-content: center;
  }
}

/* --- Tablet and Below (≤1024px) --- */
@media (max-width: 1024px) 
{
  .features-section,
  .testimonials-container,
  .delivery-container,
  .contact-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-item,
  .testimonial,
  .delivery-text,
  .delivery-image {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .cladding,
  .cold-rolled,
  .bottom-grid {
    grid-column: auto;
    grid-row: auto;
    border-radius: 0;
  }
  .bottom-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .about-us-section {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-us-content,
  .about-us-image-wrapper {
    width: 100%;
    min-width: 0;
  }
  .about-us-image-wrapper {
    margin-top: 1.5rem;
  }
  .experience-box {
    bottom: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
    padding: 0.3rem 0.7rem;
  }
  .section-heading h2 {
    font-size: 28px;
    line-height: 1.2;
  }
  .headline {
    font-size: 22px;
  }
}

/* --- Mobile and Below (≤768px) --- */
@media (max-width: 768px) {
  body {
    padding: 0 5px;
  }
  .hero-text-widget {
    padding: 30px 10px;
    text-align: center;
  }
  .hero-text-widget h1 {
    font-size: 2rem;
    line-height: 1.1;
  }
  .main-heading {
    font-size: 2.3rem;
    -webkit-text-stroke: 0.5px white;
  }
  .bold-text {
    font-size: 1.7rem;
  }
  .sub-heading {
    font-size: 1rem;
  }
  .features-section {
    gap: 12px;
  }
  .feature-item {
    padding: 12px 5px;
    margin-bottom: 8px;
  }
  .feature-icon i {
    font-size: 1.3rem;
    padding: 10px;
  }
  .feature-item h3 {
    font-size: 1rem;
  }
  .feature-item p {
    font-size: 0.95rem;
  }
  .about-title {
    font-size: 1.2rem;
  }
  .about-description {
    font-size: 0.95rem;
  }
  .product-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: auto;
    max-width: 100%;
    margin: 0;
  }
  .product-item img {
    height: 180px !important;
    object-fit: cover;
  }
  .project-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .testimonials-container {
    gap: 10px;
    padding-top: 15px;
  }
  .testimonial {
    width: 100%;
    margin-bottom: 12px;
    padding: 14px;
  }
  .quote-icon {
    font-size: 2.5rem;
    margin: -20px 0 -30px 0;
  }
  .testimonial p {
    font-size: 0.95rem;
  }
  .testimonial h4 {
    font-size: 1rem;
  }
  .sale-container {
    padding: 10px;
    border-radius: 8px;
    margin: 20px 0;
  }
  .top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .timer-box {
    font-size: 1.2rem;
    padding: 8px 12px;
  }
  .promo-message {
    font-size: 1rem;
  }
  .product-box ul.products {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-cta {
    flex-direction: column;
    padding: 1.2rem 1rem;
    text-align: center;
    border-radius: 1rem 0;
    gap: 10px;
  }
  .cta-contact-text {
    font-size: 1.1rem;
  }
  .cta-contact-button {
    width: 100%;
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  .delivery-container {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }
  .delivery-image img {
    border-radius: 30px 0px !important;
  }
}

/* --- Small Mobile (≤480px) --- */
@media (max-width: 480px) {
  .hero-text-widget {
    padding: 18px 5px;
  }
  .main-heading {
    font-size: 1.4rem;
  }
  .bold-text {
    font-size: 1.2rem;
  }
  .about-title {
    font-size: 1rem;
  }
  .about-description,
  .about-contact {
    font-size: 0.9rem;
  }
  .section-heading h2 {
    font-size: 1.1rem;
  }
  .headline {
    font-size: 1rem;
  }
  .product-item img {
    height: 110px !important;
  }
  .testimonial {
    padding: 8px;
  }
  .quote-icon {
    font-size: 1.2rem;
    margin: -10px 0 -18px 0;
  }
  .delivery-image img {
    border-radius: 18px 0 !important;
  }
}

/* --- Universal Responsive Fixes --- */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
