/*
Theme Name: Hello Elementor Child
Description: Hello Elementor Child Theme
Author: Saurav Ghosal
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.fa, .fab, .fad, .fal, .far, .fas  {
    color: #A4AB83;
}
body .elementor-kit-7 {
     font-family: "Montserrat", Sans-serif;
}

.__akia-chat-icon-wrapper,
.__akia-chat-box {
  margin-bottom: 50px!important;
}

/* BEDROOM LAYOUT SHORTCODE */

.bedroom-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive grid with flexible column sizes */
    gap: 20px; /* Space between grid items */
    margin-top: 20px; /* Space above the grid */
}

.bedroom-layout-item {
    background-color: #f9f9f9; /* Light background for grid items */
    padding: 15px; /* Padding inside each item */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    text-align: center; /* Center align the content */
}

.bedroom-layout-item h3 {
    font-size: 18px; /* Larger font size for bedroom titles */
    font-weight: 600; /* Bold font weight for emphasis */
    margin-bottom: 10px; /* Space below the title */
    color: #333; /* Darker color for the title */
    display: flex; 
    align-items: center;
    justify-content: center;
}

.bedroom-layout-item h3 i {
    margin-right: 8px; /* Space between the icon and the title */
    color: #CE6246; /* Matching icon color */
}

.bed-type-list {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
}

.bed-type-list li {
    font-size: 16px; /* Standard font size for bed types */
    margin-bottom: 8px; /* Space between list items */
    color: #555; /* Slightly lighter color for bed types */
    display: flex;
    align-items: center;
    justify-content: center;
}

.bed-type-list li i {
    margin-right: 8px; /* Space between the icon and the bed type */
    color: #CE6246; /* Matching icon color */
}

@media (max-width: 768px) {
    .bedroom-layout-grid {
        grid-template-columns: 1fr; /* Single column on mobile devices */
    }
}

/* IMAGE HEADLINE SHORTCODE */
.headline-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns */
    grid-template-rows: repeat(2, 1fr); /* 2 rows */
    gap: 10px; /* Spacing between grid items */
	height: 500px;
}

/* MOBILE */
/* Style the carousel container */
.headline-image-mobile {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    height: auto;
}

/* Slick carousel styles */
.headline-image-mobile .slick-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.headline-image-mobile .carousel-item {
    background-size: cover; /* Ensures the image covers the container */
    background-position: center center; /* Centers the background image */
    height: 250px; /* Set height for mobile */
    width: 100%; /* Ensures the item takes up the full width of the container */
    position: relative; /* For positioning child elements */
}

/* Caption overlay */
.headline-image-mobile .carousel-caption {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6); /* Dark transparent background */
    color: white;
    padding: 8px;
    font-size: 14px;
    border-radius: 5px;
    max-width: 80%;
    line-height: 1.4;
    z-index: 1;
}

/* Remove any arrow button styles since they are disabled */
.headline-image-mobile .slick-prev,
.headline-image-mobile .slick-next {
    display: none !important;
}

/* Position the image count text */
.image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 3px;
    z-index: 2; /* Ensure it appears above the image */
}

/* Styling for clickable images (inside the anchor tag) */
.headline-image-mobile .slick-carousel a {
    display: block;
    position: relative;
    text-decoration: none;
}

.headline-image-mobile .slick-carousel a:hover .carousel-item {
    transform: scale(1.05); /* Slight zoom on hover */
    transition: transform 0.3s ease-in-out;
}

/* Hover effect on background images */
.headline-image-mobile .carousel-item:hover {
    transform: scale(1.05); /* Slight zoom effect */
    transition: transform 0.3s ease-in-out;
}

.headline-image-mobile .carousel-item {
	height: 250px; /* Set smaller height for very small screens */
}

/* Styling for individual grid items (desktop) */
.headline-image-grid .grid-item {
    position: relative; /* For overlay positioning */
    overflow: hidden;
    cursor:pointer;
}

/* Large item styling (desktop) */
.headline-image-grid .large-item {
    grid-column: span 2;
    grid-row: span 2;
}
.headline-image-grid .grid-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
}
.headline-image-grid:has(.grid-item.open_popup_id:nth-child(4n)) .grid-item:first-child {
     grid-row: span 2;
 }
/* Image styling */
.headline-image-grid .grid-item img,
.headline-image-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px; /* Optional: rounded corners */
}

/* Overlay styling */
.headline-image-grid .overlay,
.headline-image-mobile .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px; /* Match with image rounding */
}

/* Specific styling for the large image overlay */
.headline-image-grid .large-item .overlay {
    font-size: 32px;
}

.slider-nav {
    background-color: transparent !important;
}

/* CABIN IMAGE CAROUSEL */
/* Container Styling */
.cabin-image-carousel {
    max-width: 100%; /* Ensures the carousel does not exceed the container width */
    margin: 0 auto;  /* Centers the carousel horizontally */
    overflow: hidden; /* Prevents content from spilling over */
    padding: 0; /* Removes any padding */
    box-sizing: border-box; /* Includes padding and borders in the width */
	border-radius: 20px;
}

.carousel-img {
	border-radius: 20px !important;
}

/* Carousel Item Styling */
.cabin-image-carousel .carousel-item {
    width: 100%; /* Makes each carousel item take up full width */
    height: 300px; /* Set a fixed height for the carousel items */
	border-radius: 20px;
    box-sizing: border-box;
    position: relative;
    background-size: cover; /* Ensures the background image covers the entire container */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents background from repeating */
}

