.home-hero-banner {
    width: 100%;
    position: relative;
    background-color: #ebe6df;
    background-image: url('../public/images/banner/home-banner-bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    padding: 65px 24px 75px;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.hero-banner-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-banner-title {
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 36px;
    text-align: center;
    font-weight: 400;
}

.hero-banner-title span {
    font-family: 'Pacifico', cursive, sans-serif !important;
    font-size: 84px;
    line-height: 1.05;
    color: #2b2826;
    display: inline-block;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.hero-banner-icon {
    width: 72px;
    height: auto;
    margin-bottom: 14px;
    flex-shrink: 0;
    user-select: none;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.home-hero-banner:hover .hero-banner-icon {
    transform: scale(1.08);
}

.hero-banner-desc {
    color: #4a4744;
    font-size: 14.5px;
    line-height: 1.78;
    max-width: 760px;
    margin: 32px auto 0;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-align: center;
}

.banner-separator-bottom {
    width: 100%;
    height: 17px;
    background-image: url('../public/images/banner/seperator-bottom.png');
    background-repeat: repeat-x;
    background-position: top center;
    background-size: 42px 17px;
    background-color: #ffffff;
    position: relative;
    margin-top: -1px;
    z-index: 3;
}

@media (max-width: 991px) {
    .home-hero-banner {
        padding: 48px 20px 58px;
        background-size: auto 100%;
    }
    .hero-banner-title {
        gap: 20px;
        align-items: center;
    }
    .hero-banner-title span {
        font-size: 58px;
        line-height: 1.1;
    }
    .hero-banner-icon {
        width: 48px;
        margin-bottom: 0;
    }
    .hero-banner-desc {
        font-size: 13.5px;
        line-height: 1.68;
        max-width: 600px;
        margin: 26px auto 0;
    }
}

@media (max-width: 576px) {
    .home-hero-banner {
        padding: 36px 16px 44px;
    }
    .hero-banner-title {
        gap: 12px;
        align-items: center;
    }
    .hero-banner-title span {
        font-size: 40px;
    }
    .hero-banner-icon {
        width: 32px;
        margin-bottom: 0;
    }
    .hero-banner-desc {
        font-size: 12.5px;
        line-height: 1.6;
        margin: 22px auto 0;
    }
}

.groupbuy {
    padding: 40px 0 34px 0;
    background-color: #ffffff;
}

.groupbuy__slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.groupbuy__item { text-align: center; }

.groupbuy__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.groupbuy__img {
    width: 96px;
    height: 96px;
    border-radius: 50% !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: transparent;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.cat-img-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.groupbuy__item h3 {
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    margin-top: 4px;
}

.groupbuy__item:hover .groupbuy__img {
    transform: translateY(-3px);
}

.groupbuy__item:hover .cat-img-icon {
    transform: none;
}

.groupbuy__item:hover h3 {
    color: var(--primary-red);
}

.title--line {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
}

.title--line::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.mustbuy {
    padding: 20px 0 60px 0;
    background-color: #ffffff;
}

.mustbuy__title {
    text-align: center;
    margin-bottom: 40px;
}

.mustbuy-seemore {
    margin-top: 30px;
}

.mustbuy-seemore a {
    display: inline-block;
    background: var(--primary-btn);
    color: #ffffff;
    border: 1px solid var(--primary-btn);
    padding: 11px 44px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mustbuy-seemore a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

@media (max-width: 767px) {
    .groupbuy {
        padding: 24px 0 20px;
    }
    .groupbuy__slider {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 8px;
        padding: 0 4px;
        margin: 0;
        overflow: visible;
    }
    .groupbuy__item {
        flex: 0 0 calc(25% - 8px);
        max-width: calc(25% - 8px);
        min-width: 66px;
        text-align: center;
    }
    .groupbuy__img {
        width: 58px;
        height: 58px;
        margin: 0 auto 6px;
        border-radius: 50% !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
        background: #ffffff;
    }
    .groupbuy__item h3 {
        font-size: 11px;
        line-height: 1.25;
        height: 28px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center;
        margin: 0 auto;
        white-space: normal;
        word-break: break-word;
    }
    .title--line {
        font-size: 22px;
    }
    .mustbuy {
        padding: 20px 0 44px 0;
    }
    .mustbuy__title {
        margin-bottom: 24px;
    }
    .mustbuy__product.ega-row {
        margin-left: -6px;
        margin-right: -6px;
    }
    .mustbuy__item[class*="ega-col-"] {
        padding-left: 6px;
        padding-right: 6px;
        margin-bottom: 14px;
    }
    .pd-item__img {
        border-radius: 6px !important;
        border: 1px solid #eeeeee;
    }
    .pd-item h3 {
        font-size: 12.5px;
        margin: 6px 0 3px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 34px;
    }
    .pd-item .price ins {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .groupbuy {
        padding: 32px 0 28px;
    }
    .groupbuy__slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px 16px;
        max-width: 640px;
        margin: 0 auto;
    }
    .groupbuy__img {
        width: 84px;
        height: 84px;
    }
    .mustbuy__product.ega-row {
        margin-left: -8px;
        margin-right: -8px;
    }
    .mustbuy__item[class*="ega-col-"] {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 18px;
    }
}
