/* Homepage 1 specific styles */

/* Fresh Home 1 Swiper slider */
.home1-hero-slider {
    --home1-slider-height-desktop: 620px;
    --home1-slider-height-tablet: 520px;
    --home1-slider-height-mobile: 420px;
    --home1-slider-overlay-opacity: 0.72;
    --home1-slider-title-color: #ffffff;
    --home1-slider-text-color: #f2f6fa;
    --home1-slider-button-bg: #1f3444;
    --home1-slider-button-text: #ffffff;
    --home1-slider-button-hover-bg: #162633;
    --home1-slider-button-hover-text: #ffffff;
    --home1-slider-arrow-bg: #1a2c3a;
    --home1-slider-arrow-border: #ffffff;
    --home1-slider-arrow-icon: #ffffff;
    --home1-slider-dot-color: #8ea3b4;
    --home1-slider-dot-active-color: #ffffff;
    --home1-slider-overlay-from: #2e4559;
    --home1-slider-overlay-to: #6e899e;
    position: relative;
    height: var(--home1-slider-height-desktop);
    min-height: 560px;
    overflow: hidden;
    background: #6f8799;
}

.home1-hero-slider .home1-swiper,
.home1-hero-slider .swiper-wrapper,
.home1-hero-slider .home1-slide-item {
    height: 100%;
}

.home1-hero-slider .home1-slide-item {
    position: relative;
}

.home1-hero-slider .home1-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home1-hero-slider .home1-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--home1-slider-overlay-from) 0%, var(--home1-slider-overlay-from) 42%, var(--home1-slider-overlay-to) 100%);
    opacity: var(--home1-slider-overlay-opacity);
    z-index: 1;
}

.home1-hero-slider .home1-slide-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.home1-hero-slider .home1-slide-content {
    max-width: 500px;
    color: #fff;
}

.home1-hero-slider .home1-slide-title {
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 18px;
    color: var(--home1-slider-title-color);
}

.home1-hero-slider .home1-slide-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--home1-slider-text-color);
}

.home1-hero-slider .home1-slide-text p {
    margin: 0 0 10px;
}

.home1-hero-slider .home1-slide-btn {
    display: inline-block;
    padding: 11px 26px;
    background: var(--home1-slider-button-bg);
    color: var(--home1-slider-button-text);
    text-decoration: none;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.02em;
    transition: background-color 0.2s ease;
}

.home1-hero-slider .home1-slide-btn:hover {
    background: var(--home1-slider-button-hover-bg);
    color: var(--home1-slider-button-hover-text);
}

.home1-hero-slider .home1-swiper-pagination {
    bottom: 22px !important;
    z-index: 4;
}

.home1-hero-slider .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: var(--home1-slider-dot-color);
    opacity: 1;
}

.home1-hero-slider .swiper-pagination-bullet-active {
    background: var(--home1-slider-dot-active-color);
}

.home1-hero-slider .home1-swiper-prev,
.home1-hero-slider .home1-swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--home1-slider-arrow-border);
    border-radius: 50%;
    background: var(--home1-slider-arrow-bg);
    color: var(--home1-slider-arrow-icon);
    z-index: 20;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.home1-hero-slider .home1-swiper-prev::after,
.home1-hero-slider .home1-swiper-next::after {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: var(--home1-slider-arrow-icon);
}

.home1-hero-slider .home1-swiper-prev::after {
    content: "\2039";
}

.home1-hero-slider .home1-swiper-next::after {
    content: "\203A";
}

.home1-hero-slider .home1-swiper-prev {
    left: 22px;
}

.home1-hero-slider .home1-swiper-next {
    right: 22px;
}

.home1-hero-slider .home1-swiper-prev:hover,
.home1-hero-slider .home1-swiper-next:hover {
    background: rgba(8, 21, 31, 0.4);
}

.home1-hero-slider.is-arrows-off .home1-swiper-prev,
.home1-hero-slider.is-arrows-off .home1-swiper-next {
    display: none !important;
}

.home1-hero-slider.is-dots-off .home1-swiper-pagination {
    display: none !important;
}

/* Force arrows visible even when Swiper marks controls as locked/disabled. */
.home1-hero-slider .swiper-button-lock,
.home1-hero-slider .swiper-button-disabled {
    display: flex !important;
}

@media (max-width: 991px) {
    .home1-hero-slider {
        height: var(--home1-slider-height-tablet);
        min-height: 460px;
    }
}

@media (max-width: 767px) {
    .home1-hero-slider {
        height: 470px;
        min-height: 420px;
    }

    .home1-hero-slider .home1-slide-content {
        max-width: 100%;
        padding-right: 36px;
    }

    .home1-hero-slider .home1-slide-title {
        font-size: 30px;
    }
}

@media (max-width: 575px) {
    .home1-hero-slider {
        height: var(--home1-slider-height-mobile);
        min-height: 380px;
    }

    .home1-hero-slider .home1-slide-title {
        font-size: 26px;
    }

    .home1-hero-slider .home1-slide-text {
        font-size: 13px;
        line-height: 1.6;
    }
}

.home1-services-section,
.home1-team-section,
.home1-testimonials-section {
    padding: 80px 0;
}

.home1-services-section {
    --home1-services-bg: #f4f4f4;
    --home1-services-title-color: #2f2f2f;
    --home1-services-subtitle-color: #484848;
    --home1-services-divider-color: #111111;
    --home1-services-divider-icon-color: #121212;
    --home1-services-item-title-color: #2d2d2d;
    --home1-services-item-title-hover-color: #4f4f4f;
    --home1-services-thumb-border-color: #d7d7d7;
    --home1-services-thumb-hover-border-color: #bdbdbd;
    --home1-services-padding-top: 70px;
    --home1-services-padding-bottom: 64px;
    --home1-services-thumb-size: 86px;
    --home1-services-title-fs: 42px;
    --home1-services-subtitle-fs: 17px;
    --home1-services-item-fs: 20px;
    --home1-services-grid-gap: 18px;
    --home1-services-cols-desktop: 4;
    --home1-services-cols-tablet: 2;
    --home1-services-cols-mobile: 2;
    background-color: var(--home1-services-bg);
    text-align: center;
    padding: var(--home1-services-padding-top) 0 var(--home1-services-padding-bottom);
}

