/* ==========================================================================
   New UI Overrides & Mobile Navigation
   Prevents conflicts between new UI and old Bootstrap/Riode theme
   ========================================================================== */

/* ---- Restore font-size for new UI (Riode sets html to 62.5% = 10px) ---- */
.navigation-wrapper,
.footer-wrapper,
.main.home.newui {
    font-size: 16px !important;
}

/* ---- Scoped CSS Reset for New UI elements ---- */
.navigation-wrapper *,
.navigation-wrapper *::before,
.navigation-wrapper *::after,
.footer-wrapper *,
.footer-wrapper *::before,
.footer-wrapper *::after,
.main.home.newui *,
.main.home.newui *::before,
.main.home.newui *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    -webkit-font-smoothing: antialiased;
}

.main.home.newui {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.01em !important;
    line-height: 1.6 !important;
    color: var(--color-on-surface, #1a1a2e) !important;
    background: var(--color-surface, #ffffff) !important;
    fill: var(--color-on-surface, #1a1a2e);
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: clip;
}

.navigation-wrapper p,
.navigation-wrapper li,
.navigation-wrapper ul,
.navigation-wrapper div,
.navigation-wrapper h1,
.navigation-wrapper h2,
.navigation-wrapper h3,
.navigation-wrapper h4,
.navigation-wrapper h5,
.navigation-wrapper h6,
.footer-wrapper p,
.footer-wrapper li,
.footer-wrapper ul,
.footer-wrapper div,
.footer-wrapper h1,
.footer-wrapper h2,
.footer-wrapper h3,
.footer-wrapper h4,
.footer-wrapper h5,
.footer-wrapper h6,
.main.home.newui p,
.main.home.newui li,
.main.home.newui ul,
.main.home.newui div,
.main.home.newui h1,
.main.home.newui h2,
.main.home.newui h3,
.main.home.newui h4,
.main.home.newui h5,
.main.home.newui h6,
.main.home.newui figure,
.main.home.newui blockquote,
.main.home.newui figcaption {
    margin: 0;
    padding: 0;
}

.navigation-wrapper a,
.footer-wrapper a,
.main.home.newui a {
    color: inherit;
    text-decoration: none;
}

.navigation-wrapper a:hover,
.footer-wrapper a:hover,
.main.home.newui a:hover {
    text-decoration: none;
    color: inherit;
}

.navigation-wrapper img,
.footer-wrapper img,
.main.home.newui img {
    display: block;
}

/* ---- Neutralize Riode base element styles inside new UI ---- */
/* Riode sets p { font-family: Poppins; font-size: 22.4px; line-height: 1.86 }
   Do NOT set font-size here — let individual template classes (.hero-subtitle etc) handle it */
.main.home.newui p,
.footer-wrapper p {
    font-family: var(--font-family-body, 'Inter', sans-serif);
    line-height: var(--line-height-body, 1.6);
    margin: 0;
}

/* Riode sets h1-h6 { font-family: Poppins; margin: 0 0 32px; color: #232323 } */
.main.home.newui h1,
.main.home.newui h2,
.main.home.newui h3,
.main.home.newui h4,
.main.home.newui h5,
.main.home.newui h6,
.footer-wrapper h1,
.footer-wrapper h2,
.footer-wrapper h3,
.footer-wrapper h4,
.footer-wrapper h5,
.footer-wrapper h6 {
    font-family: var(--font-family-heading, 'Red Hat Display', sans-serif);
    color: inherit;
    margin: 0;
    line-height: var(--line-height-heading, 1.3);
}

/* ---- Neutralize Riode .btn inside new UI ---- */
.main.home.newui .btn,
.footer-wrapper .btn,
.navigation-wrapper .btn {
    font-family: var(--font-family-body, 'Inter', sans-serif) !important;
    font-size: var(--font-size-base, 16px) !important;
    text-transform: none !important;
    letter-spacing: var(--letter-spacing-body, 0.01em) !important;
    line-height: var(--line-height-body, 1.6) !important;
    padding: var(--spacing-md, 12px) var(--spacing-lg, 16px) !important;
    border-radius: var(--border-radius-control, 8px) !important;
}

.main.home.newui .btn-lg {
    padding: var(--spacing-lg, 16px) var(--spacing-xl, 24px) !important;
}

.main.home.newui .btn-xl {
    padding: var(--spacing-xl, 24px) var(--spacing-2xl, 32px) !important;
}

.main.home.newui button {
    background-color: transparent;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    cursor: pointer;
}

.main.home.newui pre {
    white-space: normal;
}

.main.home.newui input {
    padding: 2px 4px;
}

.navigation-wrapper button {
    background-color: transparent;
    font-family: inherit;
    cursor: pointer;
}

/* ---- Hide old Riode mobile menu sidebar & old header ---- */
.mobile-menu-wrapper {
    display: none !important;
}

.page-wrapper > header.header {
    display: none !important;
}

/* ---- Hide old Riode sticky bottom bar on pages with new UI ---- */
.newui ~ .sticky-footer,
.page-wrapper .sticky-footer,
.sticky-footer {
    display: none !important;
}

/* ---- Navigation Wrapper Scoping ---- */
.navigation-wrapper {
    display: block !important;
    position: relative !important;
    top: auto !important;
    z-index: 1050 !important;
    width: 100% !important;
    background-color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    letter-spacing: 0.01em !important;
    color: #1a1a2e !important;
}

.navigation-wrapper .navigation-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: var(--spacing-xl) !important;
    margin: 0 auto !important;
    padding: var(--spacing-md) var(--spacing-xl) !important;
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e0e0e0 !important;
    max-width: var(--content-max-width) !important;
    box-sizing: border-box !important;
}

.navigation-wrapper--hero {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 1050 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e6ebf1 !important;
}

.navigation-wrapper--hero .navigation-container {
    background: #ffffff !important;
    border-bottom: none !important;
    padding: 18px 24px !important;
}

.navigation-wrapper--hero .navigation-link,
.navigation-wrapper--hero .icon-link,
.navigation-wrapper--hero .navigation-toggle {
    color: #1a1a2e !important;
}

.navigation-wrapper--hero .navigation-link:hover,
.navigation-wrapper--hero .icon-link:hover {
    color: #2e7d32 !important;
}

.navigation-wrapper--hero .navigation-image {
    filter: none;
}

.navigation-wrapper .navigation-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 100px;
}

.navigation-wrapper .navigation-image {
    width: 340px !important;
    height: auto !important;
    object-fit: contain;
    border: none !important;
    margin: 0 !important;
    max-height: 100px;
}

.navigation-wrapper .navigation-desktop-menu {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.navigation-wrapper .navigation-desktop-menu > a,
.navigation-wrapper .navigation-menu-item {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin-right: 50px !important;
}

.navigation-wrapper .navigation-desktop-menu > a:last-child,
.navigation-wrapper .navigation-menu-item:last-child {
    margin-right: 0 !important;
}

.navigation-wrapper .navigation-link {
    color: #222 !important;
    position: relative !important;
    font-size: 14px !important;
    font-family: "Poppins", "Noto Sans", sans-serif !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    white-space: nowrap !important;
    padding: 20px 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    display: inline-block !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: capitalize !important;
}

.navigation-wrapper .navigation-link:hover {
    color: #333 !important;
    text-decoration: none !important;
}

.navigation-wrapper .navigation-menu-item--has-submenu > .navigation-submenu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: -19px !important;
    z-index: 1041 !important;
    min-width: 226px !important;
    margin: 0 !important;
    padding: 20px 0 !important;
    list-style: none !important;
    background: #fff !important;
    box-shadow: 0 2px 35px rgba(0, 0, 0, 0.1) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translate3d(0, -10px, 0) !important;
    transition: opacity 0.18s ease, transform 0.2s ease, visibility 0.18s ease !important;
}

.navigation-wrapper .navigation-menu-item--has-submenu:hover > .navigation-submenu,
.navigation-wrapper .navigation-menu-item--has-submenu:focus-within > .navigation-submenu {
    top: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

.navigation-wrapper .navigation-submenu li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 20px !important;
    line-height: 1.5 !important;
}

.navigation-wrapper .navigation-submenu a {
    display: block !important;
    padding: 7px 0 7px 10px !important;
    color: #666 !important;
    font-family: "Poppins", "Noto Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.navigation-wrapper .navigation-submenu li:hover > a,
.navigation-wrapper .navigation-submenu a:focus {
    color: #333 !important;
    text-decoration: none !important;
}

.navigation-wrapper .navigation-account-submenu {
    min-width: 270px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    padding: 18px 0 !important;
}

.navigation-wrapper .navigation-account-submenu li {
    padding: 0 22px !important;
}

.navigation-wrapper .navigation-account-submenu a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 0 !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.navigation-wrapper .navigation-account-submenu i {
    flex: 0 0 22px !important;
    width: 22px !important;
    color: #222 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    text-align: center !important;
}

.navigation-wrapper .navigation-menu-item--has-submenu > .navigation-link::after,
.navigation-wrapper .navigation-menu-item--has-submenu > a .navigation-link::after {
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-left: 8px !important;
    background: none !important;
    color: inherit !important;
    font-family: "Font Awesome 5 Free" !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    content: "\f078" !important;
    transform: none !important;
    opacity: 1 !important;
}

.navigation-wrapper .navigation-link:focus,
.navigation-wrapper .navigation-link:active {
    text-decoration: none !important;
    outline: none;
}

.navigation-wrapper .navigation-thq-navigation-actions-elm {
    gap: 16px !important;
    display: flex !important;
    align-items: center !important;
}

.navigation-wrapper .navigation-mobile-actions {
    display: none;
}

.navigation-wrapper .icon-link {
    color: #1a1a2e !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    transition: color 0.2s ease;
}

.navigation-wrapper .icon-link:hover {
    color: #2e7d32 !important;
    text-decoration: none !important;
}

.navigation-wrapper .icon-link svg {
    display: block !important;
}

.navigation-wrapper .navigation-toggle {
    display: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    padding: 8px !important;
    color: #1a1a2e;
}

/* ---- Mobile Navigation Overlay ---- */
.navigation-mobile-overlay {
    position: fixed !important;
    inset: auto !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 296px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    min-height: auto !important;
    background: #dcedc8 !important;
    z-index: 2000 !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease !important;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.navigation-mobile-overlay.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.navigation-mobile-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.navigation-mobile-overlay.is-open::before {
    opacity: 1;
    pointer-events: auto;
}

.navigation-overlay-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 26px 22px 16px !important;
    border-bottom: 0;
    background: #dcedc8;
    backdrop-filter: none;
}

.navigation-overlay-header .navigation-image {
    width: 138px;
}

.navigation-mobile-search-form {
    position: relative;
    flex: 0 1 205px;
    display: flex;
    align-items: center;
    min-width: 0;
    max-width: calc(100% - 48px);
    height: 40px;
    margin: 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.5, 0, 0.3, 1);
}

.navigation-mobile-overlay.is-open .navigation-mobile-search-form {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.navigation-mobile-search-input {
    width: 100%;
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #2e3237;
    border-right: 0;
    border-radius: 3px 0 0 3px;
    background: transparent;
    color: #7a8088;
    font-family: Poppins, "Noto Sans", sans-serif;
    font-size: 13px;
    line-height: 40px;
    box-shadow: none;
}

.navigation-mobile-search-input::placeholder {
    color: #999;
    opacity: 1;
}

.navigation-mobile-search-input:focus {
    outline: none;
    border-color: #2e3237;
    box-shadow: none;
}

.navigation-mobile-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #00695c;
    border-radius: 3px;
    background: #00695c;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.navigation-mobile-search-button:hover,
.navigation-mobile-search-button:focus {
    background: #00584d;
    border-color: #00584d;
    color: #fff;
}

.navigation-mobile-search-button i {
    margin: 0 0 5px;
    font-size: inherit;
}

.navigation-close {
    position: static;
    flex: 0 0 34px;
    margin-left: auto;
    z-index: 2001;
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 0;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navigation-mobile-overlay.is-open .navigation-close {
    opacity: 1;
}

.navigation-overlay-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 4px 22px 28px;
    background: #dcedc8;
    min-height: 0;
    overflow-y: auto;
}

.navigation-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px 6px;
    background: #dcedc8;
}

.navigation-mobile-links > a {
    text-decoration: none;
}

.navigation-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 18px 8px 18px 0;
    color: #555;
    font-family: Poppins, "Noto Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.025em;
    text-decoration: none;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.2s ease, opacity 0.3s ease, transform 0.4s cubic-bezier(0.5, 0, 0.3, 1);
}

