:root {
    --hxg-primary: #1d793a;
    --hxg-primary-dark: #14582a;
    --hxg-primary-soft: #eef6ef;
    --hxg-logo-green: #4c6432;
    --hxg-surface-soft: #f5f5f5;
    --hxg-surface: #ffffff;
    --hxg-accent: #8ec31f;
    --hxg-accent-dark: #6f9c16;
    --hxg-ink: #212121;
    --hxg-muted: #667066;
    --hxg-border: #dfe5dc;
    --hxg-shadow: 0 18px 45px rgba(29, 121, 58, .12);
}

/* Unified Hoa Xinh Garden storefront color system. */
.text-primary,
a.text-primary,
.link-primary,
.product-category,
.section-title,
.hxg-section-kicker {
    color: var(--hxg-primary-dark) !important;
}

a:not(.btn):not(.hxg-horizontal-nav__link):hover {
    color: var(--hxg-primary-dark);
}

.bg-primary,
.badge-primary,
.btn-primary,
.page-item.active .page-link,
.nav-pills .nav-link.active,
.dropdown-item.active,
.dropdown-item:active,
.progress-bar,
.form-check-input:checked {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background-color: var(--hxg-primary) !important;
}

.btn-outline-primary {
    color: var(--hxg-primary-dark) !important;
    border-color: var(--hxg-primary) !important;
    background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff !important;
    border-color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-dark) !important;
}

.page-link {
    color: var(--hxg-ink);
    border-color: var(--hxg-border);
    background: #fff;
}

.page-link:hover {
    color: var(--hxg-primary-dark);
    border-color: var(--hxg-primary);
    background: var(--hxg-primary-soft);
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"] {
    color: var(--hxg-ink);
    border-color: #d2ddc9;
    background-color: #fff;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
    border-color: var(--hxg-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(76, 100, 50, .16) !important;
}

.card,
.product-wrapper,
.account-card,
.checkout-card,
.cart-card,
.category-sidebar > div,
.accordion-item,
.modal-content,
.dropdown-menu {
    border-color: var(--hxg-border) !important;
}

.card-header,
.accordion-button:not(.collapsed),
.table thead th,
.category-sidebar .sidebar-title {
    color: var(--hxg-ink) !important;
    background: var(--hxg-primary-soft) !important;
}

.nav-tabs {
    border-color: var(--hxg-border) !important;
}

.nav-tabs .nav-link {
    color: var(--hxg-muted);
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
    color: var(--hxg-primary-dark) !important;
    border-color: var(--hxg-border) var(--hxg-border) #fff !important;
}

.product-price,
.price-current,
.home-product-card__price,
.cart-price,
.order-total,
.checkout-total {
    color: var(--hxg-primary-dark) !important;
}

.price-old,
.text-muted {
    color: var(--hxg-muted) !important;
}

.sale-badge,
.product-wishlist-btn.active,
.wishlist-button.active,
.swiper-pagination-bullet-active {
    color: #fff !important;
    /* background: var(--hxg-primary) !important; */
}

.breadcrumb,
.page-banner,
.section-light,
.bg-light,
.category-page,
.account-page,
.cart-page,
.checkout-page {
    background-color: var(--hxg-surface) !important;
}

.breadcrumb a,
.breadcrumb-item {
    color: var(--hxg-muted) !important;
}

.breadcrumb-item.active,
.breadcrumb a:hover {
    color: var(--hxg-primary-dark) !important;
}

.hxg-horizontal-nav {
    border-color: var(--hxg-border) !important;
}

.hxg-horizontal-nav__link {
    color: var(--hxg-ink) !important;
}

.hxg-horizontal-nav__link:hover,
.hxg-horizontal-nav__item:hover > .hxg-horizontal-nav__link {
    color: var(--hxg-primary-dark) !important;
}

.hxg-horizontal-nav__link::after,
.header-cart-count,
.floating-contact__item {
    background-color: var(--hxg-primary) !important;
}

.hxg-promo-bar {
    color: var(--hxg-ink);
    background: var(--hxg-accent) !important;
}

.hxg-promo-bar i {
    color: var(--hxg-ink);
}

.hxg-horizontal-nav__dropdown-item > a:hover {
    color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-soft) !important;
}

html { scroll-behavior: smooth; }

body {
    color: var(--hxg-ink);
    background: var(--hxg-surface);
    font-family: "Montserrat", "Segoe UI", sans-serif;
}

#page_wrapper.bg-white { background: var(--hxg-surface) !important; }

a { transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }

::selection { color: #fff; background: var(--hxg-primary); }

.hxg-promo-bar {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    color: var(--hxg-ink);
    background: #c2d0b6;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.hxg-promo-bar i { color: #5e7744; }

.ecommerce-header,
.ecommerce-header .main-nav,
.ecommerce-header .header-sticky { background: var(--hxg-surface) !important; }

.ecommerce-header .main-nav {/* padding: 14px 0; */}
.ecommerce-header .navbar { padding: 0; }

.hxg-brand {
    min-width: 205px;
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
}

.hxg-brand__image {
    width: auto !important;
    max-width: 205px;
    height: 58px !important;
    object-fit: contain;
    object-position: left center;
}

.ecommerce-header .nav-link,
.ecommerce-header .category-toggle {
    color: var(--hxg-ink) !important;
    font-weight: 700 !important;
}

.ecommerce-header .nav-link:hover,
.ecommerce-header .nav-item.show > .nav-link { color: var(--hxg-primary-dark) !important; }

.ecommerce-header .category-toggle,
.search-pill-shape,
.ecommerce-header .dropdown-menu { border-radius: 14px !important; }

.ecommerce-header .category-toggle,
.search-submit,
.bg-primary,
.btn-primary {
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

.search-pill-shape {
    overflow: hidden;
    border: 1px solid var(--hxg-border) !important;
    background: #fff !important;
}

.search-field { color: var(--hxg-ink) !important; }

.header-cart-count,
.top-quantity .header-cart-count {
    background: var(--hxg-primary) !important;
    color: #fff !important;
}

.hxg-hero { padding: 20px 0 8px; }

.hxg-hero__card {
    min-height: 442px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    overflow: hidden;
    border-radius: 30px;
    background: var(--hxg-surface-soft);
    box-shadow: 0 1px 0 rgba(64, 40, 23, .03);
}

.hxg-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 28px 50px 48px;
    position: relative;
    z-index: 2;
}

.hxg-hero__eyebrow {
    width: max-content;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    color: var(--hxg-primary-dark);
    background: var(--hxg-primary-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.hxg-hero__content h1 {
    margin: 0 0 14px;
    color: var(--hxg-ink);
    font-size: clamp(42px, 4.2vw, 64px);
    font-weight: 900;
    line-height: .96;
    letter-spacing: -2.3px;
}

.hxg-hero__content h1 strong { color: var(--hxg-primary); }

.hxg-hero__content p {
    max-width: 520px;
    margin: 0 0 24px;
    color: var(--hxg-muted);
    font-size: 15px;
    line-height: 1.55;
}

.hxg-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hxg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 11px 21px;
    border: 1px solid var(--hxg-primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.hxg-btn--primary { color: #fff !important; background: var(--hxg-primary); }
.hxg-btn--primary:hover { background: var(--hxg-primary-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(217, 95, 137, .24); }
.hxg-btn--ghost { color: var(--hxg-primary-dark) !important; background: transparent; }
.hxg-btn--ghost:hover { background: #fff; transform: translateY(-2px); }

.hxg-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
    color: var(--hxg-ink);
    font-size: 12px;
    font-weight: 600;
}

.hxg-hero__trust i { margin-right: 4px; color: var(--hxg-primary); }

.hxg-hero__visual { min-height: 442px; position: relative; padding: 24px 24px 24px 0; }

.hxg-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 394px;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    object-position: center;
}

.hxg-hero__visual video {
    width: 100%;
    height: 100%;
    min-height: 442px;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.hxg-hero__badge {
    position: absolute;
    top: 70px;
    left: 14%;
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--hxg-primary);
    box-shadow: 0 8px 20px rgba(64, 40, 23, .12);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    transform: rotate(-8deg);
}

.staff-pick-shell,
.home-product-shell,
.recently-viewed-shell { background: transparent !important; }

.staff-pick-shell { padding-top: 28px !important; }

.home-category-shell { padding: 38px 0 22px; }

.hxg-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.hxg-section-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--hxg-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hxg-section-head h2 {
    margin: 0;
    color: var(--hxg-ink);
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 900;
    letter-spacing: -1.4px;
}

.hxg-section-head > a {
    color: var(--hxg-primary-dark) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.hxg-section-head > a:hover { color: var(--hxg-primary-dark); }

.home-category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 15px !important;
}

.home-category-item {
    overflow: hidden;
    border: 1px solid var(--hxg-border);
    border-radius: 22px !important;
    background: #eef3e9 !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-category-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--hxg-shadow);
}

.home-category-link {
    width: 100%;
    display: flex !important;
    gap: 4px !important;
    padding: 8px 8px 15px;
}

.home-category-image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
    padding: 12px;
}

.home-category-name {
    color: var(--hxg-ink) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.staff-pick-kicker { color: var(--hxg-primary-dark) !important; font-weight: 800 !important; }

.staff-pick-title,
.section-title,
.home-product-title,
h1, h2, h3 { color: var(--hxg-ink); }

.staff-pick-title {
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 900 !important;
    letter-spacing: -1.5px;
}

.staff-pick-viewall,
.home-category-hero__viewall { color: var(--hxg-ink) !important; font-weight: 700; }

.home-product-card,
.product-card,
.product-wrapper {
    overflow: hidden;
    border: 1px solid var(--hxg-border) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 8px 28px rgba(91, 54, 32, .06) !important;
}

.home-product-card:hover,
.product-card:hover,
.product-wrapper:hover { transform: translateY(-4px); box-shadow: var(--hxg-shadow) !important; }

.home-product-card--catalog .product-thumb,
.product-image {/* background: #eef3e9 !important; */}

.home-product-card__image,
.product-image img { border-radius: 18px !important; }

.product-category { color: var(--hxg-primary-dark) !important; }
.product-title a { color: var(--hxg-ink) !important; }
.price-current, .home-product-card__price, .product-price { color: var(--hxg-primary-dark) !important; }

.product-wishlist-btn,
.staff-pick-desktop-prev,
.staff-pick-desktop-next,
.swiper-button-prev,
.swiper-button-next {
    border-color: var(--hxg-border) !important;
    color: #fff !important;
    background: var(--hxg-primary) !important;
}

.sale-badge { background: var(--hxg-primary) !important; }

.swiper-pagination-bullet-active { background: var(--hxg-primary) !important; }

.btn,
button,
input,
select,
textarea { border-radius: 12px; }

.btn-primary:hover,
.btn-primary:focus { border-color: var(--hxg-primary-dark) !important; background: var(--hxg-primary-dark) !important; }

.form-control:focus {
    border-color: var(--hxg-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(29, 121, 58, .14) !important;
}

.breadcrumb,
.page-banner,
.bg-light { background-color: #eef3e9 !important; }

footer.full-row.bg-dark {
    color: var(--hxg-ink) !important;
    background: #e8efe1 !important;
}

footer.full-row.bg-dark::before { background: var(--hxg-primary) !important; }

footer.full-row.bg-dark a,
footer.full-row.bg-dark .footer-widget,
footer.full-row.bg-dark .footer-contact__headline,
footer.full-row.bg-dark .footer-hours-label,
footer.full-row.bg-dark .footer-hours-value { color: var(--hxg-ink) !important; }

footer.full-row.bg-dark a:hover { color: var(--hxg-primary-dark) !important; }

footer .hxg-brand--footer {
    /* width: max-content; */
    min-width: 0;
    margin-bottom: 8px;
}

footer .hxg-brand__footer-image {
    width: auto;
    max-width: 210px;
    max-height: 105px;
    /* object-fit: contain; */
    /* object-position: left center; */
}

footer.full-row.bg-dark .footer-contact-card {
    border: 1px solid rgba(29, 121, 58, .24) !important;
    background: rgba(255, 255, 255, .68) !important;
}

.footer-bottom {
    border-color: var(--hxg-border) !important;
    color: var(--hxg-ink) !important;
    background: #d4dfcb !important;
}

.floating-contact__item { background: var(--hxg-primary) !important; }

@media (max-width: 1199.98px) {
    .hxg-brand { min-width: 178px; }
    .hxg-brand__image { max-width: 178px; height: 52px !important; }
    .hxg-hero__content { padding-left: 34px; }
    .home-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 991.98px) {
    .hxg-promo-bar { min-height: 34px; padding: 7px 14px; font-size: 12px; }
    .hxg-hero { padding-top: 12px; }
    .hxg-hero__card { grid-template-columns: 1fr; }
    .hxg-hero__content { padding: 38px 28px 28px; }
    .hxg-hero__visual { min-height: auto; padding: 0 20px 20px; }
    .hxg-hero__visual img { min-height: 340px; }
    .hxg-hero__badge { top: 35px; left: 12%; }
    .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 575.98px) {
    .hxg-hero__card { border-radius: 22px; }
    .hxg-hero__content { padding: 30px 20px 24px; }
    .hxg-hero__content h1 { font-size: 40px; letter-spacing: -1.5px; }
    .hxg-hero__content p { font-size: 14px; }
    .hxg-hero__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .hxg-btn { padding: 10px 13px; font-size: 11px; }
    .hxg-hero__trust { gap: 10px 14px; font-size: 11px; }
    .hxg-hero__visual { padding: 0 12px 12px; }
    .hxg-hero__visual img { min-height: 260px; border-radius: 17px; }
    .hxg-hero__badge { width: 66px; height: 66px; top: 23px; font-size: 11px; }
    .staff-pick-title { font-size: 32px !important; }
    .hxg-section-head { align-items: center; }
    .hxg-section-head h2 { font-size: 29px; }
    .hxg-section-kicker { font-size: 10px; }
}

/* Bright mascot palette: yellow fur, pink heart, ink black */
.ecommerce-header .main-nav,
.ecommerce-header .header-sticky,
#page_wrapper.bg-white {
    background: var(--hxg-surface) !important;
}

.ecommerce-header .main-nav,
.hxg-horizontal-nav,
.search-pill-shape,
.ecommerce-header .dropdown-menu {
    border-color: var(--hxg-border) !important;
}

.hxg-horizontal-nav__dropdown {
    border-color: #b8c9a2 !important;
    box-shadow: 0 18px 38px rgba(23, 16, 8, .14) !important;
}

.hxg-horizontal-nav__dropdown-item > a:hover,
.category-parent:hover,
.category-parent.active {
    color: var(--hxg-ink) !important;
    background: var(--hxg-surface-soft) !important;
}

.hxg-horizontal-nav__link::after,
.search-submit,
.btn-primary,
.sale-badge,
.header-cart-count,
.floating-contact__item {
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

.hxg-horizontal-nav__item:hover > .hxg-horizontal-nav__link,
.product-category,
.price-current,
.home-product-card__price {
    color: var(--hxg-primary-dark) !important;
}

.product-wrapper,
.home-product-card--catalog,
.card,
.modal-content {
    border-color: var(--hxg-border) !important;
    background-color: #fff !important;
}

.product-image,
.home-product-card--catalog .product-thumb,
.category-card,
.breadcrumb,
.page-banner,
.bg-light {
    /* background-color: var(--hxg-surface-soft) !important; */
}

.swiper-button-prev,
.swiper-button-next,
.staff-pick-desktop-prev,
.staff-pick-desktop-next {
    color: var(--hxg-ink) !important;
    border-color: var(--hxg-accent-dark) !important;
    background: var(--hxg-accent) !important;
}

footer.full-row.bg-dark {
    color: var(--hxg-ink) !important;
    background: var(--hxg-surface-soft) !important;
}

footer.full-row.bg-dark::before,
.footer-bottom {
    border-color: var(--hxg-accent-dark) !important;
    background: var(--hxg-accent) !important;
}

/* Header colors must override the legacy beige storefront rules. */
.ecommerce-header button.search-submit,
.ecommerce-header .search-box button.search-submit {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
    background-image: none !important;
}

.ecommerce-header .search-box .search-field {
    color: var(--hxg-ink) !important;
    border-color: var(--hxg-primary-dark) !important;
}

.ecommerce-header [class*="header-cart-"] .cart-icon,
.ecommerce-header [class*="header-cart-"] .cart-icon i,
.ecommerce-header .search-view > a,
.ecommerce-header .wishlist-view > a,
.ecommerce-header .sign-in > a,
.ecommerce-header .header-language-dropdown__text {
    color: var(--hxg-ink) !important;
}

.ecommerce-header .header-cart-count,
.ecommerce-header .top-quantity .header-cart-count {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

/* Full-width swipe hero */
.hxg-hero--full {
    width: 100%;
    padding: 0 !important;
    overflow: hidden;
}

.hxg-hero-swiper {
    width: 100%;
    min-height: 520px;
    background: var(--hxg-surface-soft);
}

.hxg-hero-slide {
    min-height: 520px;
}

/*.hxg-hero-slide--yellow { background: #edf3e5; }
.hxg-hero-slide--pink { background: #eef3e9; }
.hxg-hero-slide--cream { background: #f7f9f4; }
*/
.hxg-hero-slide__inner {
    width: min(100%, 1520px);
    min-height: 520px;
    margin: 0 auto;
    padding: 28px clamp(48px, 6vw, 110px);
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: stretch;
    gap: clamp(28px, 4vw, 70px);
}

.hxg-hero-slide .hxg-hero__content {
    padding: 40px 0;
}

.hxg-hero-slide .hxg-hero__content h1,
.hxg-hero-slide .hxg-hero__content h2 {
    margin: 0 0 18px;
    color: var(--hxg-ink);
    font-size: clamp(46px, 4.5vw, 55px);
    font-weight: 800;
    line-height: 1.1;
    /* letter-spacing: -2.5px; */
}

.hxg-hero-slide .hxg-hero__content h1 strong,
.hxg-hero-slide .hxg-hero__content h2 strong {
    color: var(--hxg-primary);
}

.hxg-hero-slide .hxg-hero__visual {
    min-height: 464px;
    padding: 0;
}

.hxg-hero-slide .hxg-hero__visual img {
    min-height: 464px;
    border-radius: 28px;
}

.hxg-hero__visual--mirror img {
    transform: scaleX(-1);
}

.hxg-hero-prev,
.hxg-hero-next {
    width: 46px !important;
    height: 46px !important;
    color: var(--hxg-ink) !important;
    /* border: 1px solid var(--hxg-accent-dark) !important; */
    border-radius: 50% !important;
    background: var(--hxg-accent) !important;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease !important;
}

.hxg-hero-swiper:hover .hxg-hero-prev,
.hxg-hero-swiper:hover .hxg-hero-next {
    opacity: 1;
}

.hxg-hero-prev { left: 24px !important; }
.hxg-hero-next { right: 24px !important; }

.hxg-hero-prev::after,
.hxg-hero-next::after {
    font-size: 15px !important;
    font-weight: 900;
}

.hxg-hero-pagination {
    bottom: 16px !important;
}

.hxg-hero-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px !important;
    background: var(--hxg-ink) !important;
    opacity: .25;
}

.hxg-hero-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 999px;
    background: var(--hxg-primary) !important;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .hxg-hero-swiper,
    .hxg-hero-slide,
    .hxg-hero-slide__inner {
        min-height: auto;
    }

    .hxg-hero-slide__inner {
        grid-template-columns: 1fr;
        padding: 30px 22px 54px;
        gap: 12px;
    }

    .hxg-hero-slide .hxg-hero__content {
        padding: 12px 6px 8px;
    }

    .hxg-hero-slide .hxg-hero__content h1,
    .hxg-hero-slide .hxg-hero__content h2 {
        font-size: clamp(38px, 9vw, 58px);
        letter-spacing: -1.7px;
    }

    .hxg-hero-slide .hxg-hero__visual {
        min-height: 0;
    }

    .hxg-hero-slide .hxg-hero__visual img,
    .hxg-hero-slide .hxg-hero__visual video {
        width: 100%;
        height: auto;
        min-height: 0;
        border-radius: 20px;
    }

    .hxg-hero-prev,
    .hxg-hero-next {
        display: none !important;
    }
}

/* Contact page palette. */
.contact-page .section-heading h4,
.contact-page .contact-card-title,
.contact-page .contact-info-label,
.contact-page .contact-form .form-label {
    color: var(--hxg-ink) !important;
}

.contact-page .section-heading p,
.contact-page .contact-note,
.contact-page .contact-info-item,
.contact-page .contact-info-value,
.contact-page .contact-hours {
    color: var(--hxg-muted) !important;
}

.contact-page .contact-info-item i {
    color: var(--hxg-primary) !important;
}

.contact-page .contact-info-value:hover {
    color: var(--hxg-primary-dark) !important;
}

.contact-page .contact-hours {
    border-color: var(--hxg-border) !important;
}

.contact-page .contact-form .form-control {
    color: var(--hxg-ink) !important;
    border-color: #cbd8be !important;
    background: var(--hxg-surface) !important;
}

.contact-page .contact-form .form-control:focus {
    border-color: var(--hxg-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(29, 121, 58, .12) !important;
}

.contact-page .contact-actions .btn {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

.contact-page .contact-actions .btn:hover,
.contact-page .contact-actions .btn:focus {
    border-color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-dark) !important;
}

/* Product gallery uses a clean white canvas around contained images. */
.product-detail .product-gallery-wrap,
.product-detail .product-gallery-main,
.product-detail .product-gallery-main .swiper-wrapper,
.product-detail .product-gallery-main .swiper-slide,
.product-detail .product-gallery-thumbs,
.product-detail .product-gallery-thumbs .swiper-slide,
.product-detail .product-gallery-main img,
.product-detail .product-gallery-thumbs img {
    background-color: #fff !important;
}

/* Collapsible contact launcher on mobile. */
.floating-contact__toggle {
    display: none;
}

.floating-contact .is-maps {
    display: none !important;
}

@media (max-width: 991.98px) {
    .floating-contact {
        right: 16px !important;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 1055 !important;
        display: flex !important;
        align-items: center;
        gap: 10px;
    }

    .floating-contact .floating-contact__item {
        display: none !important;
        width: 44px;
        height: 44px;
        border: 2px solid #fff !important;
        animation: none !important;
        box-shadow: 0 8px 22px rgba(20, 45, 25, .22) !important;
    }

    .floating-contact.is-open .floating-contact__item {
        display: inline-flex !important;
    }

    .floating-contact .is-hotline {
        color: #fff !important;
        background: var(--hxg-primary) !important;
    }

    .floating-contact .is-zalo {
        color: #fff !important;
        background: #0068ff !important;
    }

    .floating-contact .is-maps {
        color: #fff !important;
        background: #ea4335 !important;
    }

    .floating-contact .floating-contact__item::before,
    .floating-contact .floating-contact__item::after {
        display: none !important;
    }

    .floating-contact__toggle {
        width: 50px;
        height: 50px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        border: 2px solid #fff;
        border-radius: 50%;
        background: var(--hxg-primary);
        box-shadow: 0 10px 26px rgba(29, 121, 58, .3);
        font-size: 21px;
        transition: transform .2s ease, color .2s ease, background-color .2s ease;
    }

    .floating-contact.is-open .floating-contact__toggle {
        color: var(--hxg-primary-dark);
        background: var(--hxg-primary-soft);
        transform: rotate(-8deg);
    }
}

/* Featured categories: six cards per desktop swipe */
.home-category-slider-wrap {
    position: relative;
}

.home-category-swiper {
    padding: 4px 4px 42px !important;
}

.home-category-swiper .swiper-slide {
    height: auto;
}

.home-category-swiper .home-category-item {
    height: 100%;
}

.home-category-prev,
.home-category-next {
    top: 44% !important;
    width: 40px !important;
    height: 40px !important;
    color: var(--hxg-ink) !important;
    /* border: 1px solid var(--hxg-accent-dark) !important; */
    border-radius: 50% !important;
    background: var(--hxg-accent) !important;
    box-shadow: 0 8px 20px rgba(23, 16, 8, .14);
}

.home-category-prev { left: 10px !important; }
.home-category-next { right: 10px !important; }

.home-category-prev::after,
.home-category-next::after {
    font-size: 13px !important;
    font-weight: 900;
}

.home-category-pagination {
    bottom: 5px !important;
}

.home-category-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: var(--hxg-ink) !important;
    opacity: .22;
}

.home-category-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 99px;
    background: var(--hxg-primary) !important;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .home-category-prev,
    .home-category-next {
        display: none !important;
    }
}

/* High-contrast footer text on the bright mascot palette */
footer.full-row.bg-dark,
footer.full-row.bg-dark .footer-widget,
footer.full-row.bg-dark p,
footer.full-row.bg-dark li,
footer.full-row.bg-dark span {
    color: var(--hxg-ink) !important;
}

footer.full-row.bg-dark .footer-accordion-toggle,
footer.full-row.bg-dark .footer-payment__caption,
footer.full-row.bg-dark .footer-contact__headline {
    color: var(--hxg-ink) !important;
    opacity: 1 !important;
    font-weight: 800 !important;
}

footer.full-row.bg-dark .footer-accordion-toggle span::after,
footer.full-row.bg-dark .footer-payment__caption::after,
footer.full-row.bg-dark .footer-contact-card::before {
    background: var(--hxg-primary) !important;
}

footer.full-row.bg-dark .footer-contact__item,
footer.full-row.bg-dark .footer-contact__item a,
footer.full-row.bg-dark .footer-contact__item i,
footer.full-row.bg-dark .footer-hours li,
footer.full-row.bg-dark .footer-hours-label,
footer.full-row.bg-dark .footer-hours-value,
footer.full-row.bg-dark .footer-widget.category-widget ul li a,
footer.full-row.bg-dark .media-widget a {
    color: #2d3827 !important;
    opacity: 1 !important;
}

footer.full-row.bg-dark .footer-widget.category-widget ul li a:hover,
footer.full-row.bg-dark .footer-contact__item a:hover {
    color: var(--hxg-primary-dark) !important;
}

.footer-bottom,
.footer-bottom .footer-bottom-copy,
.footer-bottom .footer-bottom-copy span,
.footer-bottom .footer-bottom-social,
.footer-bottom .footer-social-pill {
    color: var(--hxg-ink) !important;
    opacity: 1 !important;
}

.footer-bottom .footer-social-pill {
    /* border-color: rgba(23, 16, 8, .38) !important; */
    background: rgba(255, 255, 255, .28) !important;
}

.footer-bottom .footer-social-pill:hover {
    color: #fff !important;
    border-color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-dark) !important;
}

/* Home page shared styles (kept out of default.aspx). */
.staff-pick-viewall,
.home-category-hero__viewall {
    color: var(--hxg-primary-dark) !important;
    font-size: .75rem !important;
}

.home-category-hero__eyebrow,
.home-category-hero__panel-subtitle,
.home-category-hero-card__category {
    color: var(--hxg-primary-dark) !important;
}

.home-category-hero__category-text small {
    color: var(--hxg-muted) !important;
}

.swiper-pagination-bullet {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, currentColor 0 4px, transparent 5px);
}

.staff-pick-shell {
    min-height: 620px;
}

@media (min-width: 992px) {
    .staff-pick-shell {
        min-height: 520px;
    }
}

/* One consistent wishlist button across every product card. */
.product-wishlist-btn,
.home-product-card--catalog .product-wishlist-btn,
.product-wrapper .product-wishlist-btn {
    top: 12px !important;
    right: 12px !important;
    z-index: 6 !important;
    /* width: 36px !important; */
    /* height: 36px !important; */
    padding: 0 !important;
    color: #fff !important;
    /* border: 2px solid var(--hxg-primary) !important; */
    border-radius: 50% !important;
    background: transparent !important;
    /* box-shadow: 0 5px 14px rgba(52, 71, 36, .14) !important; */
    line-height: 1 !important;
}

.product-wishlist-btn i,
.home-product-card--catalog .product-wishlist-btn i {
    color: inherit !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.product-wishlist-btn:hover,
.product-wishlist-btn:focus,
.product-wishlist-btn.active,
.home-product-card--catalog .product-wishlist-btn:hover,
.home-product-card--catalog .product-wishlist-btn.active {
    color: var(--hxg-primary) !important;
    /* border-color: var(--hxg-primary-dark) !important; */
    /* background: var(--hxg-primary) !important; */
    transform: translateY(-1px);
}

/* Active category state in the header and category sidebar. */
.hxg-horizontal-nav__item.active > .hxg-horizontal-nav__link {
    color: var(--hxg-primary-dark) !important;
}

.hxg-horizontal-nav__item.active > .hxg-horizontal-nav__link::after {
    right: 0 !important;
    left: 0 !important;
    background: var(--hxg-primary) !important;
}

.category-page .sidebar-parent.active,
.category-page .sidebar-child.active {
    color: var(--hxg-primary) !important;
    /* background: var(--hxg-accent) !important; */
    /* box-shadow: inset 4px 0 0 var(--hxg-primary); */
    /* font-weight: 600 !important; */
}

.category-page .sidebar-parent.active:hover,
.category-page .sidebar-child.active:hover {
    color: var(--hxg-ink) !important;
    background: var(--hxg-accent) !important;
}

/* Footer social pills */
.footer-bottom .footer-social-pill,
.footer-bottom a.footer-social-pill {
    color: #fff !important;
    border: 1px solid var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
    box-shadow: none !important;
}

.footer-bottom .footer-social-pill i,
.footer-bottom .footer-social-pill span {
    color: #fff !important;
}

.footer-bottom .footer-social-pill:hover,
.footer-bottom a.footer-social-pill:hover {
    color: #fff !important;
    border-color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-dark) !important;
    transform: translateY(-1px);
}

/* Homepage category tabs: use the garden palette instead of the old beige theme. */
.home-category-hero__category {
    color: var(--hxg-ink) !important;
    border-color: var(--hxg-border) !important;
    background: var(--hxg-surface) !important;
}

.home-category-hero__category:hover {
    border-color: rgba(76, 100, 50, .42) !important;
    background: #f6f9f3 !important;
    box-shadow: 0 6px 18px rgba(29, 121, 58, .08) !important;
}

.home-category-hero__category.is-active {
    border-color: rgba(142, 195, 31, .62) !important;
    background: var(--hxg-primary-soft) !important;
    box-shadow: inset 4px 0 0 var(--hxg-primary) !important;
}

.home-category-hero__category-icon-wrap {
    background: #f3f7ef !important;
}

.home-category-hero__category.is-active .home-category-hero__category-icon-wrap {
    background: var(--hxg-surface) !important;
}

.home-category-hero__category-text strong {
    color: var(--hxg-ink) !important;
}

.home-category-hero__category i {
    color: var(--hxg-logo-green) !important;
}

.home-category-hero__category.is-active i {
    color: var(--hxg-primary) !important;
}

/* Keep the language dropdown above the horizontal category navigation. */
.ecommerce-header .hxg-header-primary-row {
    position: relative;
    z-index: 120;
}

.ecommerce-header .header-language-dropdown-wrap,
.ecommerce-header .header-language-dropdown {
    position: relative;
    z-index: 130 !important;
}

.ecommerce-header .header-language-dropdown__menu {
    z-index: 140 !important;
    background: var(--hxg-surface) !important;
    border-color: var(--hxg-border) !important;
}

/* Clean product grids and keep pagination within the Garden palette. */
.home-product-card,
.home-product-card--catalog,
.product-card,
.product-wrapper {
    box-shadow: none !important;
}

.home-product-card:hover,
.home-product-card--catalog:hover,
.product-card:hover,
.product-wrapper:hover {
    box-shadow: 0 10px 24px rgba(29, 121, 58, .09) !important;
}

.home-product-card--catalog .product-thumb,
.home-product-card--catalog .product-thumb-wrap,
.home-product-card__image {
    background-color: var(--hxg-surface) !important;
}

.public-pagination-nav .pagination {
    gap: 6px;
}

.public-pagination .page-link {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    color: var(--hxg-primary-dark) !important;
    border: 1px solid var(--hxg-border) !important;
    border-radius: 9px !important;
    background: var(--hxg-surface) !important;
    box-shadow: none !important;
}

.public-pagination .page-item:not(.disabled) .page-link:hover,
.public-pagination .page-item:not(.disabled) .page-link:focus {
    color: var(--hxg-primary-dark) !important;
    border-color: var(--hxg-accent) !important;
    background: var(--hxg-primary-soft) !important;
}

.public-pagination .page-item.active .page-link {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

.public-pagination .page-item.disabled .page-link {
    color: #9aa39a !important;
    border-color: var(--hxg-border) !important;
    background: #f7f9f7 !important;
    opacity: .7;
}

/* Search/category headings and sort control. */
.category-page .section-heading h4 {
    color: var(--hxg-ink) !important;
}

.category-page .section-heading p {
    color: var(--hxg-muted) !important;
}

.category-page .product-sortbar-inner label {
    color: var(--hxg-primary-dark) !important;
}

.category-page .product-sortbar-inner .form-select {
    color: var(--hxg-ink) !important;
    border-color: var(--hxg-border) !important;
    background-color: var(--hxg-surface) !important;
}

.category-page .product-sortbar-inner .form-select:hover {
    border-color: rgba(76, 100, 50, .48) !important;
}

.category-page .product-sortbar-inner .form-select:focus {
    border-color: var(--hxg-primary) !important;
    box-shadow: 0 0 0 .2rem rgba(29, 121, 58, .12) !important;
}

/* Product-detail breadcrumb and variant controls. */
.product-detail .product-breadcrumb {
    color: var(--hxg-muted) !important;
}

.product-detail .product-breadcrumb a {
    color: var(--hxg-muted) !important;
}

.product-detail .product-breadcrumb a:last-of-type {
    color: var(--hxg-primary-dark) !important;
    font-weight: 600;
}

.product-detail .product-breadcrumb a:hover {
    color: var(--hxg-primary) !important;
}

.product-detail .product-breadcrumb .sep {
    color: #aeb8ae !important;
}

/* Stock quantity is temporarily hidden; stock/cart logic remains active. */
.product-detail .product-stock-status {
    display: none !important;
}

.product-detail .variant-label {
    color: var(--hxg-ink) !important;
}

.product-detail .variant-pill {
    color: var(--hxg-ink) !important;
    border-color: #cbd8be !important;
    background: var(--hxg-surface) !important;
}

.product-detail .variant-pill:not(.disabled):hover {
    color: var(--hxg-primary-dark) !important;
    border-color: var(--hxg-accent) !important;
    background: var(--hxg-primary-soft) !important;
}

.product-detail .variant-pill.active {
    color: #fff !important;
    border-color: var(--hxg-primary) !important;
    background: var(--hxg-primary) !important;
}

.product-detail .variant-pill.active .variant-pill-clear {
    color: var(--hxg-primary-dark) !important;
    background: #fff !important;
}

.product-detail .qty-btn,
.product-detail .qty-input {
    color: var(--hxg-ink) !important;
    border-color: #cbd8be !important;
    background: var(--hxg-surface) !important;
}

.product-detail .qty-btn:hover {
    color: var(--hxg-primary-dark) !important;
    border-color: var(--hxg-accent) !important;
    background: var(--hxg-primary-soft) !important;
}

/* Category/filter sidebar headers and navigation. */
.category-page .category-sidebar > .sidebar-heading,
.category-page .filter-sidebar > .sidebar-heading {
    color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-soft) !important;
    border-bottom: 1px solid #d6e2d3;
}

.category-page .sidebar-heading i {
    color: #fff !important;
    background: var(--hxg-primary) !important;
}

.category-page .sidebar-group + .sidebar-group,
.category-page .filter-group + .filter-group {
    border-color: var(--hxg-border) !important;
}

.category-page .sidebar-parent,
.category-page .filter-title {
    color: var(--hxg-ink) !important;
}

.category-page .sidebar-child {
    color: var(--hxg-muted) !important;
}

.category-page .toggle-btn,
.category-page .filter-toggle-icon {
    color: var(--hxg-logo-green) !important;
}

.category-page .toggle-btn:hover,
.category-page .filter-toggle:hover {
    color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-soft) !important;
}

.category-page .sidebar-parent:hover,
.category-page .sidebar-child:hover {
    color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-soft) !important;
}

.category-page .sidebar-parent.active,
.category-page .sidebar-child.active {
    color: var(--hxg-primary) !important;
}

/* Product-detail content actions and recommendation headings. */
.product-detail .tab-toggle {
    color: var(--hxg-logo-green) !important;
}

.product-detail .tab-toggle:hover,
.product-detail .tab-toggle:focus {
    color: var(--hxg-primary-dark) !important;
    background: var(--hxg-primary-soft) !important;
    border-radius: 999px;
}

.suggested-products .suggested-title,
.recently-viewed-block .suggested-title,
.suggested-title {
    color: var(--hxg-primary-dark) !important;
}

/* Mobile push menu: prevent the legacy beige visited/active states. */
@media (max-width: 991.98px) {
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link:visited,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item:visited {
        color: var(--hxg-ink) !important;
    }

    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link:hover,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link:focus,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item:hover,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item:focus {
        color: var(--hxg-primary-dark) !important;
        background: var(--hxg-primary-soft) !important;
    }

    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link.active,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item.active,
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .nav-link[aria-current="page"],
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown-item[aria-current="page"],
    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .show > .nav-link {
        color: var(--hxg-primary-dark) !important;
        background: var(--hxg-primary-soft) !important;
        box-shadow: inset 3px 0 0 var(--hxg-primary);
    }

    .nav-leftpush-overlay .navbar-slide-push .push-navbar .navbar-nav .dropdown > .nav-link::after {
        border-top-color: var(--hxg-logo-green) !important;
    }
}