.home1-services-title {
    margin: 0;
    font-size: clamp(24px, 3vw, var(--home1-services-title-fs));
    font-weight: 300;
    line-height: 1.2;
    color: var(--home1-services-title-color);
}

.home1-services-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 12px 0 6px;
    color: var(--home1-services-divider-icon-color);
}

.home1-services-divider-line {
    display: block;
    width: 46px;
    border-top: 2px solid var(--home1-services-divider-color);
    opacity: 0.9;
}

.home1-services-divider-dot {
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

.home1-services-subtitle {
    font-family: "Dancing Script", cursive;
    margin: 0 0 36px;
    font-size: var(--home1-services-subtitle-fs);
    font-style: italic;
    color: var(--home1-services-subtitle-color);
}

.home1-services-grid {
    display: grid;
    grid-template-columns: repeat(var(--home1-services-cols-desktop), minmax(0, 1fr));
    gap: var(--home1-services-grid-gap);
    max-width: 860px;
    margin: 0 auto;
}

.home1-service-item {
    text-align: center;
}

.home1-service-thumb-link {
    display: inline-flex;
    width: var(--home1-services-thumb-size);
    height: var(--home1-services-thumb-size);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 0 0 2px var(--home1-services-thumb-border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home1-service-thumb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px var(--home1-services-thumb-hover-border-color);
}

.home1-service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home1-service-name {
    margin: 14px 0 0;
    font-size: var(--home1-services-item-fs);
    font-weight: 300;
    line-height: 1.25;
    color: var(--home1-services-item-title-color);
}

.home1-service-name a {
    color: inherit;
    text-decoration: none;
}

.home1-service-name a:hover {
    color: var(--home1-services-item-title-hover-color);
}

/* Home 1 products section (reference style with hover card state) */
.home1-products-section {
    --home1-products-bg: #9966CC;
    --home1-products-title-color: #ffffff;
    --home1-products-subtitle-color: #ffffff;
    --home1-products-divider-line-color: #ffffff;
    --home1-products-divider-icon-color: #ffffff;
    --home1-products-card-bg: #ffffff;
    --home1-products-card-hover-bg: #8e5ca8;
    --home1-products-card-shadow-color: #000000;
    --home1-products-price-bg: #ffffff;
    --home1-products-price-border-color: #ececec;
    --home1-products-price-color: #333333;
    --home1-products-price-regular-color: #888888;
    --home1-products-body-bg: #ffffff;
    --home1-products-name-color: #333333;
    --home1-products-btn-bg: #9966CC;
    --home1-products-btn-text-color: #ffffff;
    --home1-products-btn-hover-bg: #f5f5f5;
    --home1-products-btn-hover-text-color: #9966CC;
    --home1-products-hover-title-color: #ffffff;
    --home1-products-hover-price-color: #ffffff;
    --home1-products-hover-price-border-color: #ffffff;
    background: var(--home1-products-bg);
    padding: 70px 0 76px;
    text-align: center;
}

.home1-products-title {
    margin: 0;
    color: var(--home1-products-title-color);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    line-height: 1.2;
}

.home1-products-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 8px 0 6px;
    color: var(--home1-products-divider-icon-color);
}

.home1-products-divider-line {
    width: 42px;
    border-top: 2px solid var(--home1-products-divider-line-color);
}

.home1-products-divider-dot {
    font-size: 20px;
    line-height: 1;
}

.home1-products-subtitle {
    margin: 0 0 32px;
    color: var(--home1-products-subtitle-color);
    font-size: 16px;
    font-style: italic;
    font-family: "Dancing Script", cursive;
}

.home1-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home1-product-card {
    background: var(--home1-products-card-bg);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.home1-product-card:hover {
    background: var(--home1-products-card-hover-bg);
    box-shadow: 0 16px 28px color-mix(in srgb, var(--home1-products-card-shadow-color) 20%, transparent);
    transform: translateY(-4px);
}

.home1-product-price {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    color: var(--home1-products-price-color);
    background: var(--home1-products-price-bg);
    border-bottom: 1px solid var(--home1-products-price-border-color);
}

.home1-product-price del,
.home1-product-price del .amount,
.home1-product-price del .woocommerce-Price-amount {
    color: var(--home1-products-price-regular-color);
}

.home1-product-price ins,
.home1-product-price ins .amount,
.home1-product-price ins .woocommerce-Price-amount {
    color: var(--home1-products-price-color);
}

.home1-product-price del {
    opacity: 0.65;
    margin-right: 4px;
}

.home1-product-price ins {
    text-decoration: none;
}

.home1-product-image-link {
    display: block;
}

.home1-product-image {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    object-fit: cover;
}

.home1-product-body {
    padding: 12px 12px 18px;
    background: var(--home1-products-body-bg);
}

.home1-product-name {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 400;
    color: var(--home1-products-name-color);
}

.home1-product-name a {
    color: inherit;
    text-decoration: none;
}

.home1-product-btn {
    display: inline-block;
    min-width: 92px;
    padding: 10px 20px;
    background: var(--home1-products-btn-bg);
    color: var(--home1-products-btn-text-color);
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

.home1-product-card:hover .home1-product-btn {
    background: var(--home1-products-btn-hover-bg);
    color: var(--home1-products-btn-hover-text-color);
}

.home1-product-card:hover .home1-product-name,
.home1-product-card:hover .home1-product-name a {
    color: var(--home1-products-hover-title-color);
}

.home1-product-card:hover .home1-product-price,
.home1-product-card:hover .home1-product-price .amount,
.home1-product-card:hover .home1-product-price .woocommerce-Price-amount {
    color: var(--home1-products-hover-price-color);
}

.home1-product-card:hover .home1-product-price del,
.home1-product-card:hover .home1-product-price del .amount,
.home1-product-card:hover .home1-product-price del .woocommerce-Price-amount {
    color: var(--home1-products-hover-price-color);
}

.home1-product-card:hover .home1-product-price {
    background: transparent;
    border-bottom-color: color-mix(in srgb, var(--home1-products-hover-price-border-color) 16%, transparent);
}

.home1-product-card:hover .home1-product-body {
    background: transparent;
}

.home1-specialize-section {
    --home1-specialize-bg: #f5f5f5;
    --home1-specialize-title-color: #2d2d2d;
    --home1-specialize-subtitle-color: #767676;
    --home1-specialize-divider-line-color: #9966CC;
    --home1-specialize-divider-icon-color: #9966CC;
    --home1-specialize-left-title-color: #4f3469;
    --home1-specialize-left-desc-color: #777777;
    --home1-specialize-list-text-color: #666666;
    --home1-specialize-list-icon-color: #9966CC;
    --home1-specialize-btn-bg: #9966CC;
    --home1-specialize-btn-text-color: #ffffff;
    --home1-specialize-btn-hover-bg: #4f2b64;
    --home1-specialize-btn-hover-text-color: #ffffff;
    background: var(--home1-specialize-bg);
    text-align: center;
    padding: 68px 0 72px;
}

.home1-specialize-title {
    margin: 0;
    color: var(--home1-specialize-title-color);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.2;
}

.home1-specialize-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 6px;
    color: var(--home1-specialize-divider-icon-color);
}

.home1-specialize-divider-line {
    width: 44px;
    border-top: 2px solid var(--home1-specialize-divider-line-color);
}

.home1-specialize-divider-dot {
    font-size: 20px;
    line-height: 1;
}

.home1-specialize-subtitle {
    margin: 0 0 28px;
    color: var(--home1-specialize-subtitle-color);
    font-size: 18px;
    font-style: italic;
    font-family: "Dancing Script", cursive;
}

.home1-specialize-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    align-items: center;
    gap: 18px;
}

.home1-specialize-left {
    text-align: right;
}

.home1-specialize-left-title {
    margin: 0 0 14px;
    color: var(--home1-specialize-left-title-color);
    font-size: clamp(24px, 2.6vw, 31px);
    font-weight: 300;
    line-height: 1.2;
    font-family: "Dancing Script", cursive;
}

.home1-specialize-left-desc {
    max-width: 360px;
    margin: 0 auto;
    color: var(--home1-specialize-left-desc-color);
    line-height: 1.8;
}

.home1-specialize-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.home1-specialize-image {
    max-width: min(100%, 340px);
    height: auto;
    object-fit: contain;
}

.home1-specialize-btn {
    display: inline-block;
    min-width: 112px;
    padding: 12px 24px;
    border-radius: 6px;
    background: var(--home1-specialize-btn-bg);
    color: var(--home1-specialize-btn-text-color);
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    transition: background-color 0.22s ease, color 0.22s ease;
}

.home1-specialize-btn:hover {
    background: var(--home1-specialize-btn-hover-bg);
    color: var(--home1-specialize-btn-hover-text-color);
}

.home1-specialize-right {
    text-align: left;
}

.home1-specialize-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.home1-specialize-list li {
    position: relative;
    padding-left: 24px;
    color: var(--home1-specialize-list-text-color);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
}

.home1-specialize-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--home1-specialize-list-icon-color);
    box-shadow: 6px -3px 0 -3px var(--home1-specialize-list-icon-color);
}