.navigation-mobile-overlay.is-open .navigation-mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(1) .navigation-mobile-link {
    transition-delay: 0.12s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(2) .navigation-mobile-link {
    transition-delay: 0.16s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(3) .navigation-mobile-link {
    transition-delay: 0.2s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(4) .navigation-mobile-link {
    transition-delay: 0.24s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(5) .navigation-mobile-link {
    transition-delay: 0.28s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(6) .navigation-mobile-link {
    transition-delay: 0.32s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(7) .navigation-mobile-link {
    transition-delay: 0.36s;
}

.navigation-mobile-overlay.is-open .navigation-mobile-links > a:nth-child(8) .navigation-mobile-link {
    transition-delay: 0.4s;
}

.navigation-mobile-links > a:not(:last-child) .navigation-mobile-link {
    border-bottom: 1px solid #2e3237;
}

.navigation-mobile-link:hover {
    color: #d26e4b;
    text-decoration: none;
}

.navigation-mobile-link span {
    display: block;
    letter-spacing: 0.01em;
}

.navigation-mobile-link .navigation-mobile-link-content {
    padding: 10px;
    flex: 1 1 auto;
}

.navigation-mobile-link::after {
    content: "";
    font-size: 0;
    line-height: 1;
}

.navigation-mobile-footer {
    margin-top: auto;
    padding-top: 18px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.5, 0, 0.3, 1);
}

.navigation-mobile-overlay.is-open .navigation-mobile-footer {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.44s;
}

.navigation-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 18px 34px rgba(34, 122, 67, 0.18);
}

.navigation-mobile-footer > a {
    text-decoration: none;
}

.navigation-mobile-footer .navigation-mobile-cta {
    width: 100%;
    justify-content: center;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 18px;
}

.navigation-mobile-footer .navigation-mobile-cta svg {
    width: 20px;
    height: 20px;
}

/* ---- Footer Extras ---- */
.footer-wrapper {
    width: 100%;
}

.footer-wrapper a {
    text-decoration: none;
}

.footer-wrapper .footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-wrapper .footer-link-item {
    margin-bottom: var(--spacing-sm, 8px);
}

.footer-wrapper .footer-nav-link,
.footer-wrapper .footer-legal-link {
    color: color-mix(in srgb, var(--color-surface) 70%, transparent);
    transition: all 0.2s ease;
    font-size: var(--font-size-base, 16px);
}

.footer-wrapper .footer-nav-link:hover,
.footer-wrapper .footer-legal-link:hover {
    color: var(--color-primary, #2e7d32);
}

.footer-wrapper .footer-title {
    position: relative;
    padding-bottom: var(--spacing-sm, 8px);
    margin-bottom: var(--spacing-xl, 24px);
    font-size: var(--font-size-2xl, 1.75rem);
    font-weight: var(--font-weight-heading, 600);
    color: var(--color-surface, #ffffff);
}

.footer-wrapper .footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary, #2e7d32);
}

.footer-wrapper .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg, 16px);
}

.footer-wrapper .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md, 12px);
    color: color-mix(in srgb, var(--color-surface) 70%, transparent);
}

.footer-wrapper .footer-contact-icon {
    color: var(--color-primary, #2e7d32);
    flex-shrink: 0;
}

.footer-wrapper .footer-social-group {
    display: flex;
    gap: var(--spacing-md, 12px);
    margin-top: var(--spacing-lg, 16px);
}

.footer-wrapper .footer-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--color-surface) 20%, transparent);
    background: color-mix(in srgb, var(--color-surface) 10%, transparent);
    color: var(--color-surface, #ffffff);
    transition: all 0.3s ease;
}

