/*
 Theme Name: Hello Elementor Child
 Theme URI: https://yourwebsite.com/
 Description: Child theme for Hello Elementor
 Author: Your Name
 Author URI: https://yourwebsite.com/
 Template: hello-elementor
 Version: 1.0.1
*/

/* Import styles from the parent theme */
@import url("../hello-elementor/style.css");

@font-face {
  font-family: "Adhesian";
  src: url("https://wordpress-880076-4905084.cloudwaysapps.com/wp-content/uploads/2024/10/Adhesian-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1300px;
  }
}

html,
body {
  font-family: "Roboto", sans-serif;
}
a {
  color: #ba915a;
}
a:hover {
  color: #ba915a;
}

a.special {
  color: #cc9f63 !important;
}
.page-id-46848 h1.entry-title {
  text-align: center;
}
dd,
dl,
dt,
li,
ol,
ul {
  list-style: none;
}
.custom-btn {
  background-color: #4f6063;
  font-family: "Roboto", Sans-serif;
  font-size: 16px;
  font-weight: 500;
  fill: #fdfdfd;
  color: #fdfdfd;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #4f6063;
  border-radius: 1px 10px 10px 10px;
  padding: 12px 18px 12px 18px;
}
.accordion-item {
  cursor: pointer;
  border: none;
}
.accordion-header {
  position: relative;
}
.accordion-button {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #5b5b5b !important;
  font-weight: 400;
  font-size: 16px;
}
.accordion-header::before {
  content: "";
  border: 1px solid black;
  padding: 10px;
  position: absolute;
  top: 21%;
  left: 92.7%;
  border-radius: 50%;
}
.accordion-header::after {
  content: "\002B" !important;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background-image: none;
  position: absolute;
  top: 10%;
  left: 92.1%;
  color: #5b5b5b;
  font-weight: 400;
}
.accordion-header:not(.collapsed)::after {
  content: "\2212" !important; /* Unicode for up arrow */
  background-image: none;
}
.eael-advance-tabs .eael-tabs-nav > ul {
  justify-content: center !important;
  gap: 20px;
}
.eael-advance-tabs .eael-tabs-nav > ul li {
  -ms-flex: 0 1 auto;
  flex: 0 1 auto !important;
}
section.custom-section {
  padding: 48px 0;
}
.custom-padding {
  padding: 0rem 0rem 1.5rem 0rem;
}
h2.related-heading {
  line-height: 60px;
  text-align: center;
  font-weight: 600;
  font-size: 32px;
  font-family: "Adhesian", Sans-serif;
  color: #23383c;
}
.custom_map.elementor-widget.elementor-widget-shortcode {
  width: 100%;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  background: #fdfdfd;
  /* height: 45vh; */
}
a.brown-btn {
  background: #cc9f63;
  padding: 8px 6px 8px 6px;
  color: #fdfdfd;
  font-size: 14px;
  font-weight: 500;
  font-family: "Roboto";
}
a.brown-btn:hover {
  background: #cc9f63;
  color: #fdfdfd;
}
p.product-description {
  color: #767676;
  font-size: 13px;
  font-weight: 400;
  font-family: "Roboto";
}
h6.product-title {
  color: #5b5b5b;
  font-size: 16px;
  font-weight: 400;
  font-family: "Roboto";
}

/* Style the product box to position its contents */

.product-box {
  position: relative;
  overflow: hidden;
}

/* Hide original title initially */
.product-title.original-title {
  /* display: block; */
  opacity: 1;
  transition: all 0.5s ease;
}

/* Initially hide the hover box */
.product-box .hover-box {
  /* display: none; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.5s ease;
}

/* Show the hover box on hover over the product box */
.product-box .hover-box:hover {
  display: block;
  opacity: 1;
  transition: all 0.5s ease;
}

/* Hide the original title on hover */
.product-box:hover .original-title {
  /* display: none; */
  opacity: 0;
  transition: all 0.5s ease;
}

/* Style the hover title */
.product-box .hover-box .product-title {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
  transition: all 0.5s ease;
}

/* Optional: Add a little transition to the hover title */
.product-box .hover-box .product-title {
  transition: all 0.5s ease;
}
ul.products.product-featured {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1.8em;
}
li.product-box.product {
  border: 1px solid #F7F7F7;
  background: #FDFDFD;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 45vh;
  justify-content: space-around;
  align-items: flex-start;
  padding: 10px 10px 10px 10px;
  border-radius: 8px;
  width: 100%;
}
.product-featured .product-box .hover-box {
  height: 75%;
}

.gallery-section .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns initially */
  gap: 16px; /* Spacing between images */
}

.gallery-section img {
  width: 100%; /* Full width of grid cell */
  height: 300px; /* Uniform height for all images */
  object-fit: cover; /* Ensures images fill their container */
  object-position: center; /* Centers the image content */
  border-radius: 8px; /* Optional: Adds rounded corners */
}

/* Dynamic row adjustments using nth-child */
.gallery-section img:nth-child(4n) {
  grid-column: span 2;
}
.gallery-section img:nth-child(4n + 7) {
  grid-column: span 2;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-section .container {
    grid-template-columns: repeat(2, 1fr); /* Two columns on medium screens */
  }

  .gallery-section img {
    height: 200px; /* Adjust height for medium screens */
  }
  .gallery-section img:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .gallery-section .container {
    grid-template-columns: 1fr; /* Single column on small screens */
  }

  .gallery-section img {
    height: 150px; /* Adjust height for small screens */
  }
}