.home1-spa-packages-section {
    --home1-spa-packages-bg: #f3f3f3;
    --home1-spa-packages-title-color: #333333;
    --home1-spa-packages-subtitle-color: #777777;
    --home1-spa-packages-divider-line-color: #2e2e2e;
    --home1-spa-packages-divider-icon-color: #2e2e2e;
    --home1-spa-packages-tab-bg: #efefef;
    --home1-spa-packages-tab-text-color: #2f2f2f;
    --home1-spa-packages-tab-active-bg: #ffffff;
    --home1-spa-packages-tab-active-text-color: #9966CC;
    --home1-spa-packages-tab-border-color: #e0e0e0;
    --home1-spa-packages-right-title-color: #2f2f2f;
    --home1-spa-packages-right-desc-color: #777777;
    --home1-spa-packages-item-color: #7a7a7a;
    --home1-spa-packages-item-icon-color: #7a7a7a;
    --home1-spa-packages-item-border-color: #e3e3e3;
    --home1-spa-packages-old-price-color: #9a6e6e;
    --home1-spa-packages-new-price-color: #666666;
    background: var(--home1-spa-packages-bg);
    text-align: center;
    padding: 66px 0 74px;
}

.home1-spa-packages-title {
    margin: 0;
    color: var(--home1-spa-packages-title-color);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.2;
}

.home1-spa-packages-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 6px;
    color: var(--home1-spa-packages-divider-icon-color);
}

.home1-spa-packages-divider-line {
    width: 44px;
    border-top: 2px solid var(--home1-spa-packages-divider-line-color);
}

.home1-spa-packages-divider-dot {
    font-size: 20px;
    line-height: 1;
}

.home1-spa-packages-subtitle {
    margin: 0 0 28px;
    color: var(--home1-spa-packages-subtitle-color);
    font-size: 16px;
    font-style: italic;
    font-family: "Dancing Script", cursive;
}

.home1-spa-packages-grid {
    display: grid;
    grid-template-columns: minmax(220px, 360px) 1fr;
    gap: 48px;
    align-items: start;
}

.home1-spa-packages-tabs {
    border: 1px solid var(--home1-spa-packages-tab-border-color);
    background: var(--home1-spa-packages-tab-bg);
}

.home1-spa-packages-tab {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--home1-spa-packages-tab-border-color);
    box-shadow: none;
    padding: 14px 18px;
    text-align: right;
    background: transparent;
    color: var(--home1-spa-packages-tab-text-color);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.3;
    cursor: pointer;
}

.home1-spa-packages-tab:first-child {
    border-top: 0;
}

.home1-spa-packages-tab.is-active {
    background: var(--home1-spa-packages-tab-active-text-color);
    color: var(--home1-spa-packages-tab-active-bg);
}

.home1-spa-packages-panels {
    text-align: left;
}

.home1-spa-packages-panel {
    display: none;
}

.home1-spa-packages-panel.is-active {
    display: block;
}

.home1-spa-packages-panel-desc {
    margin: 0 0 18px;
    color: var(--home1-spa-packages-right-desc-color);
    line-height: 1.7;
    max-width: 760px;
}

.home1-spa-packages-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home1-spa-packages-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--home1-spa-packages-item-border-color);
    padding: 11px 0;
}

.home1-spa-packages-list li:last-child {
    border-bottom: 1px solid var(--home1-spa-packages-item-border-color);
}