.footer-wrapper .footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 30%, transparent);
    border-color: var(--color-primary, #2e7d32);
    background: var(--color-primary, #2e7d32);
    color: #fff;
}

.footer-wrapper .footer-description {
    max-width: 400px;
    margin-top: 0;
    margin-bottom: var(--spacing-xl, 24px);
    color: color-mix(in srgb, var(--color-surface) 70%, transparent);
    line-height: 1.75;
}

.footer-wrapper .footer-copyright {
    color: color-mix(in srgb, var(--color-surface) 50%, transparent);
    font-size: var(--font-size-sm, 14px);
    margin: 0;
}

.footer-wrapper .footer-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xl, 24px);
}

.footer-wrapper .footer-image {
    width: 200px !important;
    height: auto !important;
    object-fit: contain;
}

.footer-wrapper .footer-root {
    position: relative;
    overflow: hidden;
    padding-top: var(--spacing-4xl, 64px);
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.footer-wrapper .footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3xl) !important;
    padding-bottom: var(--spacing-4xl, 64px);
}

.footer-wrapper .footer-column {
    flex: 1 1 0%;
    min-width: 250px;
}

.footer-wrapper .footer-brand.footer-column {
    flex: 1.5 1 0%;
}

.footer-wrapper .footer-bottom {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 100% !important;
    padding: var(--spacing-2xl, 32px) 0;
    border-top: 1px solid color-mix(in srgb, var(--color-surface) 10%, transparent);
    background: transparent !important;
}

