/* Inline Styles Moved to CSS */

/* Meta Pixel hidden image */
.pixel-hidden {
    display: none;
}

/* Announcement email link spacing */
.announcement-email-link {
    margin-right: 5px;
}

/* Header Navigation - Position relative for dropdown positioning */
.nav-item-relative {
    position: relative;
}

/* Hidden checkboxes and radio buttons for menu toggles */
.menu-toggle-input {
    display: none;
}

/* Menu toggle label styling */
.menu-toggle-label {
    cursor: pointer;
    margin: 0;
}

/* Product links text styling */
.product-link-style {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Mobile submenu styling */
.submenu-main-level {
    padding-left: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

/* Mobile submenu child level styling */
.submenu-child-level {
    padding-left: 15px;
    border-left: 1px dashed #ccc;
}

.visual-h5 {
    font-size: 1.25rem;
}

/* Product category gallery styles */
#MainContent .product-gallery-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#MainContent .product-thumb-rail {
    width: 50px;
    flex: 0 0 50px;
}

#MainContent .product-thumb-list {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#MainContent .product-thumb-list::-webkit-scrollbar {
    display: none;
}

#MainContent .product-thumb-btn {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px;
    min-height: 50px;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
}

#MainContent .product-thumb-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 50px;
    min-height: 50px;
    object-fit: cover;
    border-radius: 10px;
}

#MainContent .product-gallery-main {
    /* width: calc(100% - 162px) !important; */
    max-height: 320px;
    object-fit: cover;
}

#MainContent .gallery-scroll-btn {
    width: 100%;
    height: 28px;
    border: 1px solid #1cb755 !important;
    border-radius: 8px;
    background: linear-gradient(180deg, #27c361 0%, #1cb755 100%);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(28, 183, 85, 0.22) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#MainContent .gallery-scroll-btn:hover,
#MainContent .gallery-scroll-btn:focus {
    background: #107d38;
    border-color: #107d38 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

#MainContent .gallery-scroll-btn:disabled {
    background: #cfead8;
    border-color: #b7dfc5 !important;
    color: #5f8f71 !important;
    box-shadow: none !important;
    transform: none;
    cursor: not-allowed;
}

#MainContent .gallery-scroll-btn i {
    font-size: 12px;
    line-height: 1;
}

@media (max-width: 767.98px) {
    #MainContent .product-gallery-wrap {
        flex-direction: column-reverse;
        gap: 10px;
    }

    #MainContent .product-thumb-rail {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    #MainContent .product-thumb-list {
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        width: 100%;
        padding-bottom: 2px;
    }

    #MainContent .product-thumb-btn {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px;
        min-height: 56px;
    }

    #MainContent .product-gallery-main {
        /* width: 100% !important; */
        max-height: 220px;
    }

    #MainContent .gallery-scroll-btn {
        display: none !important;
    }
}

/* Desktop product menu nesting: keep only the final leaf panel as flyout */
.product-submenu .product-menu-level-2 {
    position: static;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 6px 0 0;
}

.product-submenu .product-menu-level-1 > li > .product-menu-level-2 {
    margin-top: 6px;
    margin-left: 12px;
    width: calc(100% - 12px);
    box-sizing: border-box;
    padding-left: 12px;
    border-left: 2px solid #d8eadf;
    background: linear-gradient(180deg, rgba(248, 252, 249, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.product-submenu .product-menu-level-3-inline {
    position: static;
    min-width: 0;
    width: 100%;
    border: 0;
    box-shadow: none;
    padding: 6px 0 0;
    max-height: none;
    overflow: visible;
    background: #fff;
}

.product-submenu .product-menu-level-2 > li > .product-menu-level-3-inline {
    margin-top: 6px;
    margin-left: 12px;
    width: calc(100% - 12px);
    box-sizing: border-box;
    padding-left: 12px;
    border-left: 2px solid #e5efe8;
}

.product-submenu .product-menu-level-2 > li,
.product-submenu .product-menu-level-3-inline > li {
    position: relative;
}

.product-submenu .product-menu-level-2 > li > .product-label,
.product-submenu .product-menu-level-3-inline > li > .product-label,
.product-submenu .product-menu-level-3-inline > li > .product-link-style {
    position: relative;
    border-radius: 4px;
}

.product-submenu .product-menu-level-2 > li > .product-label {
    padding-left: 24px;
}

.product-submenu .product-menu-level-2 > li > .product-label:hover {
    padding-left: 29px;
}

.product-submenu .product-menu-level-3-inline > li {
    padding: 0;
    font-size: 14px;
    color: #2f2f2f;
    font-weight: 500;
    background: transparent;
}

.product-submenu .product-menu-level-3-inline > li:hover {
    background: transparent;
    color: inherit;
    padding-left: 0;
}

.product-submenu .product-menu-level-3-inline > li > .product-label {
    font-weight: 500;
    color: #2f2f2f;
    display: block;
    padding: 8px 15px 8px 24px;
    background: #fcfcfc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-submenu .product-menu-level-3-inline > li > .product-link-style {
    display: block;
    font-weight: 500;
    color: #2f2f2f;
    padding-left: 24px;
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    background: #fcfcfc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-submenu .product-menu-level-3-inline > li > .product-label:hover,
.product-submenu .product-menu-level-3-inline > li > .product-link-style:hover {
    background: #e9f7ef;
    color: #159e47;
    padding-left: 29px;
}

.product-submenu .product-menu-level-4 {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 150px;
    width: max-content;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 2px solid #f0f0f0;
    padding: 10px 0;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
}

/* Homepage inline-style migration */
.home-banner-card-1 {
    background-image: url('../img/Banner 1.jpg');
}

.home-banner-card-2 {
    background-image: url('../img/Banner 2.jpg');
}

.home-banner-card-3 {
    background-image: url('../img/Banner 3.jpg');
}

.home-services-emphasis {
    color: #159e47;
}

.home-service-media {
    height: 280px;
}

.home-service-image-dim {
    filter: brightness(40%);
}

.home-brand-logo-frame {
    border-radius: 12px;
    overflow: hidden;
    min-height: 150px;
    padding: 16px 12px 12px;
    background: #fff;
}

.home-brand-logo-image {
    border-radius: 12px;
}

.home-testimonial-item {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    border-radius: 12px;
    transition: transform 0.3s ease;
    width: 430px;
}

.home-testimonial-stars {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.home-star-icon {
    font-size: 20px;
    color: #f4c150;
    line-height: 1;
}

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

.home-section-intro {
    max-width: 720px;
    margin: 0 0 28px;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.home-section-link {
    color: #159e47;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.home-section-link:hover {
    color: #107d38;
}

.home-brand-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.home-branch-card,
.home-associate-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-branch-card:hover,
.home-associate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.home-branch-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9f7ef;
    color: #159e47;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.home-branch-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111;
}

.home-branch-address {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.home-branch-phone {
    color: #159e47;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.home-associate-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    border: 1px solid #e8eee9;
}

.home-associate-name {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.home-associate-role {
    color: #667;
    font-size: 13px;
}

.home-associate-link {
    margin-top: 8px;
    color: #159e47;
    font-size: 13px;
    font-weight: 600;
}

.home-activity-card {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.home-activity-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.home-activity-caption {
    padding: 18px 18px 20px;
}

.home-activity-caption h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.home-activity-caption p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.home-people-card {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.home-people-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.home-people-meta {
    padding: 12px 8px 14px;
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

@media (max-width: 767.98px) {
    .home-activity-card img,
    .home-people-card img {
        height: 180px;
    }
}