.home1-spa-packages-name {
    color: var(--home1-spa-packages-item-color);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    padding-left: 16px;
}

.home1-spa-packages-name::before {
    content: "\f005";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 10px;
    color: var(--home1-spa-packages-item-icon-color);
}

.home1-spa-packages-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
    font-size: 18px;
}

.home1-spa-packages-price del {
    color: var(--home1-spa-packages-old-price-color);
    opacity: 0.9;
}

.home1-spa-packages-price ins {
    color: var(--home1-spa-packages-new-price-color);
    text-decoration: none;
}

.home1-services-section.is-align-left {
    text-align: left;
}

.home1-services-section.is-align-left .home1-services-grid {
    margin-left: 0;
    margin-right: 0;
}

.home1-services-section.is-align-left .home1-services-divider {
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .home1-spa-packages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home1-spa-packages-tab {
        text-align: center;
    }

    .home1-specialize-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .home1-specialize-right {
        text-align: center;
    }

    .home1-specialize-list li {
        text-align: left;
        max-width: 560px;
        margin: 0 auto;
    }

    .home1-services-grid {
        grid-template-columns: repeat(var(--home1-services-cols-tablet), minmax(0, 1fr));
        gap: 24px 14px;
        max-width: 540px;
    }

    .home1-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home1-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: min(100%, 520px);
        margin-left: auto;
        margin-right: auto;
        gap: 20px;
    }

    .home1-testimonial-card {
        padding: 22px 18px 20px;
    }

    .home1-testimonial-text {
        font-size: 14px;
        line-height: 1.65;
    }

    .home1-blog-section {
        padding: 58px 0 64px;
    }

    .home1-blog-subtitle {
        font-size: clamp(18px, 3.8vw, 26px);
        margin-bottom: 30px;
    }

    .home1-blog-grid {
        grid-template-columns: 1fr;
        max-width: min(100%, 520px);
        margin-left: auto;
        margin-right: auto;
        gap: 24px;
    }

    .home1-blog-badge-stack {
        width: 84px;
    }

    .home1-blog-badge-date {
        padding: 8px 6px 10px;
    }

    .home1-blog-badge-date-text {
        font-size: 10px;
    }

    .home1-blog-post-title {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .home1-testimonials-grid {
        max-width: min(100%, 480px);
    }

    .home1-blog-grid {
        max-width: min(100%, 480px);
    }
}