.footer-wrapper .footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl, 24px);
    width: 100% !important;
    max-width: 100% !important;
}

.footer-wrapper .footer-legal-links {
    display: flex;
    gap: var(--spacing-xl, 24px);
}

.footer-wrapper .footer-nav-link {
    display: inline-block;
}

.footer-wrapper .footer-nav-link:hover {
    transform: translateX(5px);
}

.footer-wrapper .section-content,
.footer-wrapper .footer-contact-item .section-content {
    color: color-mix(in srgb, var(--color-surface) 70%, transparent);
    letter-spacing: 0.01em;
}

.footer-wrapper .footer-container {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: var(--content-max-width, 76rem) !important;
    margin: 0 auto !important;
    padding: 0 var(--spacing-xl) !important;
    box-sizing: border-box !important;
}

.footer-wrapper .footer-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none;
}

/* ---- Button Enhancements ---- */
.newui .btn-accent {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm, 8px);
    padding: var(--spacing-md, 12px) var(--spacing-2xl, 32px);
    background: var(--color-accent, #f9a825);
    color: #1a1a2e;
    border: none;
    border-radius: var(--border-radius-pill, 999px);
    font-weight: 600;
    font-size: var(--font-size-base, 16px);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.newui .btn-accent:hover {
    background: #f57f17;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 168, 37, 0.35);
    color: #1a1a2e;
    text-decoration: none;
}

/* ---- Hero override for full width ---- */
.hero-showcase {
    margin-top: 0 !important;
}

/* ---- Homepage layout hard overrides ---- */
.home-container10,
.home-container11 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-container10 {
    width: 100%;
    display: block;
    min-height: 100vh;
}

.main.home.newui section,
.main.home.newui .home-container13 {
    width: 100% !important;
    margin: 0 !important;
}

.main.home.newui .hero-showcase,
.main.home.newui .features-snapshot,
.main.home.newui .case-study-preview,
.main.home.newui .client-quotes,
.main.home.newui .get-static-design,
.main.home.newui .product-showcase-section {
    position: relative !important;
}

.main.home.newui .hero-showcase {
    min-height: 80vh !important;
    align-items: center !important;
}

.main.home.newui .hero-showcase__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

.main.home.newui .hero-showcase__video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.main.home.newui .hero-showcase__overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background: linear-gradient(90deg, rgba(7, 18, 33, 0.82) 0%, rgba(7, 18, 33, 0.38) 42%, rgba(7, 18, 33, 0.08) 100%),
    rgba(255, 255, 255, 0.25) !important;
}

