/* ! Config Table  */

.g-config-tbl-sidebar-btn-group{
display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.g-config-tbl-activate-btn{
    background-color: #3C0753;
    padding: 10px !important;
    border: 1px solid #ccc;
    text-align: justify !important;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    font-size: 14px;
}


.g-config-tbl-activate-btn-img{
width: 40px;
}

.g-config-tbl-sidebar-btn-group{
background: #fbf8f8;
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: 1px solid #ccc;
    flex: 1 1 350px;
    height: fit-content;
    text-align: center;
min-width: 300px;
}


.g-config-tbl-search-box{
margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 5px 16px !important;
    border-left: 3px solid #000;
    outline: none;
    width: 100%;
    position: relative;
    font-size: 16px !important;
}

.g-config-show-toggle-btn{
width: auto;
    margin-top: 13px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 14px;
    color: #fff;
    border-radius: 20px;
    background: rgb(131, 0, 22);
    background: -moz-linear-gradient(93deg, rgba(131, 0, 22, 1) 0%, rgba(215, 0, 36, 1) 100%);
    background: -webkit-linear-gradient(93deg, rgba(131, 0, 22, 1) 0%, rgba(215, 0, 36, 1) 100%);
    background: linear-gradient(93deg, rgba(131, 0, 22, 1) 0%, rgba(215, 0, 36, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient
}

/* !! Recent Post */
.recent-posts-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.recent-posts-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    /* For positioning navigation buttons */
}

.recent-posts-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
}

/* Swiper Carousel Styles */
.recent-posts-carousel {
    width: 100%;
    height: 100%;
    padding-bottom: 50px;
    /* Space for pagination */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    /* Let card height be natural */
}

/* Post Card Styles */
.post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensure all cards in a row have the same height */
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.post-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allow content to grow and fill space */
}

.post-card .card-category {
    display: inline-block;
    background-color: #eef2ff;
    color: #4338ca;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 12px;
    align-self: flex-start;
    /* Don't stretch the badge */
}

.post-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #111827;
    line-height: 1.4;
}

.post-card .card-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
    /* Limit text to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.post-card .card-footer {
    margin-top: auto;
    /* Push footer to the bottom */
    font-size: 0.85rem;
    color: #6b7280;
}

/* Carousel Navigation and Pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #4338ca;
    top: 50%;
    transform: translateY(-70%);
    /* Adjust vertical alignment */
}

.swiper-button-prev {
    left: -10px;
}

.swiper-button-next {
    right: -10px;
}

.swiper-pagination-bullet-active {
    background: #4338ca;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recent-posts-section h2 {
        font-size: 2rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
        /* Hide arrows on mobile for a cleaner look */
    }
}

/* !! Recent Post */


/* --- Tooltip Container --- */
.g-tooltip-container {
  position: relative; /* Crucial for positioning the tooltip */
  display: inline-block;
  cursor: pointer;
}

/* --- The element that triggers the tooltip --- */
.g-tooltip-trigger {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between the icon and text */
  color: #007bff; /* Example color */
  font-weight: bold;
}

/* --- The Tooltip Itself --- */
.g-tooltip {
  /* Initially hidden */
  visibility: hidden;
  opacity: 0;

  /* Tooltip Appearance */
  background-color: #2c3e50; /* A slightly softer black */
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: normal;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */


  /* Tooltip Positioning */
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the trigger */
  left: 50%;
  transform: translateX(-50%); /* Horizontally center the tooltip */
  white-space: nowrap; /* Prevents the text from wrapping */


  /* Fade-in Animation */
  transition: opacity 0.3s ease;

  /* Arrow pointing down */
  &::after {
    content: "";
    position: absolute;
    top: 100%; /* Position at the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #2c3e50 transparent transparent transparent;
  }
}

/* --- Show the tooltip on hover --- */
.g-tooltip-container:hover .g-tooltip {
  visibility: visible;
  opacity: 1;
}

.category-wise-product-tbl-section{
    padding: 50px 3%;
}


.g-cityBtnToggler{
    width: auto;
    margin-top: 13px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 14px;
    color: #fff;
    border-radius: 20px;
    background: rgb(255,108,44);
    background: -moz-linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    background: -webkit-linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    background: linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#830016",endColorstr="#d70024",GradientType=1);
}

.gLocation-Finder{
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 5px 16px !important;
    border-left: 3px solid #3C0753;
    outline:none;
    width:100%;
    position:relative;
    font-size: 16px !important;
}

.gLocation-Finder::placeholder{
    font-size: 14px !important;
    color: #ccc !important;
}

.NavigateBtnimgDiv{
    width: 30px;
    margin-right: 10px;
}

.filterwrap{
    max-width:1700px !important;
}
/*filtering*/
















.g-side-panel-btn-container{
    background: #fbf8f8;
    padding: 20px 20px;
    border-radius: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: 1px solid #ccc;
    flex: 1 1 350px;
    height: fit-content;
    text-align:center;
}

.g-content-center{
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.g-side-by-side-panel-container{
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
}

.g-config-tbl-activate-btn{
    background-color: #3C0753;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: justify;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size:14px;
}

#gspectablewrapper{
    width: 100%;
}


.g-config-tbl-activate-btn:hover{
    background-color: #000;
    transition:0.3s ease-in-out;
}

.g-active-btn{
    background-color: #000;
}

#gsubBtnGroupContainer{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gwidth100 > .g-new-product-pricing-table > .g-new-product-pricing-table-thead {
    color:#fff !important;
}

@media screen and (max-width:1400px) {
    .g-side-panel-btn-container {
        flex: 1 1 320px;
    }
}

@media screen and (max-width:1100px) {
    .g-side-by-side-panel-container {
        flex-wrap:wrap;
    }
    
    .g-side-panel-btn-container {
        flex: 1 auto !important;
    }
    
    .g-side-by-side-panel-container {
        flex-direction: column-reverse;
    
    }
    
    .g-config-tbl-activate-btn{
        flex: 1 1;
    }
}

.g-side-panel-btn-container-defr-div{
    flex: 1 1 auto !important;
}


.gsubBtnGroupContainerdef{
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px !important;
} 


.g-config-tbl-activate-btn{
    width: 100% !important;
} 

.g-config-show-toggle-btn{
    width: auto;
    margin-top: 13px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 14px;
    color: #fff;
    border-radius: 20px;
    background: rgb(255,108,44);
    background: -moz-linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    background: -webkit-linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    background: linear-gradient(93deg, rgba(114, 4, 85, 1) 0%, rgba(255,108,44, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#830016",endColorstr="#d70024",GradientType=1);
}

.category-wise-product-tbl-section .container{
        max-width: 1700px;
}