/* Placeholder for Image Captions */
.cabin-image-carousel .image-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.slick-prev {
	left: 10px !important;
	z-index: 1;
}

.slick-next {
	right: 10px !important;
	z-index: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cabin-image-carousel .carousel-item {
        height: 250px; /* Adjust height for smaller screens */
    }

    .slick-prev, .slick-next {
        font-size: 16px; /* Smaller arrow icons */
        width: 30px; /* Smaller arrow buttons */
        height: 30px;
        line-height: 30px;
    }
}

@media (min-width: 1024px) {
    .cabin-image-carousel {
        max-width: 100%; /* Keeps width 100% for larger screens */
    }
}

.carousel-navigation {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	z-index: 10;
}
.carousel-left {
	left: 0;
}
.carousel-right {
	right: 0;
}

/* SCROLL TO TOP BUTTON */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7); /* Light translucent background */
    border: none;
    border-radius: 50%; /* Circle shape */
    cursor: pointer;
    font-size: 20px; /* Size of the arrow icon */
    z-index: 1000;
    width: 50px; /* Adjust the size of the button */
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

#scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly less translucent on hover */
}

#scroll-to-top i {
    font-size: 20px; /* Size of the arrow */
    color: #333; /* Light grey color for the arrow */
}

/* Single Cabin Page Header */

/* Style the tab container */
.sticky-tabs {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: flex-start; /* Align tabs to the start */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scrolling */
    overflow-y: hidden; /* Hide vertical scrollbar */
    white-space: nowrap; /* Prevent tabs from breaking into new lines */
    z-index: 1000; /* Ensure it stays on top */
}

/* Style for individual tabs */
.sticky-tabs a {
    text-decoration: none;
    text-transform: uppercase;
    color: #333 !important;
    padding: 10px 20px;
    font-weight: 600;
    transition: color 0.3s, background-color 0.3s;
    flex: 0 0 auto; /* Prevent tabs from shrinking */
    text-align: center;
    margin: 5px 10px; /* Margin to separate tabs */
    white-space: nowrap; /* Ensure tab text doesn't wrap */
    border-bottom: 2px solid transparent; /* Default state: no underline */
}

/* Specific style for the Book Now button */
.sticky-tabs .book-now-btn {
    color: white !important; /* Exclude this button from color changes */
    border-bottom: none; /* Optional: if you don't want the underline on this button */
}

/* Highlight the active tab */
.sticky-tabs a.active {
    border-bottom: 2px solid #CE6246; /* Underline active tab */
}

/* Desktop "Book Now" button inside sticky tabs */
.book-now-btn {
    background-color: #CE6246; /* Orange background color */
    color: #ffffff !important; /* White text */
    font-weight: 800;
    padding: 10px 20px; /* Slightly larger padding to make it stand out */
    border-radius: 1px; /* Rounded corners */
    text-transform: uppercase; /* Make the text uppercase */
    text-align: center;
    display: block; /* Ensure it takes up the full width */
}

/* Book Now button hover effect */
.book-now-btn:hover {
    background-color: #B35339; /* Darker orange for hover */
    color: #ffffff;
}

/* Mobile/Tablet "Book Now" button outside sticky tabs */
.mobile-book-now-btn {
    display: none; /* Hidden by default */
    background-color: #CE6246; /* Orange background color */
    color: #ffffff !important; /* White text */
    font-weight: 800;
    padding: 15px 20px; /* Larger padding for better visibility on mobile */
    border-radius: 0; /* Remove rounded corners for full-width effect */
    text-transform: uppercase; /* Make the text uppercase */
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* Ensure it stays on top of other content */
}

/* Mobile Book Now button hover effect */
.mobile-book-now-btn:hover {
    background-color: #B35339; /* Darker orange for hover */
    color: #ffffff;
}
table.shop_table.woocommerce-checkout-review-order-table {
    display: none;
}
.dialog-widget.dialog-lightbox-widget:has(.joinOurMemberPopup) .dialog-widget-content {
    border-radius: 20px 0 20px 0;
}
.checkoutrow__rightInner {
    position: sticky;
    z-index: 1;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.checkoutrow__rightInner .checkoutPayBox {
     position: static;
}
.checkoutPayBox {
     background: #ffffff;
     border: 1px solid var(--e-global-color-6d3caaf);  
     position: sticky;
     z-index: 1;
     top: 100px;
}


.instruction-container.checkoutPayBox {
    background-color: var(--e-global-color-1d4fa1d);
    padding: 20px;
    border: 0;
    border-radius: 12px 0 12px 0;
}
.instruction-container.checkoutPayBox li::marker,
.guranteeBox li::marker  
{
    color: var( --e-global-color-primary );
}
 

.instruction-container.checkoutPayBox li{
    line-height: 1.5;
}

.instruction-container.checkoutPayBox li + li,
.guranteeBox li + li 
{
    margin-top: 3px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .sticky-tabs {
        justify-content: flex-start; /* Align tabs to the start on mobile */
    }

    .sticky-tabs a {
        font-size: 16px; /* Adjust font size for mobile */
    }

    /* Show the mobile "Book Now" button on smaller screens */
    .mobile-book-now-btn {
        display: block; /* Display on mobile/tablet */
    }

    /* Hide the desktop "Book Now" button on smaller screens */
    .sticky-tabs .book-now-btn {
        display: none; /* Hide on mobile/tablet */
    }
}