.main.home.newui .hero-showcase__container,
.main.home.newui .product-showcase-container,
.main.home.newui .features-snapshot__container,
.main.home.newui .case-study-preview__container,
.main.home.newui .get-static-design__container {
    width: 100% !important;
    max-width: var(--content-max-width, 1440px) !important;
    margin: 0 auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
}

.main.home.newui .product-showcase-container {
    background-image: url('../../images/product_bg.avif');
    padding: 24px 32px !important;
    border-radius: 2%;
    margin-left: auto !important;
    margin-right: auto !important;
    background-position: center;
    background-repeat: no-repeat; /* 防止背景平铺重复（可选，但推荐） */
}

.main.home.newui .hero-showcase__container {
    margin: 0 !important;
}

.main.home.newui .hero-showcase__content {
    position: relative !important;
    z-index: 4 !important;
    max-width: 576px !important;
    margin-left: clamp(88px, 10vw, 160px) !important;
}

.main.home.newui .hero-title {
    font-size: clamp(46px, 36px + 1.2vw, 64px) !important;
    line-height: 1.14 !important;
    letter-spacing: 0 !important;
    font-weight: var(--font-weight-heading, 600) !important;
    margin-bottom: 16px !important;
}

.main.home.newui .hero-subtitle {
    max-width: 600px !important;
    font-size: var(--font-size-lg, 18px) !important;
    letter-spacing: 0.01em !important;
    line-height: 1.6 !important;
    margin-bottom: 36px !important;
}

