body {
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.main-groups,
.parent-tabs {
    margin: 20px 0;
}

.main-groups button,
.parent-tabs button {
    background: #111;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.main-groups button.active,
.parent-tabs button.active {
    background: #fff;
    color: #000;
    font-weight: bold;
}

.title-wrap {
    display: inline-block;
}

.title-wrap h4 {
    color: #bda371;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.title-wrap p {
    color: #888;
    font-size: 18px;
    font-weight: 300;
    margin: 2px 0 0 0;
    padding: 0;
}


/* Removed #parentTabs styling as it's no longer used for tabs */

.child-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.child-box {
    background: #111;
    border: 1px solid #333;
    padding: 10px;
    text-align: center;
    width: 150px;
    border-radius: 8px;
}

.child-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.child-box p {
    font-size: 12px;
    color: #ccc;
}

.material-heading h4 {
    color: #bda371;
    font-size: 42px;
    font-family: "Playfair Display", serif;
}

.material-heading p {
    font-family: "Figtree", sans-serif;
    width: 70%;
}

section[data-main-group] h2 {
    scroll-margin-top: 48px;
    font-family: "Playfair Display", serif;
}

/* Removed #bannerImage styles as it's replaced by Swiper */
/* #bannerImage {
            display: block;
            object-fit: cover;
        } */

/* .left-div {
      flex: 0 0 20%;
      padding: 10px;
    } */

.parent-block {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.child-name {
    font-size: 16px;
    text-transform: uppercase;
}

.child-code {
    font-size: 14px;
    color: #bda371;
}

.custom-dropdown-wrapper {
    position: relative;
    width: 300px;
    font-family: 'FigTree', sans-serif;
    font-size: 16px;
}

.selected-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #bda371;
    color: #bda371;
    background: #000;
    cursor: pointer;
    user-select: none;
}

.arrow-down {
    font-size: 12px;
    color: #bda371;
    margin-left: 10px;
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #bda371;
    background: #000;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.custom-dropdown-list li {
    padding: 8px 12px;
    cursor: pointer;
}

.custom-dropdown-list li:hover {
    color: #bda371;
}

.arrow-down {
    transition: transform 0.3s ease;
}

.custom-dropdown-wrapper.open .arrow-down {
    transform: rotate(180deg);
}

.right-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Removed tab-specific styles */
.tab-buttons,
.tab-button,
.tab-content {
    display: block !important;
    /* Ensure they don't interfere if mistakenly left */
    visibility: hidden;
    /* Hide if still present */
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: none;
}

.tab-content.active {
    display: block !important;
}

/* Swiper specific styles for full-width image */
.swiper-container {
    width: 100%;
    height: auto;
    /* Adjust as needed, or use max-height */
    overflow: hidden;
    /* Important for Swiper */
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensures image covers the area, cropping if necessary */
}

#loading-spinner {
    text-align: center;
    padding: 20px;
    display: none;
    /* Hidden by default */
}

#loading-spinner img {
    width: 50px;
    /* Adjust size as needed */
    height: 50px;
}

/* Basic loader container styling */
#material-loader {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
    /* Hidden by default */
}

#material-loader p {
    margin-top: 10px;
    font-size: 1.1em;
    color: #555;
}

/* CSS Spinner Animation (instead of a GIF) */
.loader-spinner-material-lib {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    /* Blue color for the spinner */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    /* Apply the spin animation */
    margin: 0 auto;
    /* Center the spinner */
}

/* Keyframes for the spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .sticky-header-inner {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .material-heading {
        width: 100%;
    }

    .custom-dropdown-wrapper {
        width: 100%;
    }

    .selected-option {
        width: 100%;
    }

    .parent-block {
        flex-direction: column;
    }

    .custom-dropdown-list {
        position: static !important;
        display: block;
        margin-top: 0.5rem;
    }

    .custom-dropdown-wrapper {
        width: 100%;
    }

    .selected-option {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}


@media only screen and (max-width: 451px) {
    .parent-block {
        flex-direction: column;
    }

    .child-name {
        font-size: 12px;
        text-transform: uppercase;
    }

    .child-code {
        font-size: 10px;
        color: #bda371;
    }
}