/* ==========================================================================
   GLOBAL THEME BACKGROUND ADJUSTMENTS
   ========================================================================== */
body, 
body > div.home, 
.page-wrapper, 
.main-container {
    background-color: #f0e8da !important;
}

/* ==========================================================================
   CATEGORY ICONS ACTIONS
   ========================================================================== */
/* 1. REMOVE CATEGORY NAMES */
.categories-icons-item .category-name {
    display: none !important;
}

/* 2. MAKE ALL CATEGORY ICONS EQUAL IN SIZE */
.categories-icons-item a > div:not(.category-name) {
    width: 100% !important;
    height: 150px !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 3. ENSURE THE IMAGES WITHIN ARE PROPORTIONAL */
.categories-icons-item a > div:not(.category-name) img {
    max-height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Individual card structures framework normalization */
.categories-grid .categories-slider-item {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 300px !important; 
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
    float: none !important;
}

/* Internal absolute stack breaker block container wrapper */
.categories-grid .cats_side_wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

/* Image container block flow controls */
.categories-grid .sl_cat_01,
.categories-grid .sl_cat_01 div,
.categories-grid .sl_cat_01 a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
}

/* High prominence stretched image rules */
.categories-grid .sl_cat_01 img {
    width: 100% !important; 
    height: 320px !important; 
    object-fit: contain !important; 
    display: block !important;
    margin: 0 auto !important;
}

/* Text name position assignment engine (Guarantees zero overlap overlays) */
.categories-grid .sl_cat_02 {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important; 
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important; 
}

.categories-grid .sl_cat_02 h6,
.categories-grid .sl_cat_02 h6 a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #536254 !important; 
    text-decoration: none !important;
    line-height: 1.4 !important;
}

/* ==========================================================================
   DESKTOP RESPONSIVE CONFIGURATION (HORIZONTAL ARRAY RENDERING)
   ========================================================================== */
@media (min-width: 768px) {
    .categories-grid {
        flex-direction: row !important; 
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: flex-end !important; 
        gap: 80px !important;
    }

    .categories-grid .categories-slider-item {
        flex: 1 1 0% !important;
        width: auto !important;
        max-width: 240px !important;
    }

    .categories-grid .sl_cat_01 img {
        height: 340px !important; 
        max-width: 100% !important;
    }
}

/* Header Logo */
.logo img.basic-logo,
.logo img.sticky-logo {
    width: 180px !important;
    height: auto !important;
    max-width: 100% !important
    object-fit: contain !important
}

.section-title {
    text-align: center !important;
    width: 100%;
    display: block;
}

/* Mobile (default) */
.footer {
    background-image: url("https://i.postimg.cc/pX8qSQSJ/Mask-group.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
}

/* Desktop */
@media (min-width: 992px) {
    .footer {
        background-position: left center !important;
        background-size: contain !important;
    }
}

/* ===== Richline block ===== */
.richline-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    color: #75727B !important;
    font-size: 0.875rem;
}

/* ===== Richline logo ===== */
.richline-footer img {
    height: 18px;
}

/* ===== Text styling (Zid + Richline) ===== */
.richline-footer p,
.border-border-light a p {
    letter-spacing: 0.17px !important;
    font-family: "Almarai", sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.875rem !important;
    line-height: 1.43 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

    .richline-footer img {
        height: 16px;
    }
}

/* ===== Add space under footer ===== */
.border-border-light.mt-6.border-t.pt-6 {
    margin-bottom: 50px !important;
}

.section-images .gallery-section {
    gap: 15px;
    justify-content: center;
}

.section-images .gallery-section .image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonial Card */
.block-testimonial .single_review {
    background: #55685A !important; /* Change to your preferred background */
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

/* Hover Effect */
.block-testimonial .single_review:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* Review Text */
.block-testimonial .rev_desc p {
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.8;
}

/* Avatar */
.block-testimonial .sng_rev_thumb img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid rgb(255 255 255 / 98%);
}

.slider-testimonials .block-testimonial .sng_rev_caption .rev_author > h4 {
    text-align: center;
    font-size: 10px;
    color: #ffffff !important;
}

.product-box .card-bottom .card-btn {
    display: flex;
    justify-content: space-between;
    background-color: #55685A;
    color: #ffffff;
    font-size: 12px !important;
    width: 70px;
    height: 30px;
    border-radius: 5px;
    padding: 5px 8px;
    opacity: 1;
}

/* Mobile */
body > div.home > section:nth-child(1) {
    padding: 30px 0 !important;
}

/* Desktop */
@media (min-width: 992px) {
    body > div.home > section:nth-child(1) {
        padding: 80px 0 !important;
    }
}

body > div.home > section:nth-child(10) .gallery-section .image-item {
    width: 220px !important; /* Adjust as needed */
    flex: 0 0 auto;
}

.product-accordion {
    border-radius: 0;
    background-color: #ffffff00;
    padding: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-reviews {
    background-color: #fafafa00;
    padding-top: 15px;
    padding-bottom: 40px;
    margin-top: -20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* 1. Hide the original image */
#side-menu > div > div.menu-logo.px-3.py-4.d-flex > img {
    visibility: hidden;
    width: 0;
    height: 0;
}

/* 2. Set the new image as a background on the parent container */
#side-menu > div > div.menu-logo.px-3.py-4.d-flex {
    background-image: url('https://i.postimg.cc/k4zcQWcx/Mask-group-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 200px;
    margin-right:10px
}

#side-menu > div > div.menu-logo.px-3.py-4.d-flex > a > i {
    display: none !important;
}
#side-menu > div > div.menu-logo.px-3.py-4.d-flex > a{
    display: none !important; 
}

body > section > div{
    display: none !important;
}