.main.home.newui .hero-showcase__actions {
    gap: 16px !important;
}

.main.home.newui .home-thq-image-elm--mobile {
    display: none !important;
}

.main.home.newui .home-thq-image-elm--desktop {
    position: absolute !important;
    right: clamp(24px, 3vw, 56px) !important;
    top: 50% !important;
    bottom: auto !important;
    left: auto !important;
    width: min(56vw, 840px) !important;
    max-width: 60% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: translateY(-50%) scale(1.5) !important;
    transform-origin: center center !important;
    z-index: 4 !important;
    pointer-events: none !important;
}

.main.home.newui .product-showcase-section,
.main.home.newui .features-snapshot,
.main.home.newui .case-study-preview,
.main.home.newui .client-quotes,
.main.home.newui .get-static-design {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.main.home.newui .product-showcase-grid,
.main.home.newui .features-snapshot__grid {
    gap: 24px !important;
}

.main.home.newui .product-showcase-content,
.main.home.newui .features-snapshot__card,
.main.home.newui .client-quotes__card {
    padding: 24px !important;
}

.main.home.newui .product-showcase-card {
    border: 1px solid var(--color-border, #bfc8d4) !important;
    box-shadow: none !important;
}

.main.home.newui .features-snapshot__card {
    border: 1px solid var(--color-border, #bfc8d4) !important;
}

.main.home.newui .features-snapshot__icon {
    margin-bottom: var(--spacing-lg) !important;
}

.main.home.newui .features-snapshot__card .section-content {
    margin-bottom: var(--spacing-sm) !important;
}

.main.home.newui .features-snapshot__card .section-content:last-child {
    margin-bottom: 0 !important;
}

.main.home.newui .features-snapshot__header {
    margin-bottom: var(--spacing-4xl) !important;
}

.main.home.newui .home-container13 {
    padding: 0 !important;
}

.main.home.newui .home-thq-slider-elm {
    width: 100% !important;
    min-height: 0 !important;
}

.main.home.newui .home-thq-slider-elm,
.main.home.newui .home-thq-slider-elm .swiper-wrapper,
.main.home.newui .home-thq-slider-elm .swiper-slide {
    height: 540px !important;
}

.main.home.newui .home-thq-slider-elm .swiper-slide {
    background-size: cover !important;
    background-position: center center !important;
}

.main.home.newui .client-quotes__rail {
    max-width: var(--content-max-width, 1216px) !important;
    margin: 0 auto !important;
    padding: 24px !important;
}

.main.home.newui .case-study-preview__split {
    gap: 48px !important;
}

.main.home.newui .get-static-design__card {
    padding: 56px 40px !important;
}

.main.home.newui .get-static-design__card .section-title,
.main.home.newui .get-static-design__card .section-subtitle {
    text-align: center !important;
}

.main.home.newui .get-static-design__card .section-subtitle {
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 767px) {
    .navigation-wrapper .navigation-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        position: relative !important;
    }

    .navigation-wrapper .navigation-desktop-menu {
        display: none !important;
    }

    .navigation-wrapper .navigation-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        padding: 0 !important;
        border-radius: 12px;
        order: 0;
    }

    .navigation-wrapper .navigation-container {
        padding: 10px 16px !important;
    }

    .navigation-wrapper .navigation-container > a:first-of-type {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 2;
    }

    .navigation-wrapper .navigation-logo-link {
        flex: 0 0 auto;
        justify-content: center !important;
        position: relative;
        z-index: 2;
        order: 1;
    }

    .navigation-wrapper .navigation-image {
        width: 220px !important;
        max-width: 56vw !important;
        max-height: 64px !important;
    }

    .navigation-wrapper .navigation-thq-navigation-actions-elm {
        gap: 12px !important;
    }

    .navigation-wrapper .navigation-mobile-actions {
        flex: 0 0 auto;
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        order: 2;
        margin-left: auto;
        position: relative;
        z-index: 3;
        padding: 0;
        min-height: 44px;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .navigation-wrapper .navigation-mobile-actions .icon-link {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        color: #1a1a2e !important;
        background: transparent !important;
        border-radius: 12px;
    }

    .navigation-wrapper .navigation-mobile-cart-link {
        position: relative;
    }

    .navigation-wrapper .navigation-mobile-cart-count {
        position: absolute;
        top: -2px;
        right: -2px;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ff5a36;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
    }

    .navigation-wrapper .navigation-mobile-overlay {
        left: 0 !important;
        right: auto !important;
        transform: translateX(-100%) !important;
        box-shadow: 8px 0 24px rgba(0, 0, 0, 0.12) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease !important;
    }

    .navigation-mobile-overlay.is-open {
        left: 0 !important;
        right: auto !important;
        transform: translateX(0) !important;
    }

    .navigation-wrapper .navigation-mobile-overlay {
        width: 296px !important;
        max-width: 85vw !important;
    }

    .navigation-wrapper .navigation-overlay-content {
        padding: 4px 22px 28px !important;
    }

    .navigation-wrapper .navigation-close {
        position: static !important;
        flex: 0 0 34px !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        margin-left: auto !important;
    }

    .navigation-wrapper--hero .navigation-container {
        padding: 14px 16px !important;
    }

    .main.home.newui .hero-showcase {
        min-height: auto !important;
        padding: 56px 0 24px !important;
    }

    .main.home.newui .hero-showcase__container,
    .main.home.newui .product-showcase-container,
    .main.home.newui .features-snapshot__container,
    .main.home.newui .case-study-preview__container,
    .main.home.newui .get-static-design__container,
    .main.home.newui .client-quotes__rail {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .main.home.newui .hero-showcase__content {
        max-width: 100% !important;
        text-align: center !important;
        margin-left: 0 !important;
    }

    .main.home.newui .hero-title {
        max-width: 12ch !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(30px, 24px + 5vw, 40px) !important;
        line-height: 1.12 !important;
        margin-bottom: 14px !important;
    }

    .main.home.newui .hero-subtitle {
        max-width: 32rem !important;
        font-size: 15px !important;
        line-height: 1.75 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 24px !important;
    }

    .main.home.newui .hero-showcase__actions {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .main.home.newui .hero-showcase__actions > a,
    .main.home.newui .hero-showcase__actions .btn {
        width: 100% !important;
    }

    .main.home.newui .hero-showcase__actions .btn {
        justify-content: center !important;
    }

    .main.home.newui .home-thq-image-elm--desktop {
        display: none !important;
    }

    .main.home.newui .home-thq-image-elm--mobile {
        display: block !important;
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        top: -32px !important;
        left: auto !important;
        width: min(98vw, 720px) !important;
        max-width: 100vw !important;
        max-height: 520px !important;
        margin: 0 auto 20px !important;
        height: auto !important;
        object-fit: contain !important;
        transform: scale(1.3) !important;
        transform-origin: top center !important;
        z-index: 4 !important;
        pointer-events: none !important;
    }

    .main.home.newui .product-showcase-section,
    .main.home.newui .features-snapshot,
    .main.home.newui .case-study-preview,
    .main.home.newui .client-quotes,
    .main.home.newui .get-static-design {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .main.home.newui .home-thq-slider-elm,
    .main.home.newui .home-thq-slider-elm .swiper-wrapper,
    .main.home.newui .home-thq-slider-elm .swiper-slide {
        height: 240px !important;
    }

    .main.home.newui .get-static-design__card {
        padding: 32px 20px !important;
        border-radius: 20px !important;
    }

    .main.home.newui .product-showcase-grid,
    .main.home.newui .features-snapshot__grid {
        gap: 16px !important;
    }

    .main.home.newui .product-showcase-content,
    .main.home.newui .features-snapshot__card,
    .main.home.newui .client-quotes__card {
        padding: 18px !important;
    }

    .main.home.newui .product-showcase-image-wrapper {
        padding: 14px !important;
        aspect-ratio: 4 / 3 !important;
    }

    .main.home.newui .product-showcase-name {
        font-size: 20px !important;
    }

    .main.home.newui .product-showcase-description,
    .main.home.newui .features-snapshot__card .section-content,
    .main.home.newui .case-study-preview__info .section-content,
    .main.home.newui .client-quotes__card .section-content,
    .main.home.newui .get-static-design__card .section-subtitle {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .main.home.newui .features-snapshot__header {
        margin-bottom: 32px !important;
    }

    .main.home.newui .features-snapshot__grid {
        grid-template-columns: 1fr !important;
    }

    .main.home.newui .features-snapshot__icon {
        width: 44px !important;
        height: 44px !important;
    }

    .main.home.newui .case-study-preview__split {
        gap: 24px !important;
    }

    .main.home.newui .case-study-preview__list {
        margin: 20px 0 !important;
    }

    .main.home.newui .client-quotes__rail {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        gap: 14px !important;
    }

    .main.home.newui .client-quotes__card {
        flex: 0 0 85vw !important;
        scroll-snap-align: start !important;
    }

    .main.home.newui .get-static-design__actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    .main.home.newui .get-static-design__actions > a,
    .main.home.newui .get-static-design__actions .btn {
        width: 100% !important;
    }

    .main.home.newui .get-static-design__actions .btn {
        justify-content: center !important;
    }

    .footer-wrapper .footer-bottom-content {
        text-align: center;
        flex-direction: column;
    }

    .footer-wrapper .footer-column {
        min-width: 100%;
    }

    .footer-wrapper .footer-container {
        padding: 0 16px !important;
    }

    .footer-wrapper .footer-grid {
        gap: 28px !important;
        padding-bottom: 40px !important;
    }

    .footer-wrapper .footer-image {
        width: 160px !important;
    }

    .footer-wrapper .footer-title {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }

    .footer-wrapper .footer-description,
    .footer-wrapper .footer-nav-link,
    .footer-wrapper .footer-contact-item .section-content,
    .footer-wrapper .footer-copyright,
    .footer-wrapper .footer-legal-link {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .footer-wrapper .footer-contact-list {
        gap: 14px !important;
    }

    .footer-wrapper .footer-social-group {
        margin-top: 0 !important;
    }

    .footer-wrapper .footer-legal-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 479px) {
    .main.home.newui .hero-showcase {
        padding: 48px 0 32px !important;
    }

    .main.home.newui .hero-title {
        font-size: 28px !important;
    }

    .main.home.newui .hero-subtitle {
        font-size: 14px !important;
    }

    .main.home.newui .product-showcase-content,
    .main.home.newui .features-snapshot__card,
    .main.home.newui .client-quotes__card,
    .main.home.newui .get-static-design__card {
        padding: 16px !important;
    }

    .main.home.newui .client-quotes__card {
        flex-basis: 88vw !important;
    }

    .footer-wrapper .footer-container {
        padding: 0 14px !important;
    }
}

/* ---- Ensure new UI buttons don't inherit Riode .btn overrides ---- */
.hero-showcase .btn,
.product-showcase-section .btn,
.features-snapshot .btn,
.case-study-preview .btn,
.client-quotes .btn,
.get-static-design .btn,
.navigation-wrapper .btn {
    border-radius: var(--border-radius-pill, 999px);
    font-family: var(--font-family-body, 'Inter', sans-serif);
    letter-spacing: 0.01em;
    line-height: 1.5;
}

/* ---- Fix page-wrapper for non-home pages: keep old layout ---- */
.page-wrapper {
    position: relative;
}

.product-showcase-section #new-product-showcase-container .title-container {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    margin-bottom: 20px
}

.product-showcase-section #new-product-showcase-container .live-title bdi {
    font-size: 24px;
    color: #333;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 8px
}

#new-product-showcase-container .live-title {
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 48px;
    font-size: 20px;
}

#new-product-showcase-container .live-title strong {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background-color: #458500;
    border-radius: 4px;
    width: 42px;
    height: 24px;
    bottom: 0;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-left: 8px;
    margin-bottom: 0;
}