@media (max-width: 575px) {
    .home1-spa-packages-section {
        padding: 50px 0 54px;
    }

    .home1-spa-packages-subtitle {
        margin-bottom: 22px;
    }

    .home1-spa-packages-tab,
    .home1-spa-packages-name {
        font-size: 21px;
    }

    .home1-spa-packages-price {
        font-size: 17px;
    }

    .home1-specialize-section {
        padding: 50px 0 54px;
    }

    .home1-specialize-subtitle {
        margin-bottom: 22px;
    }

    .home1-specialize-left-title {
        font-size: clamp(22px, 9vw, 34px);
    }

    .home1-specialize-btn {
        font-size: 18px;
    }

    .home1-specialize-list li {
        font-size: 21px;
    }

    .home1-services-section {
        padding: 56px 0 52px;
    }

    .home1-services-grid {
        grid-template-columns: repeat(var(--home1-services-cols-mobile), minmax(0, 1fr));
    }

    .home1-service-thumb-link {
        width: min(74px, var(--home1-services-thumb-size));
        height: min(74px, var(--home1-services-thumb-size));
    }

    .home1-service-name {
        font-size: 22px;
    }

    .home1-products-section {
        padding: 52px 0 58px;
    }

    .home1-products-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .home1-testimonials-section {
        padding: 52px 0 58px;
    }

    .home1-testimonials-subtitle {
        margin-bottom: 22px;
    }

    .home1-testimonials-grid {
        grid-template-columns: 1fr !important;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .home1-blog-section {
        padding: 52px 0 58px;
    }

    .home1-blog-title {
        font-size: clamp(24px, 8.2vw, 34px);
    }

    .home1-blog-subtitle {
        margin-bottom: 24px;
        font-size: clamp(18px, 7.2vw, 26px);
    }

    .home1-blog-grid {
        grid-template-columns: 1fr !important;
        max-width: 100%;
    }

    .home1-blog-thumb-wrap {
        margin-bottom: 14px;
    }

    .home1-blog-badge-stack {
        left: 8px;
        top: 8px;
        width: 70px;
    }

    .home1-blog-badge-date {
        padding: 7px 4px 8px;
    }

    .home1-blog-badge-date-icon {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .home1-blog-badge-date-text {
        font-size: 9px;
        line-height: 1.35;
    }

    .home1-blog-card:hover .home1-blog-badge-comments {
        max-height: 58px;
        padding: 7px 4px 8px;
    }

    .home1-blog-badge-comments-inner {
        font-size: 12px;
        gap: 4px;
    }

    .home1-blog-overlay {
        padding: 14px 12px;
    }

    .home1-blog-excerpt {
        font-size: 12px;
        line-height: 1.55;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }

    .home1-blog-post-title {
        font-size: 17px;
    }

    .home1-blog-meta {
        font-size: 10px;
        gap: 6px 12px;
    }
}

.home1-team-section {
    --home1-team-bg: #ffffff;
    --home1-team-title-color: #333333;
    --home1-team-subtitle-color: #888888;
    --home1-team-divider-line-color: #cccccc;
    --home1-team-divider-icon-color: #888888;
    --home1-team-card-border-color: #e8e8e8;
    --home1-team-ring-color: #9966CC;
    --home1-team-petal-color: #9966CC;
    --home1-team-name-color: #333333;
    --home1-team-designation-color: #888888;
    --home1-team-mini-line-color: #dddddd;
    --home1-team-mini-icon-color: #aaaaaa;
    --home1-team-email-color: #666666;
    --home1-team-social-border-color: #c8c8c8;
    --home1-team-social-icon-color: #888888;
    --home1-team-cols: 3;
    background: var(--home1-team-bg);
    padding: 68px 0 76px;
    text-align: center;
}

.home1-team-title {
    margin: 0;
    color: var(--home1-team-title-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.home1-team-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 8px;
    color: var(--home1-team-divider-icon-color);
}

.home1-team-divider-line {
    width: 44px;
    border-top: 1px solid var(--home1-team-divider-line-color);
}

.home1-team-divider-dot {
    font-size: 18px;
    line-height: 1;
}

.home1-team-subtitle {
    margin: 0 0 36px;
    color: var(--home1-team-subtitle-color);
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
    font-family: "Dancing Script", cursive;
}

.home1-team-grid {
    display: grid;
    grid-template-columns: repeat(var(--home1-team-cols), minmax(0, 1fr));
    gap: 28px 24px;
    align-items: stretch;
}

.home1-team-card {
    border: 1px solid var(--home1-team-card-border-color);
    background: #ffffff;
    padding: 28px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home1-team-photo-wrap {
    position: relative;
    width: 200px;
    margin: 0 auto 18px;
    padding-bottom: 14px;
}

.home1-team-photo-ring {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 10%;
    border: 3px solid var(--home1-team-ring-color);
    overflow: hidden;
    background: #f9f9f9;
}

.home1-team-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home1-team-name {
    margin: 0 0 8px;
    color: var(--home1-team-name-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.home1-team-designation {
    margin: 0 0 12px;
    max-width: 280px;
    color: var(--home1-team-designation-color);
    font-size: 14px;
    font-style: italic;
    line-height: 1.55;
}

.home1-team-mini-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    max-width: 220px;
    width: 100%;
    color: var(--home1-team-mini-icon-color);
}

.home1-team-mini-line {
    flex: 1;
    border-top: 1px solid var(--home1-team-mini-line-color);
}

.home1-team-mini-dot {
    font-size: 12px;
    line-height: 1;
}

.home1-team-email {
    margin: 0 0 16px;
    color: var(--home1-team-email-color);
    font-size: 13px;
    line-height: 1.5;
}

.home1-team-email a {
    color: inherit;
    text-decoration: none;
}

.home1-team-email a:hover {
    text-decoration: underline;
}

.home1-team-socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home1-team-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--home1-team-social-border-color);
    color: var(--home1-team-social-icon-color);
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.home1-team-socials a:hover {
    border-color: var(--home1-team-ring-color);
    color: var(--home1-team-ring-color);
}

ul.home1-team-socials li:before {
    display: none;
}

@media (max-width: 991px) {
    .home1-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home1-team-section {
        padding: 52px 0 58px;
    }

    .home1-team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

.home1-testimonials-section {
    --home1-testimonials-bg: #f7f8ff;
    --home1-testimonials-title-color: #333333;
    --home1-testimonials-subtitle-color: #868686;
    --home1-testimonials-divider-line-color: #d0d0d0;
    --home1-testimonials-divider-icon-color: #888888;
    --home1-testimonials-card-bg: #ffffff;
    --home1-testimonials-card-border-color: #e8e8ee;
    --home1-testimonials-quote-icon-color: #8f5aa5;
    --home1-testimonials-text-color: #666666;
    --home1-testimonials-client-name-color: #2f2f2f;
    --home1-testimonials-client-designation-color: #8a8a8a;
    --home1-testimonials-avatar-border-color: #dfdff0;
    --home1-testimonials-cols: 3;
    background: var(--home1-testimonials-bg);
    text-align: center;
    padding: 68px 0 76px;
}

.home1-testimonials-title {
    margin: 0;
    color: var(--home1-testimonials-title-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.home1-testimonials-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 8px;
    color: var(--home1-testimonials-divider-icon-color);
}

.home1-testimonials-divider-line {
    width: 44px;
    border-top: 1px solid var(--home1-testimonials-divider-line-color);
}

.home1-testimonials-divider-dot {
    font-size: 18px;
    line-height: 1;
}

.home1-testimonials-subtitle {
    margin: 0 0 36px;
    color: var(--home1-testimonials-subtitle-color);
    font-size: 15px;
    font-style: italic;
    line-height: 1.5;
    font-family: "Dancing Script", cursive;
}

.home1-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(var(--home1-testimonials-cols), minmax(0, 1fr));
    gap: 26px 24px;
    align-items: stretch;
}

.home1-testimonial-card {
    border: 1px solid var(--home1-testimonials-card-border-color);
    background: var(--home1-testimonials-card-bg);
    padding: 28px 22px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home1-testimonial-quote-icon {
    color: var(--home1-testimonials-quote-icon-color);
    font-size: 22px;
    line-height: 1;
    margin-bottom: 14px;
}

.home1-testimonial-text {
    margin: 0;
    color: var(--home1-testimonials-text-color);
    font-size: 15px;
    line-height: 1.8;
}

.home1-testimonial-client {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
}

.home1-testimonial-avatar-wrap {
    width: 68px;
    height: 68px;
    border-radius: 10%;
    border: 2px solid var(--home1-testimonials-avatar-border-color);
    overflow: hidden;
    flex: 0 0 68px;
}

.home1-testimonial-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home1-testimonial-client-name {
    margin: 0;
    color: var(--home1-testimonials-client-name-color);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.home1-testimonial-client-role {
    margin: 4px 0 0;
    color: var(--home1-testimonials-client-designation-color);
    font-size: 13px;
    font-style: italic;
    line-height: 1.5;
}

/* Home 1 — Latest blog (reference purple section + hover) */
.home1-blog-section {
    --home1-blog-bg: #9966CC;
    --home1-blog-title-color: #ffffff;
    --home1-blog-subtitle-color: #ffffff;
    --home1-blog-divider-line-color: #ffffff;
    --home1-blog-divider-icon-color: #ffffff;
    --home1-blog-post-title-color: #ffffff;
    --home1-blog-meta-color: #ffffff;
    --home1-blog-sep-color: #ffffff;
    --home1-blog-date-badge-bg: #ffffff;
    --home1-blog-date-icon-color: #9966CC;
    --home1-blog-date-text-color: #333333;
    --home1-blog-comment-badge-bg: #9966CC;
    --home1-blog-overlay-tint: #1a0d22;
    --home1-blog-excerpt-color: #ffffff;
    --home1-blog-cols: 2;
    background: var(--home1-blog-bg);
    text-align: center;
    padding: 68px 0 76px;
}

.home1-blog-title {
    margin: 0;
    color: var(--home1-blog-title-color);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    line-height: 1.2;
}

.home1-blog-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 8px;
    color: var(--home1-blog-divider-icon-color);
}

.home1-blog-divider-line {
    width: 44px;
    border-top: 1px solid color-mix(in srgb, var(--home1-blog-divider-line-color) 50%, transparent);
}

.home1-blog-divider-icon {
    font-size: 14px;
    line-height: 1;
}

.home1-blog-subtitle {
    margin: 0 0 36px;
    color: var(--home1-blog-subtitle-color);
    font-size: clamp(20px, 2.8vw, 30px);
    line-height: 1.35;
    font-family: "Dancing Script", cursive;
}

.home1-blog-grid {
    display: grid;
    grid-template-columns: repeat(var(--home1-blog-cols), minmax(0, 1fr));
    gap: 28px 32px;
    align-items: stretch;
    text-align: left;
}

.home1-blog-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home1-blog-thumb-wrap {
    position: relative;
    margin-bottom: 16px;
}

.home1-blog-thumb-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.home1-blog-thumb-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.home1-blog-card:hover .home1-blog-thumb-img {
    transform: scale(1.05);
}

.home1-blog-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--home1-blog-overlay-tint) 78%, transparent) 0%,
        color-mix(in srgb, var(--home1-blog-overlay-tint) 32%, transparent) 100%
    );
}

.home1-blog-card:hover .home1-blog-overlay {
    opacity: 1;
}

.home1-blog-overlay-inner {
    display: block;
    max-width: 100%;
}

.home1-blog-excerpt {
    margin: 0;
    color: var(--home1-blog-excerpt-color);
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home1-blog-badge-stack {
    position: absolute;
    left: 10px;
    top: 12px;
    z-index: 4;
    width: 96px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.home1-blog-badge-date {
    background: var(--home1-blog-date-badge-bg);
    padding: 10px 8px 12px;
    text-align: center;
}

.home1-blog-badge-date-icon {
    display: block;
    color: var(--home1-blog-date-icon-color);
    font-size: 17px;
    margin-bottom: 6px;
}

.home1-blog-badge-date-text {
    display: block;
    font-size: 11px;
    line-height: 1.45;
    color: var(--home1-blog-date-text-color);
    font-weight: 600;
}

.home1-blog-badge-comments {
    background: var(--home1-blog-comment-badge-bg);
    color: #ffffff;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 6px;
    transition: max-height 0.38s ease, opacity 0.3s ease, padding 0.3s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.home1-blog-card:hover .home1-blog-badge-comments {
    max-height: 72px;
    opacity: 1;
    padding: 9px 6px 10px;
}

.home1-blog-badge-comments-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

.home1-blog-post-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
}

.home1-blog-post-title a {
    color: var(--home1-blog-post-title-color);
    text-decoration: none;
}

.home1-blog-post-title a:hover {
    text-decoration: underline;
}

.home1-blog-sep {
    height: 0;
    border: 0;
    border-top: 1px solid color-mix(in srgb, var(--home1-blog-sep-color) 55%, transparent);
    margin: 0 0 12px;
}

.home1-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.5;
    color: var(--home1-blog-meta-color);
}

.home1-blog-meta-item {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
}

.home1-blog-meta-item i {
    margin-top: 2px;
    flex: 0 0 auto;
    opacity: 0.95;
}

/* Ensure inner shortcode grids align nicely inside homepage sections */
.home1-services-section .single-service-bx {
    margin-bottom: 30px;
}

/* -------------------------------------------------------------------------
   Home 1 — Reference footer (widget-driven)
   ------------------------------------------------------------------------- */
.home1-footer-ref {
    --home1-footer-main-bg: #111217;
    --home1-footer-main-text: #d7d9df;
    --home1-footer-title: #ffffff;
    --home1-footer-accent: #7a4aa0;
    --home1-footer-line: rgba(255, 255, 255, 0.12);
    --home1-footer-bottom-bg: #9966CC;
    --home1-footer-bottom-text: rgba(255, 255, 255, 0.9);
    background: var(--home1-footer-main-bg);
    color: var(--home1-footer-main-text);
    margin-top: 0;
}

.home1-footer-ref a {
    color: inherit;
}

.home1-footer-ref__main {
    background: var(--home1-footer-main-bg);
    padding: 34px 0 30px;
}

.home1-footer-ref__brand {
    text-align: center;
    margin-bottom: 14px;
}

.home1-footer-ref__brand .widget {
    margin: 0;
}

.home1-footer-ref__brand-fallback {
    color: #ffffff;
}

.home1-footer-ref__logo img {
    max-height: 74px;
    width: auto;
}

.home1-footer-ref__site-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home1-footer-ref__site-tagline {
    margin-top: 2px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.home1-footer-ref__separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 26px;
    color: rgba(255, 255, 255, 0.45);
}

.home1-footer-ref__separator-line {
    width: clamp(110px, 30vw, 300px);
    border-top: 1px solid var(--home1-footer-line);
}

.home1-footer-ref__separator-icon {
    font-size: 11px;
}

.home1-footer-ref__widgets {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
}

.home1-footer-ref__col .widget {
    margin-bottom: 0;
    color: var(--home1-footer-main-text);
}

.home1-footer-ref__col .widget-title {
    color: var(--home1-footer-title);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 14px;
    padding-bottom: 0;
    border: 0;
}

.home1-footer-ref__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home1-footer-ref__col li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.home1-footer-ref__col p {
    margin-bottom: 10px;
    line-height: 1.65;
}

.home1-footer-ref__col .widget_media_image img {
    width: 100%;
    height: auto;
}

.home1-footer-ref__bottom {
    background: var(--home1-footer-bottom-bg);
    color: var(--home1-footer-bottom-text);
    font-size: 13px;
}

.home1-footer-ref__bottom-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.home1-footer-ref__copyright {
    line-height: 1.5;
}

.home1-footer-ref__bottom-widget .widget {
    margin: 0;
}

.home1-footer-ref__bottom-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.home1-footer-ref__bottom-widget a {
    text-decoration: none;
}

.home1-footer-ref__bottom-widget a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .home1-footer-ref__widgets {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .home1-footer-ref__main {
        padding: 28px 0 24px;
    }

    .home1-footer-ref__widgets {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home1-footer-ref__separator-line {
        width: min(42vw, 180px);
    }

    .home1-footer-ref__bottom-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 10px 0;
    }

    .home1-footer-ref__bottom-widget ul {
        justify-content: center;
    }
}

/* -------------------------------------------------------------------------
   Home 1 — Spalab-style two-tier header (.favor-header--spalab)
   ------------------------------------------------------------------------- */

.favor-header--spalab {
    background-color: var(--favor-header-bg, #9966CC) !important;
    color: var(--favor-header-fg, #fff);
    border-bottom: none !important;
    box-shadow: none;
}

.favor-header--spalab .favor-header__topbar {
    background-color: var(--favor-header-topbar-bg, var(--favor-header-bg, #9966CC));
    border-bottom: 1px solid var(--favor-header-topbar-border, rgba(255, 255, 255, 0.22));
    padding: 10px 0;
}

.favor-header--spalab .favor-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.favor-header--spalab .favor-header__tagline {
    margin: 0;
    font-size: clamp(1.1rem, 2.5vw, 0.65rem);
    line-height: 1.2;
    color: var(--favor-header-tagline-color, var(--favor-header-fg, #fff));
    font-weight: 400;
}

.favor-header--spalab.favor-header--script-dancing-script .favor-header__tagline {
    font-family: "Dancing Script", cursive;
}

.favor-header--spalab.favor-header--script-pacifico .favor-header__tagline {
    font-family: "Pacifico", cursive;
}

.favor-header--spalab.favor-header--script-berkshire-swash .favor-header__tagline {
    font-family: "Berkshire Swash", cursive;
}

.favor-header--spalab .favor-header__contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--favor-header-contact-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__contact a {
    text-decoration: none;
    color: var(--favor-header-contact-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__contact a:hover {
    opacity: 0.85;
}

.favor-header--spalab .favor-header__sep {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: var(--favor-header-sep-color, rgba(255, 255, 255, 0.45));
    vertical-align: middle;
}

.favor-header--spalab .favor-header__contact i {
    margin-right: 6px;
    opacity: 0.95;
    color: var(--favor-header-icon-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__main {
    position: relative;
    overflow: visible !important;
    background-color: var(--favor-header-main-bg, var(--favor-header-bg, #9966CC));
}

.favor-header--spalab .favor-header__watermark {
    display: none;
}


.favor-header--spalab .favor-header__main-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}

.favor-header--spalab .favor-header__brand {
    flex: 0 1 auto;
    min-width: 0;
}

.favor-header--spalab .favor-header__brand-media {
    display: flex;
    align-items: center;
    gap: 12px;
}

.favor-header--spalab .favor-header__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--favor-header-brand-title-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.favor-header--spalab .favor-header__brand-title,
.favor-header--spalab .favor-header__brand-title.favor-header__site-title,
.favor-header--spalab h1.favor-header__brand-title {
    margin: 0;
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--favor-header-brand-title-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__brand-sub {
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.95;
    color: var(--favor-header-brand-sub-color, var(--favor-header-fg, #fff));
}

.favor-header--spalab .favor-header__brand-logo .custom-logo-link,
.favor-header--spalab .favor-header__brand-logo a {
    display: inline-block;
    line-height: 0;
}

.favor-header--spalab .favor-header__brand-logo img,
.favor-header--spalab .favor-header__brand-logo .custom-logo {
    max-height: 52px;
    width: auto;
    height: auto;
}

.favor-header--spalab .favor-header__brand-icon {
    display: block;
    object-fit: contain;
}

.favor-header--spalab .favor-header__nav-col {
    flex: 1 1 auto;
    min-width: 0;
}

.favor-header--spalab .favor-header__navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.favor-header--spalab .favor-header__navigation .navigation {
    flex: 1 1 auto;
    min-width: 0;
}

.favor-header--spalab .favor-header__navigation .menu-wrapper {
    text-align: right;
}

.favor-header--spalab .favor-header-menu.mainmenu {
    text-align: right;
    margin: 0;
    padding: 0;
}

.favor-header--spalab .favor-header-menu.mainmenu > li {
    display: inline-block;
    margin: 0 4px;
}

.favor-header--spalab .favor-header-menu.mainmenu > li > a {
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
    font-size: var(--favor-header-nav-fs, 13px) !important;
    letter-spacing: var(--favor-header-nav-ls, 0.12em) !important;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--favor-header-nav-color, var(--favor-header-fg, #fff)) !important;
    padding: 8px 14px;
    margin: 20px 0px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.favor-header--spalab .favor-header-menu.mainmenu > li > a:hover {
    color: var(--favor-header-nav-hover-color, var(--favor-header-nav-color, #fff)) !important;
    opacity: 0.92;
}

.favor-header--spalab.favor-header--active-pill .favor-header-menu.mainmenu > li.current-menu-item > a,
.favor-header--spalab.favor-header--active-pill .favor-header-menu.mainmenu > li.current-menu-ancestor > a {
    border-color: var(--favor-header-nav-active-color, var(--favor-header-fg, #fff));
    background: transparent;
}

.favor-header--spalab.favor-header--active-underline .favor-header-menu.mainmenu > li.current-menu-item > a,
.favor-header--spalab.favor-header--active-underline .favor-header-menu.mainmenu > li.current-menu-ancestor > a {
    border-color: transparent;
    border-bottom: 2px solid var(--favor-header-nav-active-color, var(--favor-header-fg, #fff));
    border-radius: 0;
}

.favor-header--spalab.favor-header--active-none .favor-header-menu.mainmenu > li.current-menu-item > a,
.favor-header--spalab.favor-header--active-none .favor-header-menu.mainmenu > li.current-menu-ancestor > a {
    border-color: transparent;
}

.favor-header--spalab .favor-header-menu.mainmenu > li.menu-item-has-children > a:after {
    color: var(--favor-header-icon-color, var(--favor-header-fg, #fff));
    opacity: 0.85;
}

.favor-header--spalab .mainmenu .sub-menu {
    background: var(--favor-header-submenu-bg, #fff) !important;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.favor-header--spalab .mainmenu .sub-menu a {
    color: var(--favor-header-submenu-link, #333) !important;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}

.favor-header--spalab .mainmenu .sub-menu a:hover {
    color: var(--favor-header-submenu-hover, var(--favor-header-submenu-link, #333)) !important;
}

.favor-header--spalab .favor-header__cta-btn {
    display: inline-block;
    font-family: "Montserrat", "Work Sans", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 18px;
    border: 1px solid var(--favor-header-cta-border, var(--favor-header-fg, #fff));
    border-radius: 999px;
    text-decoration: none;
    color: var(--favor-header-cta-color, var(--favor-header-fg, #fff));
    background-color: var(--favor-header-cta-bg, transparent);
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.favor-header--spalab .favor-header__cta-btn:hover {
    background-color: var(--favor-header-cta-hover-bg, var(--favor-header-fg, #fff));
    color: var(--favor-header-cta-hover-color, var(--favor-header-bg, #9966CC));
}

/* Mobile bar (replaces gray pill bar from global style when inside Spalab header) */
.favor-header--spalab .favor-header__mobile-bar {
    padding: 12px 0;
    background-color: var(--favor-header-mobile-bg, var(--favor-header-main-bg, var(--favor-header-bg, #9966CC)));
}

.favor-header--spalab .favor-header__mobile-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.favor-header--spalab .favor-header__topbar--compact .favor-header__tagline--short {
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
}

.favor-header--spalab .favor-header__topbar--compact .favor-header__contacts {
    flex: 0 0 auto;
    gap: 10px;
}

.favor-header--spalab .favor-header__icon-link {
    color: var(--favor-header-icon-color, var(--favor-header-fg, #fff));
    font-size: 16px;
    padding: 6px 8px;
}

@media only screen and (max-width: 991px) {
    .favor-header--spalab .favor-header__brand-logo--sm img,
    .favor-header--spalab .favor-header__brand-logo--sm .custom-logo {
        max-height: 34px;
    }

    .favor-header--spalab .favor-header__brand-title,
    .favor-header--spalab h1.favor-header__brand-title {
        font-size: 0.95rem;
        letter-spacing: 0.06em;
    }
}

@media only screen and (max-width: 600px) {
    .favor-header--spalab .favor-header__topbar--compact .favor-header__tagline--short {
        display: none;
    }
}

/*
 * Mega menu palette (Home 1 / Spalab reference).
 * Shared rules live in css/mega-menu.css using var(--favor-mega-*).
 * Override these in css/homepage-2/style.css or homepage-3 for other layouts.
 */
.favor-header--spalab {
    --favor-mega-bg: var(--favor-header-bg, #9966CC);
    --favor-mega-fg: var(--favor-header-fg, #ffffff);
    --favor-mega-link: var(--favor-mega-fg);
    --favor-mega-link-hover: #ffffff;
    --favor-mega-widget-title: var(--favor-mega-fg);
    --favor-mega-input-bg: #ffffff;
    --favor-mega-input-text: #333333;
    --favor-mega-btn-bg: color-mix(in srgb, var(--favor-mega-fg) 22%, transparent);
    --favor-mega-btn-text: #ffffff;
    --favor-mega-btn-border: color-mix(in srgb, var(--favor-mega-fg) 45%, transparent);
}

/* Single product reference layout override */
body.single-product .single-productpage article#content > header.page-main-header {
    display: none !important;
}

body.single-product .single-productpage #innerpage-box #page.container {
    max-width: 1220px;
}

body.single-product .single-productpage #product-432,
body.single-product .single-productpage div[id^="product-"] {
    border-bottom: 1px solid #e7e8ee;
    padding-bottom: 26px;
    margin-bottom: 26px;
}

body.single-product .single-productpage .woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 60px !important;
    gap: 16px !important;
    align-items: start !important;
}

body.single-product .single-productpage .woocommerce-product-gallery__wrapper {
    grid-column: 1;
    background: #f4f4f7;
    border-radius: 6px;
    overflow: hidden;
}

body.single-product .single-productpage .woocommerce div.product div.images .flex-control-thumbs {
    grid-column: 2 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

body.single-product .single-productpage .woocommerce div.product div.images .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    border: 1px solid #dfe2ec;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

body.single-product .single-productpage .summary.entry-summary .product_title {
    font-size: 44px !important;
    line-height: 1.1 !important;
    margin: 4px 0 10px !important;
    font-weight: 700 !important;
}

body.single-product .single-productpage .summary.entry-summary .price {
    display: none !important;
}

body.single-product .single-productpage .woocommerce-product-details__short-description,
body.single-product .single-productpage .woocommerce-product-details__short-description p {
    color: #62687c !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

body.single-product .single-productpage .woocommerce-product-details__short-description table {
    margin: 0 0 14px;
    border: none !important;
}

body.single-product .single-productpage .woocommerce-product-details__short-description table td {
    border: 0 !important;
    border-bottom: 1px solid #ececf3 !important;
    padding: 9px 0 !important;
    font-size: 14px !important;
}

body.single-product .single-productpage .woocommerce div.product p.stock {
    color: #4d8f58 !important;
    font-size: 16px !important;
}

body.single-product .single-productpage .woocommerce div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.single-product .single-productpage .woocommerce .quantity .qty {
    min-height: 40px;
    border: 1px solid #d6dae8 !important;
    border-radius: 4px !important;
}

body.single-product .single-productpage .woocommerce div.product form.cart .button {
    min-height: 40px;
    border-radius: 4px;
    border: 0 !important;
    background: #5848c2 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 0 18px !important;
}

body.single-product .single-productpage .woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #e7e8ee !important;
    padding-bottom: 0 !important;
    margin-bottom: 16px !important;
}

body.single-product .single-productpage .woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: 0 !important;
    margin: 0 18px 0 0 !important;
    padding: 0 !important;
}

body.single-product .single-productpage .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #5f6476 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 2px !important;
}

body.single-product .single-productpage .woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid #5848c2 !important;
}

body.single-product .single-productpage .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #232736 !important;
}

body.single-product .single-productpage .related.products > h2 {
    font-size: 40px !important;
    line-height: 1.2 !important;
    margin: 0 0 18px !important;
    font-weight: 700 !important;
}

body.single-product .single-productpage .woocommerce .related ul.products li.product {
    width: 23.2% !important;
    margin-right: 2.4% !important;
    margin-bottom: 0 !important;
    background: #f6f6fa;
    border: 1px solid #e7e8ef !important;
    border-radius: 8px;
    padding: 12px;
}

body.single-product .single-productpage .woocommerce .related ul.products li.product:last-child {
    margin-right: 0 !important;
}

