/*
Theme Name: Next 3D Official Theme
Theme URI: https://next3d.com.vn/
Author: Next 3D Tech Team
Author URI: https://next3d.com.vn/
Description: Giao diện chuyên nghiệp cho thương hiệu Next 3D - Phân phối máy in 3D, máy scan 3D và vật liệu in chính hãng. Thiết kế theo chuẩn nhận diện Đề xuất màu sắc 02 (#0a4640, #052824, #def1fb, #dbe134).
Version: 1.3.9
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: next3d
*/

:root {
  /* Next 3D Core Brand Tokens */
  --n3d-primary: #0A4640;
  /* Dark Aquamarine Green (60% Master Color) */
  --n3d-primary-hover: #083732;
  --n3d-primary-light: #125e56;

  --n3d-deep: #052824;
  /* Deep Aquamarine (30% Depth / Dark Layers) */
  --n3d-deep-dark: #031c19;

  --n3d-neon: #DEF1FB;
  /* Neon Light - Ice Blue (30% Soft Tech Base) */
  --n3d-neon-border: #BCE2F7;
  --n3d-neon-dark: #1e70a0;

  --n3d-pear: #DBE134;
  /* Pear - Electric Lime (10% High-Contrast CTA) */
  --n3d-pear-hover: #C5CB26;
  --n3d-pear-text: #072B27;
  /* High contrast text on Pear: 10.8:1 ratio */

  /* Neutrals & Surfaces */
  --n3d-white: #FFFFFF;
  --n3d-bg: #F8FAFB;
  --n3d-card-bg: #FFFFFF;
  --n3d-surface-alt: #F1F5F7;
  --n3d-text-heading: #092C28;
  --n3d-text-body: #2D3748;
  --n3d-text-muted: #64748B;
  --n3d-border: #E2E8F0;
  --n3d-border-subtle: #EDF2F7;

  /* Red / Sale */
  --n3d-sale: #E53E3E;
  --n3d-success: #10B981;
  --n3d-star: #F59E0B;

  /* Layout & Spacing */
  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 70, 64, 0.08);
  --shadow-lg: 0 10px 25px rgba(10, 70, 64, 0.12);
  --shadow-pear: 0 4px 16px rgba(219, 225, 52, 0.45);

  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Resets */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  max-width: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--n3d-bg);
  color: var(--n3d-text-body);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.n3d-topbar {
  background-color: var(--n3d-deep);
  color: #A3C9C4;
  font-size: 13px;
  border-bottom: 1px solid rgba(222, 241, 251, 0.1);
  padding: 6px 0;
}

.n3d-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.n3d-topbar-left {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.n3d-topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  flex-shrink: 0;
}

.n3d-topbar a {
  color: #CBE6E2;
}

.n3d-topbar a:hover {
  color: var(--n3d-pear);
}

.n3d-topbar a.n3d-topbar-badge,
.n3d-topbar-badge {
  background-color: rgba(219, 225, 52, 0.15);
  color: var(--n3d-pear) !important;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 11px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.n3d-topbar a.n3d-topbar-badge:hover {
  background-color: rgba(219, 225, 52, 0.28);
  color: #FFFFFF !important;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.n3d-header {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(5, 40, 36, 0.2);
}

/* Unified Global Containers - 100% Consistent Across Frontpage, Archives, Products, Articles & Pages */
.container,
.n3d-topbar .container,
.n3d-header .container,
.n3d-header-main .container,
.n3d-nav-bar .container,
.n3d-breadcrumb-wrap .container,
.n3d-footer .container,
body .container,
body .n3d-topbar .container,
body .n3d-header-main .container,
body .n3d-nav-bar .container,
body .n3d-breadcrumb-wrap .container,
body .n3d-footer .container,
.n3d-wc-archive-container,
body.woocommerce-shop .n3d-wc-archive-container,
body.tax-product_cat .n3d-wc-archive-container,
body.tax-product_tag .n3d-wc-archive-container,
body.post-type-archive-product .n3d-wc-archive-container,
body.single-product .n3d-wc-container,
.n3d-single-product-container {
  width: 100% !important;
  max-width: var(--container-max) !important;
  /* 1240px matching Frontpage */
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

.n3d-header-main {
  padding: 16px 0;
  position: relative;
  z-index: 1500;
}

.n3d-header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo */
.n3d-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  max-width: 230px;
  height: 44px;
  transition: var(--transition);
}

.n3d-logo-img,
.n3d-logo img,
.woocommerce .n3d-logo img,
.woocommerce-page .n3d-logo img,
.woocommerce .n3d-logo .n3d-logo-img,
.woocommerce-page .n3d-logo .n3d-logo-img {
  height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
  transition: var(--transition);
}

.n3d-logo:hover .n3d-logo-img,
.n3d-logo:hover img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 14px rgba(219, 225, 52, 0.4));
}

.n3d-footer-logo-wrap img,
.woocommerce .n3d-footer-logo-wrap img,
.woocommerce-page .n3d-footer-logo-wrap img {
  height: 36px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  display: block !important;
}

.n3d-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--n3d-pear) 0%, #A6AD12 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n3d-deep);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -1px;
  box-shadow: 0 3px 10px rgba(219, 225, 52, 0.3);
}

.n3d-logo-text {
  display: flex;
  flex-direction: column;
}

.n3d-logo-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #FFFFFF;
  line-height: 1.1;
}

.n3d-logo-title span {
  color: var(--n3d-pear);
}

.n3d-logo-sub {
  font-size: 11px;
  color: var(--n3d-neon);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Search & Mobile Menu Wrapper - Unified across ALL pages */
.n3d-header-search-wrap {
  flex: 1 1 auto;
  max-width: 580px;
  min-width: 0;
  margin: 0 12px;
  display: flex;
  align-items: center;
}

.n3d-header-search-wrap .n3d-mobile-menu-btn {
  display: none !important;
}

.n3d-search-bar,
.n3d-header-search-wrap .n3d-search-bar,
body.home .n3d-search-bar,
body.tax-product_cat .n3d-search-bar,
body.single-product .n3d-search-bar,
body.single .n3d-search-bar,
body.page .n3d-search-bar {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.n3d-search-form {
  display: flex;
  align-items: stretch;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  transition: var(--transition);
  height: 44px;
  width: 100%;
}

.n3d-search-form:focus-within {
  border-color: var(--n3d-pear);
}

.n3d-search-select,
.woocommerce .n3d-search-select,
.woocommerce-page .n3d-search-select {
  flex: 0 0 auto !important;
  max-width: 180px !important;
  width: auto !important;
  background-color: #F8FAFB !important;
  border: none !important;
  border-right: 1px solid #E2E8F0 !important;
  padding: 0 14px !important;
  font-size: 13px !important;
  color: var(--n3d-text-heading) !important;
  font-weight: 600 !important;
  outline: none !important;
  cursor: pointer !important;
  height: 100% !important;
  box-shadow: none !important;
}

.n3d-search-input,
.woocommerce .n3d-search-input,
.woocommerce-page .n3d-search-input {
  flex: 1 1 auto !important;
  min-width: 120px !important;
  width: auto !important;
  border: none !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  outline: none !important;
  color: var(--n3d-text-heading) !important;
  background: transparent !important;
  height: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.n3d-search-input::placeholder {
  color: #94A3B8;
}

.n3d-search-btn,
.woocommerce .n3d-header .n3d-search-btn,
.woocommerce-page .n3d-header .n3d-search-btn,
.woocommerce .n3d-search-btn,
.woocommerce-page .n3d-search-btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  background: var(--n3d-pear) !important;
  background-color: var(--n3d-pear) !important;
  border: none !important;
  padding: 0 22px !important;
  color: var(--n3d-pear-text) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: var(--transition) !important;
  height: 100% !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  float: none !important;
  margin: 0 !important;
  opacity: 1 !important;
}

.n3d-search-btn:hover,
.woocommerce .n3d-search-btn:hover,
.woocommerce-page .n3d-search-btn:hover {
  background-color: var(--n3d-pear-hover) !important;
  color: var(--n3d-pear-text) !important;
}

/* Header Actions */
.n3d-header-actions,
.woocommerce .n3d-header-actions,
.woocommerce-page .n3d-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-shrink: 0 !important;
}

.n3d-action-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  background: rgba(222, 241, 251, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(222, 241, 251, 0.15);
  height: 44px;
  box-sizing: border-box;
  text-decoration: none;
}

.n3d-hotline-icon {
  width: 36px;
  height: 36px;
  background: var(--n3d-pear);
  color: var(--n3d-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(219, 225, 52, 0.6);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 8px rgba(219, 225, 52, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(219, 225, 52, 0);
  }
}

.n3d-hotline-info {
  display: flex;
  flex-direction: column;
}

.n3d-hotline-label {
  font-size: 11px;
  color: var(--n3d-neon);
  text-transform: uppercase;
  font-weight: 600;
}

.n3d-hotline-number {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
}

/* Cart Button */
.n3d-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(222, 241, 251, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(222, 241, 251, 0.2);
  color: #FFFFFF;
  position: relative;
  transition: var(--transition);
}

.n3d-cart-btn:hover {
  background: rgba(222, 241, 251, 0.2);
  border-color: var(--n3d-pear);
}

.n3d-cart-icon-wrap {
  position: relative;
  font-size: 20px;
}

.n3d-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   NAVIGATION & MEGA MENU (meme3d.com style with Next 3D brand)
   ========================================================================== */
.n3d-nav-bar {
  background-color: var(--n3d-deep);
  border-top: 1px solid rgba(222, 241, 251, 0.08);
  position: relative;
  z-index: 1200;
}

.n3d-nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.n3d-mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(222, 241, 251, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  transition: var(--transition);
}

.n3d-mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--n3d-pear);
}

.n3d-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.n3d-main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 6px;
}

/* Top-level Menu Item */
.n3d-main-menu>li,
.n3d-main-menu>.menu-item {
  position: relative;
  list-style: none;
  margin: 0;
}

.n3d-main-menu>li>a,
.n3d-main-menu>.menu-item>a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 20px;
  color: #E2EFF2;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: var(--transition);
  white-space: nowrap;
}

.n3d-main-menu>li>a:hover,
.n3d-main-menu>li:hover>a,
.n3d-main-menu>li.current-menu-item>a,
.n3d-main-menu>li.current_page_item>a,
.n3d-main-menu>li.current-menu-ancestor>a,
.n3d-main-menu>li.current-menu-parent>a,
.n3d-main-menu>li.active>a {
  color: var(--n3d-pear) !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.n3d-caret {
  font-size: 10px;
  margin-left: 2px;
  opacity: 0.8;
  transition: transform 0.25s ease;
}

/* ==========================================================================
   DESKTOP ONLY DROPDOWN & MEGA MENU (Screens > 992px)
   ========================================================================== */
@media (min-width: 993px) {

  .n3d-main-menu>li:hover>a .n3d-caret,
  .n3d-main-menu>li.is-hovered>a .n3d-caret {
    transform: rotate(180deg);
  }

  /* Standard Dropdown (Dịch vụ, Tin tức, etc.) */
  .n3d-main-menu .n3d-has-dropdown>.sub-menu,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: #FFFFFF;
    box-shadow: 0 12px 32px rgba(5, 40, 36, 0.2);
    border-top: 3px solid var(--n3d-pear);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu::before,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
  }

  .n3d-main-menu .n3d-has-dropdown:hover>.sub-menu,
  .n3d-main-menu .n3d-has-dropdown.is-hovered>.sub-menu,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu):hover>.sub-menu,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu).is-hovered>.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li>a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: #2D3748;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid #EDF2F7;
    transition: all 0.2s ease;
    white-space: normal;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li:last-child>a,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li:last-child>a {
    border-bottom: none;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a:hover,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li>a:hover {
    background-color: #F0F7F6;
    color: var(--n3d-primary);
    padding-left: 22px;
    font-weight: 600;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a:hover .n3d-sub-icon-box,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li>a:hover .n3d-sub-icon-box {
    background-color: var(--n3d-primary, #0A4640);
    color: var(--n3d-pear, #DBE134);
    transform: scale(1.08);
  }

  /* ==========================================================================
     MEGA MENU (Sản Phẩm - Spacious 5 Columns Grid with Product Icons)
     ========================================================================== */
  .n3d-main-menu>.n3d-mega-menu {
    position: static;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 1220px;
    max-width: calc(100vw - 28px);
    background-color: #FFFFFF;
    box-shadow: 0 20px 48px rgba(5, 40, 36, 0.16), 0 6px 18px rgba(0, 0, 0, 0.05);
    border-top: 3.5px solid var(--n3d-teal, #07af8e);
    border-radius: 0 0 14px 14px;
    padding: 24px 28px 26px;
    z-index: 1500;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
  }

  .n3d-main-menu>.n3d-mega-menu:hover>.sub-menu,
  .n3d-main-menu>.n3d-mega-menu.is-hovered>.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  /* Mega Menu Columns */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  /* Column Header */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>a,
  .n3d-main-menu>.n3d-mega-menu .n3d-mega-col-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #064039;
    text-transform: uppercase;
    padding: 0 0 10px 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #E6ECEB;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.35;
    min-width: 0;
  }

  .n3d-col-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(7, 175, 142, 0.1);
    color: #07af8e;
    font-size: 12px;
    flex-shrink: 0;
    transition: all 0.22s ease;
  }

  .n3d-col-title-text {
    flex: 1;
    min-width: 0;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>a:hover,
  .n3d-main-menu>.n3d-mega-menu .n3d-mega-col-title:hover {
    color: #07af8e;
    border-bottom-color: #07af8e;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>a:hover .n3d-col-icon-box,
  .n3d-main-menu>.n3d-mega-menu .n3d-mega-col-title:hover .n3d-col-icon-box {
    background-color: #07af8e;
    color: #FFFFFF;
    transform: scale(1.08);
  }

  /* Column Submenu Links */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu,
  .n3d-sub-column-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    width: 100%;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li {
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    padding: 6px 8px;
    margin: 0 -4px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    line-height: 1.35;
    border-bottom: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    min-width: 0;
  }

  /* Remove legacy arrow '›' */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a::before {
    display: none !important;
    content: none !important;
  }

  /* Sub-link icon badge */
  .n3d-sub-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #F1F6F5;
    color: #0A4640;
    font-size: 11px;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .n3d-sub-title-text {
    flex: 1;
    min-width: 0;
  }

  /* Hover state */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a:hover {
    background-color: #F0F8F6;
    color: #07af8e;
    font-weight: 600;
    transform: translateX(3px);
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a:hover .n3d-sub-icon-box {
    background-color: #0A4640;
    color: var(--n3d-pear, #DBE134);
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(10, 70, 64, 0.25);
  }
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn-n3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-n3d-primary {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
}

.btn-n3d-primary:hover {
  background-color: var(--n3d-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-n3d-pear {
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
}

.btn-n3d-pear:hover {
  background-color: var(--n3d-pear-hover);
  box-shadow: var(--shadow-pear);
  transform: translateY(-2px);
}

.btn-n3d-outline {
  background-color: transparent;
  border-color: var(--n3d-primary);
  color: var(--n3d-primary);
}

.btn-n3d-outline:hover {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
}

.btn-n3d-consult {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(222, 241, 251, 0.3);
}

.btn-n3d-consult:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  border-color: rgba(222, 241, 251, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.n3d-hero {
  background: linear-gradient(135deg, var(--n3d-deep) 0%, var(--n3d-primary) 65%, #0e5b53 100%);
  color: #FFFFFF;
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

.n3d-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(219, 225, 52, 0.15) 0%, rgba(10, 70, 64, 0) 70%);
  pointer-events: none;
}

.n3d-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.n3d-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(222, 241, 251, 0.15);
  color: var(--n3d-neon);
  border: 1px solid rgba(222, 241, 251, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.n3d-hero-tag .n3d-htag-main,
.n3d-hero-tag span {
  color: var(--n3d-pear);
}

.n3d-hero-tag .n3d-htag-sep {
  color: rgba(222, 241, 251, 0.5);
}

.n3d-hero-tag .n3d-htag-sub {
  color: var(--n3d-neon);
}

.n3d-hero-title {
  font-size: 35px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.n3d-hero-title span {
  color: var(--n3d-pear);
}

.n3d-hero-desc {
  font-size: 16px;
  color: #C3DFDA;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 520px;
}

.n3d-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.n3d-hero-features {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.n3d-hero-feat-item {
  display: flex;
  flex-direction: column;
}

.n3d-hero-feat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--n3d-pear);
}

.n3d-hero-feat-lbl {
  font-size: 12px;
  color: #A3C9C4;
}

/* ==========================================================================
   HERO SLIDER COMPONENT
   ========================================================================== */
.n3d-hero-slider-wrap {
  position: relative;
  width: 100%;
}

/* Tabs - 4 equal columns, strictly single row */
.n3d-hero-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
  width: 100%;
}

.n3d-hero-tabs::-webkit-scrollbar {
  display: none;
}

.n3d-hero-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(222, 241, 251, 0.2);
  border-radius: 999px;
  color: #A3C9C4;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  min-width: 0;
  width: 100%;
  text-align: center;
}

.n3d-hero-tab-btn span:not(.n3d-ht-dot) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n3d-ht-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A3C9C4;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.n3d-hero-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(222, 241, 251, 0.4);
}

.n3d-hero-tab-btn.active {
  background: var(--n3d-pear);
  color: var(--n3d-pear-text);
  border-color: var(--n3d-pear);
  box-shadow: 0 4px 14px rgba(219, 225, 52, 0.4);
  font-weight: 800;
}

.n3d-hero-tab-btn.active .n3d-ht-dot {
  background: var(--n3d-pear-text);
  transform: scale(1.2);
}

/* Slides */
.n3d-hero-slides {
  position: relative;
  width: 100%;
}

.n3d-hero-slide {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.n3d-hero-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Card */
.n3d-hero-card {
  position: relative;
  background: rgba(3, 26, 23, 0.75);
  border: 1px solid rgba(222, 241, 251, 0.22);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  text-align: left;
  overflow: hidden;
}

.n3d-hero-badge-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 4;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.n3d-hero-badge-float i {
  font-size: 11px;
}

.n3d-hero-img-box {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.n3d-hero-img-box img {
  max-height: 216px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.n3d-hero-card:hover .n3d-hero-img-box img {
  transform: scale(1.06);
}

/* Info inside card */
.n3d-hero-slide-info {
  display: flex;
  flex-direction: column;
}

.n3d-hero-slide-title-wrap {
  margin-bottom: 6px;
}

.n3d-hero-slide-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 3px;
}

.n3d-hero-slide-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.n3d-hero-slide-title a:hover {
  color: var(--n3d-pear);
}

.n3d-hero-slide-sub {
  font-size: 12px;
  color: var(--n3d-pear);
  font-weight: 700;
}

/* Specs */
.n3d-hero-slide-specs {
  list-style: none;
  padding: 0;
  margin: 6px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.n3d-hero-slide-specs li {
  font-size: 12px;
  color: #C3DFDA;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.n3d-hero-slide-specs li i {
  color: var(--n3d-pear);
  font-size: 11px;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

/* Bottom Action Row */
.n3d-hero-slide-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(222, 241, 251, 0.14);
  gap: 12px;
}

.n3d-hero-slide-price {
  display: flex;
  flex-direction: column;
}

.n3d-hsp-label {
  font-size: 10.5px;
  color: #A3C9C4;
}

.n3d-hsp-val {
  font-size: 17px;
  font-weight: 800;
  color: var(--n3d-pear);
}

.n3d-hero-view-btn {
  padding: 7px 16px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Nav Controls */
.n3d-hero-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.n3d-hero-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(222, 241, 251, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.n3d-hero-arrow:hover {
  background: var(--n3d-pear);
  color: var(--n3d-deep);
  border-color: var(--n3d-pear);
  transform: scale(1.1);
}

.n3d-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.n3d-hero-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--n3d-pear);
  box-shadow: 0 2px 8px rgba(219, 225, 52, 0.5);
}

/* Responsive optical adjustments */
@media (max-width: 992px) {
  .n3d-hero-img-box {
    height: 220px;
  }

  .n3d-hero-img-box img {
    max-height: 196px;
  }
}

/* ==========================================================================
   USPS / COMMITMENT SECTION (NEON LIGHT #DEF1FB)
   ========================================================================== */
.n3d-usps-section {
  background-color: var(--n3d-neon);
  border-top: 1px solid var(--n3d-neon-border);
  border-bottom: 1px solid var(--n3d-neon-border);
  padding: 24px 0;
}

.n3d-usps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.n3d-usp-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(10, 70, 64, 0.05);
  border: 1px solid rgba(190, 226, 247, 0.6);
  transition: var(--transition);
}

.n3d-usp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(10, 70, 64, 0.1);
  border-color: var(--n3d-primary);
}

.n3d-usp-icon {
  width: 44px;
  height: 44px;
  background-color: var(--n3d-primary);
  color: var(--n3d-pear);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.n3d-usp-text h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--n3d-primary);
  margin-bottom: 2px;
}

.n3d-usp-text p {
  font-size: 12px;
  color: var(--n3d-text-muted);
}

/* ==========================================================================
   BRAND PARTNERS (ĐỐI TÁC PHÂN PHỐI CHÍNH THỨC)
   ========================================================================== */
.n3d-brands-section {
  padding: 44px 0 48px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  position: relative;
}

.n3d-brands-header {
  text-align: center;
  margin-bottom: 28px;
}

.n3d-brands-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: #ECFDF5;
  color: #00A884;
  border: 1px solid rgba(0, 168, 132, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.n3d-brands-badge i {
  font-size: 13px;
  color: #00A884;
}

.n3d-brands-title {
  font-size: 20px;
  font-weight: 800;
  color: #002B24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  line-height: 1.3;
}

.n3d-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.n3d-brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 16px 24px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  text-decoration: none;
  position: relative;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.n3d-brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00A884, #3B82F6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.n3d-brand-card:hover {
  transform: translateY(-4px);
  border-color: #00A884;
  box-shadow: 0 12px 24px -4px rgba(0, 168, 132, 0.14), 0 4px 10px -2px rgba(0, 0, 0, 0.04);
}

.n3d-brand-card:hover::before {
  opacity: 1;
}

.n3d-brand-logo {
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.n3d-brand-card:hover .n3d-brand-logo {
  transform: scale(1.06);
}

/* Sizing tailored for optical balance */
.n3d-logo-formlabs {
  width: auto;
  max-width: 185px;
  height: 28px;
}

.n3d-logo-dowell3d {
  width: auto;
  max-width: 145px;
  height: 35px;
}

.n3d-logo-scantech {
  width: auto;
  max-width: 160px;
  height: 36px;
}

.n3d-logo-zrapid {
  width: auto;
  max-width: 135px;
  height: 44px;
}

.n3d-logo-qidi {
  width: auto;
  max-width: 140px;
  height: 35px;
}

.n3d-logo-sovol {
  width: auto;
  max-width: 155px;
  height: 30px;
}

.n3d-logo-uniformation {
  width: auto;
  max-width: 180px;
  height: 23px;
}

.n3d-logo-iemai {
  width: auto;
  max-width: 150px;
  height: 32px;
}

/* Responsive */
@media (max-width: 991px) {
  .n3d-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .n3d-brand-card {
    min-height: 84px;
    padding: 14px 20px;
  }

  .n3d-brands-title {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .n3d-brands-section {
    padding: 32px 0 36px;
  }

  .n3d-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .n3d-brand-card {
    min-height: 74px;
    padding: 10px 14px;
  }

  .n3d-logo-formlabs {
    max-width: 135px;
    height: 22px;
  }

  .n3d-logo-dowell3d {
    max-width: 110px;
    height: 26px;
  }

  .n3d-logo-scantech {
    max-width: 120px;
    height: 28px;
  }

  .n3d-logo-zrapid {
    max-width: 105px;
    height: 36px;
  }
}

/* ==========================================================================
   CLIENTS SECTION (KHÁCH HÀNG TIÊU BIỂU)
   ========================================================================== */
.n3d-clients-section {
  padding: 52px 0 56px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}

.n3d-clients-header {
  text-align: center;
  margin-bottom: 36px;
}

.n3d-clients-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: #ECFDF5;
  color: #00A884;
  border: 1px solid rgba(0, 168, 132, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.n3d-clients-badge i {
  font-size: 13px;
  color: #00A884;
}

.n3d-clients-title {
  font-size: 24px;
  font-weight: 800;
  color: #002B24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.n3d-clients-desc {
  font-size: 14px;
  color: #64748B;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.n3d-clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: stretch;
}

.n3d-client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 12px 18px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.n3d-client-card:hover {
  transform: translateY(-3px);
  border-color: #00A884;
  box-shadow: 0 10px 20px -4px rgba(0, 168, 132, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

.n3d-client-logo {
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.n3d-client-card:hover .n3d-client-logo {
  transform: scale(1.08);
}

/* Individual client logo optical adjustments */
.n3d-cl-vinfast {
  width: auto;
  max-width: 48px;
  height: 44px;
}

.n3d-cl-vindynamics {
  width: auto;
  max-width: 60px;
  height: 40px;
}

.n3d-cl-hyundai {
  width: auto;
  max-width: 110px;
  height: 38px;
}

.n3d-cl-datbike {
  width: auto;
  max-width: 115px;
  height: 28px;
}

.n3d-cl-canon {
  width: auto;
  max-width: 115px;
  height: 26px;
}

.n3d-cl-panasonic {
  width: auto;
  max-width: 120px;
  height: 26px;
}

.n3d-cl-bamboo {
  width: auto;
  max-width: 128px;
  height: 32px;
}

.n3d-cl-vinhomes {
  width: auto;
  max-width: 95px;
  height: 35px;
}

.n3d-cl-masan {
  width: auto;
  max-width: 105px;
  height: 38px;
}

.n3d-cl-lixil {
  width: auto;
  max-width: 100px;
  height: 32px;
}

.n3d-cl-dongjin {
  width: auto;
  max-width: 120px;
  height: 32px;
}

.n3d-cl-yte {
  width: auto;
  max-width: 42px;
  height: 42px;
}

/* Responsive */
@media (max-width: 1200px) {
  .n3d-clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .n3d-clients-section {
    padding: 38px 0 42px;
    margin-top: 35px;
    margin-bottom: 35px;
  }

  .n3d-clients-title {
    font-size: 20px;
  }

  .n3d-clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .n3d-client-card {
    height: 72px;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .n3d-clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .n3d-client-card {
    height: 66px;
    padding: 8px 10px;
  }
}

/* ==========================================================================
   VIDEO REVIEW SẢN PHẨM SECTION
   ========================================================================== */
.n3d-video-reviews-section {
  padding: 60px 0 65px;
  background: linear-gradient(135deg, #031D1A 0%, #063530 50%, #031715 100%);
  position: relative;
  overflow: hidden;
  margin-top: 50px;
  margin-bottom: 50px;
  border-top: 3px solid var(--n3d-pear);
  border-bottom: 1px solid rgba(222, 241, 251, 0.15);
}

.n3d-video-reviews-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(219, 225, 52, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.n3d-video-reviews-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(222, 241, 251, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.n3d-video-reviews-section .container {
  position: relative;
  z-index: 2;
}

/* Header */
.n3d-vr-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.n3d-vr-header-left {
  max-width: 720px;
}

.n3d-vr-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 0, 0, 0.15);
  color: #FF6B6B;
  border: 1px solid rgba(255, 0, 0, 0.35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.n3d-vr-badge i {
  color: #FF0000;
  font-size: 14px;
}

.n3d-vr-title {
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.n3d-vr-desc {
  font-size: 14px;
  color: #A3C9C4;
  line-height: 1.6;
  margin: 0;
}

.n3d-vr-header-right {
  display: flex;
  align-items: center;
}

.n3d-vr-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(222, 241, 251, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.n3d-vr-yt-btn i.fa-youtube {
  color: #FF0000;
  font-size: 18px;
}

.n3d-vr-yt-btn:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
  transform: translateY(-2px);
}

.n3d-vr-yt-btn:hover i.fa-youtube {
  color: #FFFFFF;
}

/* Grid */
.n3d-vr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

/* Card */
.n3d-vr-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #021613;
  border: 1px solid rgba(222, 241, 251, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  outline: none;
}

.n3d-vr-card:hover,
.n3d-vr-card:focus-visible {
  transform: translateY(-8px);
  border-color: var(--n3d-pear);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(219, 225, 52, 0.25);
}

.n3d-vr-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 15;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.n3d-vr-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.n3d-vr-card:hover .n3d-vr-thumb {
  transform: scale(1.08);
}

/* Scrim */
.n3d-vr-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,
      rgba(2, 22, 19, 0.65) 0%,
      rgba(2, 22, 19, 0.1) 30%,
      rgba(2, 22, 19, 0.25) 55%,
      rgba(2, 22, 19, 0.88) 80%,
      rgba(2, 22, 19, 0.98) 100%);
  z-index: 2;
  transition: opacity 0.3s ease;
}

.n3d-vr-card:hover .n3d-vr-scrim {
  background: linear-gradient(180deg,
      rgba(2, 22, 19, 0.5) 0%,
      rgba(2, 22, 19, 0.05) 30%,
      rgba(2, 22, 19, 0.2) 55%,
      rgba(2, 22, 19, 0.85) 75%,
      rgba(2, 22, 19, 0.98) 100%);
}

/* Top bar badges */
.n3d-vr-top-bar {
  position: relative;
  z-index: 3;
  padding: 14px 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.n3d-vr-tag {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(10, 70, 64, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(222, 241, 251, 0.25);
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n3d-vr-shorts-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: #FF0000;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
}

/* Play button */
.n3d-vr-play-wrap {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.n3d-vr-play-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(219, 225, 52, 0.4);
  opacity: 0;
  transition: all 0.3s ease;
}

.n3d-vr-card:hover .n3d-vr-play-pulse {
  opacity: 1;
  animation: n3d-pulse-wave 1.6s infinite ease-out;
}

@keyframes n3d-pulse-wave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.n3d-vr-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 3px;
}

.n3d-vr-card:hover .n3d-vr-play-btn {
  transform: scale(1.12);
  background: var(--n3d-pear);
  color: #031c19;
  box-shadow: 0 0 24px rgba(219, 225, 52, 0.85);
}

/* Card Bottom Content */
.n3d-vr-content {
  position: relative;
  z-index: 3;
  padding: 0 16px 16px;
  margin-top: auto;
}

.n3d-vr-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 11px;
}

.n3d-vr-author {
  color: #A3C9C4;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.n3d-vr-author i {
  color: #38BDF8;
  font-size: 10px;
}

.n3d-vr-duration {
  color: var(--n3d-pear);
  font-weight: 700;
  font-size: 10px;
  background: rgba(219, 225, 52, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(219, 225, 52, 0.3);
}

.n3d-vr-card-title {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.n3d-vr-card:hover .n3d-vr-card-title {
  color: var(--n3d-neon);
}

.n3d-vr-card-desc {
  font-size: 11.5px;
  color: #8BA8A4;
  line-height: 1.45;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n3d-vr-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(222, 241, 251, 0.12);
}

.n3d-vr-play-action {
  font-size: 12px;
  font-weight: 700;
  color: var(--n3d-pear);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease;
}

.n3d-vr-card:hover .n3d-vr-play-action {
  transform: translateX(3px);
}

.n3d-vr-open-yt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}

.n3d-vr-open-yt:hover {
  background: #FF0000;
  color: #FFFFFF;
  transform: scale(1.15);
}

/* Bottom Banner */
.n3d-vr-bottom-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(222, 241, 251, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  flex-wrap: wrap;
}

.n3d-vr-bb-left {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #FFFFFF;
}

.n3d-vr-bb-icon {
  font-size: 36px;
  color: #FF0000;
  flex-shrink: 0;
}

.n3d-vr-bb-left strong {
  display: block;
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.n3d-vr-bb-left span {
  font-size: 12.5px;
  color: #A3C9C4;
}

.n3d-vr-bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--n3d-pear);
  color: #052824;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(219, 225, 52, 0.35);
  white-space: nowrap;
}

.n3d-vr-bb-btn:hover {
  background: #FFFFFF;
  color: #052824;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

/* Lightbox Modal */
.n3d-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.n3d-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.n3d-vm-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 28, 25, 0.88);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.n3d-vm-dialog {
  position: relative;
  z-index: 2;
  width: 400px;
  max-width: 100%;
  background: #021A16;
  border: 1px solid rgba(222, 241, 251, 0.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(219, 225, 52, 0.2);
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.n3d-video-modal.active .n3d-vm-dialog {
  transform: scale(1);
}

.n3d-vm-header {
  padding: 12px 16px;
  background: #052824;
  border-bottom: 1px solid rgba(222, 241, 251, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.n3d-vm-header-info {
  flex: 1;
  min-width: 0;
}

.n3d-vm-tag {
  font-size: 11px;
  color: #A3C9C4;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.n3d-vm-title {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n3d-vm-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.n3d-vm-close:hover {
  background: #FF0000;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.n3d-vm-body {
  position: relative;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.n3d-vm-player-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 70vh;
}

.n3d-vm-player-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.n3d-vm-footer {
  padding: 10px 16px;
  background: #052824;
  border-top: 1px solid rgba(222, 241, 251, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.n3d-vm-brand {
  color: #A3C9C4;
  font-weight: 600;
}

.n3d-vm-ytlink {
  color: var(--n3d-pear);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.n3d-vm-ytlink:hover {
  color: #FFFFFF;
}

/* Responsive */
@media (max-width: 1100px) {
  .n3d-vr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .n3d-video-reviews-section {
    padding: 42px 0 46px;
    margin-top: 35px;
    margin-bottom: 35px;
  }

  .n3d-vr-title {
    font-size: 21px;
  }

  .n3d-vr-header {
    margin-bottom: 24px;
  }

  .n3d-vr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .n3d-vr-card-title {
    font-size: 13px;
  }

  .n3d-vr-card-desc {
    display: none;
  }

  .n3d-vr-bottom-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .n3d-vr-bb-btn {
    width: 100%;
    justify-content: center;
  }

  .n3d-vm-dialog {
    width: 100%;
  }

  .n3d-vm-player-wrapper {
    height: 520px;
    max-height: 65vh;
  }
}

@media (max-width: 480px) {
  .n3d-vr-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .n3d-vr-thumb-box {
    aspect-ratio: 9 / 13;
  }

  .n3d-vr-card-desc {
    display: -webkit-box;
  }
}

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.n3d-sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--n3d-border);
  padding-bottom: 14px;
}

.n3d-sec-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.n3d-sec-icon-accent {
  width: 8px;
  height: 28px;
  background-color: var(--n3d-pear);
  border-radius: 4px;
}

.n3d-sec-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--n3d-primary);
  letter-spacing: -0.3px;
}

.n3d-sec-subtitle {
  font-size: 13px;
  color: var(--n3d-text-muted);
  margin-top: 2px;
}

.n3d-sec-viewall {
  color: var(--n3d-primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.n3d-sec-viewall:hover {
  color: var(--n3d-primary-light);
  gap: 9px;
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS (5-COLUMN FULL-WIDTH LAYOUT)
   ========================================================================== */

/* Maintain clean standard container matching Frontpage across all Product Archives & Single Product */
.n3d-wc-archive-container,
body.woocommerce-shop .n3d-wc-archive-container,
body.tax-product_cat .n3d-wc-archive-container,
body.tax-product_tag .n3d-wc-archive-container,
body.post-type-archive-product .n3d-wc-archive-container,
body.single-product .n3d-wc-container,
.n3d-single-product-container {
  width: 100% !important;
  max-width: var(--container-max) !important;
  /* 1240px matching Frontpage */
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.home .n3d-flash-sale {
  padding: 20px 18px 24px;
  margin: 30px 0;
}

.n3d-products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (min-width: 1600px) {
  .n3d-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
  }
}

@media (max-width: 1280px) {
  .n3d-products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

@media (max-width: 1100px) {
  .n3d-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.n3d-product-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.n3d-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--n3d-primary);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   FRONTPAGE PRODUCT GRID ALTERNATING ROW STRIPING (1 DÒNG TRẮNG, 1 DÒNG XANH NHẸ)
   Applied to .n3d-products-grid (Flash Sale & #san-pham)
   ========================================================================== */

/* Dynamic JS class support (handles tab filtering seamlessly) */
.n3d-products-grid .n3d-product-card.n3d-row-even {
  background: #D8ECE7 !important;
  border-color: #B2D9D1 !important;
}

.n3d-products-grid .n3d-product-card.n3d-row-even .n3d-card-thumb {
  background-color: #FFFFFF !important;
}

.n3d-products-grid .n3d-product-card.n3d-row-odd {
  background: #FFFFFF !important;
  border-color: var(--n3d-border, #E2E8F0) !important;
}

.n3d-products-grid .n3d-product-card.n3d-row-odd .n3d-card-thumb {
  background-color: #F8FAFB !important;
}

/* Pure CSS Media Query Fallback (Initial Page Load before JS executes) */
/* 5 Columns (Screens > 1100px) */
@media (min-width: 1101px) {

  .n3d-products-grid .n3d-product-card:nth-child(10n + 6),
  .n3d-products-grid .n3d-product-card:nth-child(10n + 7),
  .n3d-products-grid .n3d-product-card:nth-child(10n + 8),
  .n3d-products-grid .n3d-product-card:nth-child(10n + 9),
  .n3d-products-grid .n3d-product-card:nth-child(10n + 10) {
    background: #D8ECE7;
    border-color: #B2D9D1;
  }

  .n3d-products-grid .n3d-product-card:nth-child(10n + 6) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(10n + 7) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(10n + 8) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(10n + 9) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(10n + 10) .n3d-card-thumb {
    background-color: #FFFFFF;
  }
}

/* 4 Columns (993px - 1100px) */
@media (min-width: 993px) and (max-width: 1100px) {

  .n3d-products-grid .n3d-product-card:nth-child(8n + 5),
  .n3d-products-grid .n3d-product-card:nth-child(8n + 6),
  .n3d-products-grid .n3d-product-card:nth-child(8n + 7),
  .n3d-products-grid .n3d-product-card:nth-child(8n + 8) {
    background: #D8ECE7;
    border-color: #B2D9D1;
  }

  .n3d-products-grid .n3d-product-card:nth-child(8n + 5) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(8n + 6) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(8n + 7) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(8n + 8) .n3d-card-thumb {
    background-color: #FFFFFF;
  }
}

/* 3 Columns (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {

  .n3d-products-grid .n3d-product-card:nth-child(6n + 4),
  .n3d-products-grid .n3d-product-card:nth-child(6n + 5),
  .n3d-products-grid .n3d-product-card:nth-child(6n + 6) {
    background: #D8ECE7;
    border-color: #B2D9D1;
  }

  .n3d-products-grid .n3d-product-card:nth-child(6n + 4) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(6n + 5) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(6n + 6) .n3d-card-thumb {
    background-color: #FFFFFF;
  }
}

/* 2 Columns (Mobile <= 768px) */
@media (max-width: 768px) {

  .n3d-products-grid .n3d-product-card:nth-child(4n + 3),
  .n3d-products-grid .n3d-product-card:nth-child(4n + 4) {
    background: #D8ECE7;
    border-color: #B2D9D1;
  }

  .n3d-products-grid .n3d-product-card:nth-child(4n + 3) .n3d-card-thumb,
  .n3d-products-grid .n3d-product-card:nth-child(4n + 4) .n3d-card-thumb {
    background-color: #FFFFFF;
  }
}

/* Hover state */
.n3d-products-grid .n3d-product-card:hover {
  background: #FFFFFF !important;
  transform: translateY(-4px) !important;
  border-color: var(--n3d-primary) !important;
  box-shadow: 0 10px 26px rgba(10, 70, 64, 0.15) !important;
}

.n3d-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.3px;
}

.n3d-card-badge.sale {
  background-color: var(--n3d-sale);
  color: #FFFFFF;
}

.n3d-card-brand {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--n3d-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  padding-right: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n3d-card-thumb {
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #F8FAFB;
  padding: 6px;
}

.n3d-card-thumb a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.n3d-card-thumb img {
  max-height: 152px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.n3d-product-card:hover .n3d-card-thumb img {
  transform: scale(1.06);
}

.n3d-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 40px;
}

.n3d-card-title:hover {
  color: var(--n3d-primary);
}

/* Tech Spec Badges */
.n3d-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 8px;
  min-height: 20px;
  overflow: hidden;
}

.n3d-spec-pill {
  background-color: var(--n3d-neon);
  color: var(--n3d-primary);
  border: 1px solid var(--n3d-neon-border);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Rating */
.n3d-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--n3d-star);
  margin-bottom: 8px;
}

.n3d-card-rating span {
  color: var(--n3d-text-muted);
  font-size: 10.5px;
}

/* Price & Buy Action */
.n3d-card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--n3d-border-subtle);
}

.n3d-card-price-group {
  display: flex;
  flex-direction: column;
}

.n3d-card-price {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--n3d-primary);
  line-height: 1.2;
}

.n3d-card-oldprice {
  font-size: 11px;
  color: #94A3B8;
  text-decoration: line-through;
}

.n3d-card-buy-btn {
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.n3d-card-buy-btn:hover {
  background-color: var(--n3d-pear-hover);
  transform: scale(1.08);
}

/* ==========================================================================
   TABS FILTER SECTION
   ========================================================================== */
.n3d-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--n3d-border);
  padding-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.n3d-tabs-nav::-webkit-scrollbar {
  display: none;
}

.n3d-tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--n3d-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.n3d-tab-btn:hover {
  border-color: var(--n3d-primary);
  color: var(--n3d-primary);
  background-color: #F8FAFB;
}

.n3d-tab-btn.active {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
  border-color: var(--n3d-primary);
  box-shadow: 0 4px 12px rgba(10, 70, 64, 0.22);
}

/* ==========================================================================
   FLASH SALE SECTION
   ========================================================================== */
.n3d-flash-sale {
  background: linear-gradient(135deg, var(--n3d-primary) 0%, var(--n3d-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #FFFFFF;
  margin: 40px 0;
  box-shadow: var(--shadow-lg);
}

.n3d-flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.n3d-flash-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 800;
  color: var(--n3d-pear);
}

.n3d-timer {
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-timer-label {
  font-size: 13px;
  color: #A3C9C4;
}

.n3d-timer-box {
  background: rgba(0, 0, 0, 0.4);
  color: var(--n3d-pear);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  border: 1px solid rgba(219, 225, 52, 0.3);
}

/* ==========================================================================
/* ==========================================================================
   4 MAIN SERVICES SECTION (DỊCH VỤ IN 3D & SCAN 3D CHUYÊN NGHIỆP)
   ========================================================================== */
.n3d-services-section {
  margin: 60px 0 50px;
}

.n3d-services-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.n3d-services-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  border: 1px solid rgba(10, 70, 64, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.n3d-services-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--n3d-deep);
  line-height: 1.25;
  margin-bottom: 12px;
}

.n3d-services-title span {
  color: var(--n3d-primary);
}

.n3d-services-sub {
  font-size: 15px;
  color: var(--n3d-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* 4 Cards Grid */
.n3d-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.n3d-service-card {
  background: #FFFFFF;
  border: 1px solid rgba(10, 70, 64, 0.12);
  border-radius: 18px;
  padding: 24px 20px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(10, 70, 64, 0.05);
  overflow: hidden;
}

.n3d-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--n3d-primary) 0%, var(--n3d-pear) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.n3d-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--n3d-primary);
  box-shadow: 0 16px 36px rgba(10, 70, 64, 0.12);
}

.n3d-service-card:hover::before {
  opacity: 1;
}

.n3d-sc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.n3d-sc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--n3d-primary) 0%, var(--n3d-deep) 100%);
  color: var(--n3d-pear);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(10, 70, 64, 0.2);
  transition: transform 0.3s ease;
}

.n3d-service-card:hover .n3d-sc-icon-wrap {
  transform: scale(1.08) rotate(3deg);
}

.n3d-sc-badge {
  background: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(10, 70, 64, 0.15);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.n3d-sc-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 6px;
}

.n3d-sc-title a {
  color: var(--n3d-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

.n3d-sc-title a:hover {
  color: var(--n3d-primary);
}

.n3d-sc-metric {
  font-size: 12px;
  font-weight: 700;
  color: #00796B;
  margin-bottom: 14px;
  line-height: 1.4;
}

.n3d-sc-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.n3d-sc-features li {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.n3d-sc-features li i {
  color: #00796B;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.n3d-sc-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 70, 64, 0.08);
}

.n3d-sc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--n3d-neon);
  color: var(--n3d-deep);
  border: 1px solid rgba(10, 70, 64, 0.15);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.n3d-sc-btn i {
  transition: transform 0.25s ease;
}

.n3d-service-card:hover .n3d-sc-btn {
  background: var(--n3d-primary);
  color: #FFFFFF;
  border-color: var(--n3d-primary);
  box-shadow: 0 4px 12px rgba(10, 70, 64, 0.25);
}

.n3d-service-card:hover .n3d-sc-btn i {
  transform: translateX(4px);
}

/* Fast Quote Trust Bar */
.n3d-services-trust-bar {
  margin-top: 28px;
  background: linear-gradient(135deg, rgba(10, 70, 64, 0.05) 0%, rgba(222, 241, 251, 0.3) 100%);
  border: 1px solid rgba(10, 70, 64, 0.12);
  border-radius: 14px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.n3d-stb-items {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.n3d-stb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--n3d-deep);
}

.n3d-stb-item i {
  color: #00796B;
  font-size: 15px;
}

.n3d-stb-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--n3d-primary);
  color: var(--n3d-pear);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s ease;
}

.n3d-stb-cta:hover {
  background: var(--n3d-deep);
  color: #FFFFFF;
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .n3d-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .n3d-services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .n3d-services-title {
    font-size: 24px;
  }

  .n3d-services-trust-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .n3d-stb-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .n3d-stb-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   FOOTER (DARK AQUAMARINE GREEN #0A4640 + DEEP #052824)
   ========================================================================== */
.n3d-footer {
  background-color: var(--n3d-primary);
  color: #D3E7E4;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 3px solid var(--n3d-pear);
}

.n3d-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(222, 241, 251, 0.12);
}

.n3d-footer-col h4 {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.n3d-footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background-color: var(--n3d-pear);
}

.n3d-footer-col p {
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 12px;
  color: #B2D8D3;
}

.n3d-footer-links li {
  margin-bottom: 10px;
}

.n3d-footer-links a {
  color: #B2D8D3;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.n3d-footer-links a:hover {
  color: var(--n3d-pear);
  transform: translateX(4px);
}

.n3d-footer-bottom {
  background-color: var(--n3d-deep);
  padding: 18px 0;
  font-size: 13px;
  color: #7FAAA4;
}

.n3d-footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.n3d-footer-bottom span {
  color: var(--n3d-pear);
}

.n3d-footer-bottom a {
  color: #A3C9C4;
  text-decoration: none;
  transition: var(--transition);
}

.n3d-footer-bottom a:hover {
  color: var(--n3d-pear);
}

/* Policy Page & Content Styling */
.n3d-policy-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--n3d-text-body);
}

.n3d-policy-content .lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--n3d-text-heading);
  font-weight: 500;
  margin-bottom: 24px;
}

.n3d-policy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--n3d-primary);
  margin-top: 30px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--n3d-border);
}

.n3d-policy-content ul,
.n3d-policy-content ol {
  margin: 14px 0 20px 24px;
  padding: 0;
}

.n3d-policy-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.n3d-policy-content strong {
  color: var(--n3d-text-heading);
}

.n3d-policy-content a {
  color: var(--n3d-primary);
  text-decoration: underline;
}

.n3d-policy-content a:hover {
  color: var(--n3d-secondary);
}

.n3d-policy-toc a {
  text-decoration: none !important;
  font-weight: 500;
  transition: var(--transition);
}

.n3d-policy-toc a:hover {
  color: var(--n3d-secondary) !important;
  text-decoration: underline !important;
  padding-left: 4px;
}

.n3d-policy-meta-bar span {
  display: inline-flex;
  align-items: center;
}

.n3d-company-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.n3d-company-card:hover {
  box-shadow: var(--shadow-md) !important;
}

html {
  scroll-behavior: smooth;
}

/* Floating Actions */
.n3d-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.n3d-float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  font-size: 20px;
  transition: var(--transition);
}

.n3d-float-hotline {
  background-color: var(--n3d-primary);
  border: 2px solid var(--n3d-pear);
}

.n3d-float-zalo {
  background-color: #0068FF;
}

.n3d-float-top {
  background-color: var(--n3d-deep);
}

.n3d-float-btn:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .n3d-topbar {
    display: none !important;
  }

  .n3d-hero-grid {
    grid-template-columns: 1fr;
  }

  .n3d-hero-features {
    display: none !important;
  }

  .n3d-usps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .n3d-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .n3d-services-banner {
    grid-template-columns: 1fr;
  }

  /* Mobile Nav Bar - overflow visible ensures fixed drawer is not clipped on iOS Safari */
  .n3d-nav-bar {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: visible !important;
  }

  .n3d-nav-bar .container {
    padding: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .n3d-menu-wrapper {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 310px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: var(--n3d-deep) !important;
    z-index: 999999 !important;
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
    padding: 24px 18px 40px !important;
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.6) !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
  }

  .n3d-menu-wrapper.active {
    display: block !important;
  }

  .n3d-main-menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 100%;
  }

  .n3d-main-menu>li,
  .n3d-main-menu>.menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(222, 241, 251, 0.08);
  }

  .n3d-main-menu>li>a,
  .n3d-main-menu>.menu-item>a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 4px;
    color: #E2EFF2;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-sizing: border-box;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(210, 248, 1, 0.2) !important;
    transition: color 0.2s ease;
  }

  .n3d-main-menu>li.active>a,
  .n3d-main-menu>li.current-menu-item>a,
  .n3d-main-menu>li.open>a {
    color: var(--n3d-pear, #D2F801) !important;
  }

  .n3d-main-menu>li>a .n3d-caret {
    font-size: 12px;
    margin-left: auto;
    padding: 6px;
    cursor: pointer !important;
    touch-action: manipulation !important;
    transition: transform 0.25s ease;
  }

  .n3d-main-menu>li.open>a .n3d-caret {
    transform: rotate(180deg) !important;
    color: var(--n3d-pear, #D2F801) !important;
  }

  /* All mobile submenus (Default State: Collapsed & properly boxed) */
  .n3d-main-menu .sub-menu {
    display: none !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: var(--radius-sm, 8px) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    padding: 10px 14px !important;
    margin: 4px 0 12px 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: none !important;
    list-style: none !important;
  }

  /* Open State: Accordion expand when parent li has .open */
  .n3d-main-menu>li.open>.sub-menu,
  .n3d-main-menu>.menu-item.open>.sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* DỊCH VỤ & STANDARD DROPDOWN MOBILE ITEMS */
  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li {
    list-style: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li>a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 4px !important;
    color: #E2EFF2 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li:last-child>a,
  .n3d-main-menu .menu-item-has-children:not(.n3d-mega-menu)>.sub-menu>li:last-child>a {
    border-bottom: none !important;
  }

  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a:hover,
  .n3d-main-menu .n3d-has-dropdown>.sub-menu>li>a:active {
    color: var(--n3d-pear, #D2F801) !important;
    padding-left: 8px !important;
    background: rgba(255, 255, 255, 0.03) !important;
  }

  /* SẢN PHẨM / MEGA MENU MOBILE ITEMS */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu {
    gap: 14px !important;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Mega column title */
  .n3d-main-menu>.n3d-mega-menu .n3d-mega-col-title,
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>a {
    display: block !important;
    color: var(--n3d-pear, #D2F801) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    padding: 6px 0 !important;
    margin-bottom: 4px !important;
    border-bottom: 1px solid rgba(222, 241, 251, 0.12) !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    background: transparent !important;
  }

  /* Sub-column product list */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu,
  .n3d-main-menu .n3d-sub-column-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    padding: 2px 0 6px 8px !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  /* Sub-column product links */
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li,
  .n3d-main-menu .n3d-sub-column-menu>li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a,
  .n3d-main-menu .n3d-sub-column-menu>li>a,
  .n3d-main-menu .n3d-sub-link {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #CCDCE0 !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
    border-bottom: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a::before,
  .n3d-main-menu .n3d-sub-column-menu>li>a::before {
    display: none !important;
    content: none !important;
  }

  .n3d-main-menu .n3d-col-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px !important;
    background: rgba(219, 225, 52, 0.15) !important;
    color: var(--n3d-pear, #D2F801) !important;
    font-size: 11px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
  }

  .n3d-main-menu .n3d-sub-icon-box {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #A3C9C4 !important;
    font-size: 10px !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a:hover .n3d-sub-icon-box,
  .n3d-main-menu .n3d-sub-column-menu>li>a:hover .n3d-sub-icon-box {
    background: var(--n3d-pear, #D2F801) !important;
    color: #052824 !important;
  }

  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a:hover,
  .n3d-main-menu>.n3d-mega-menu>.sub-menu>li>.sub-menu>li>a:active,
  .n3d-main-menu .n3d-sub-column-menu>li>a:hover {
    color: var(--n3d-pear, #D2F801) !important;
    padding-left: 4px !important;
  }

  /* Drawer header with close button (mobile only) */
  #n3d-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 14px 0 !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid rgba(222, 241, 251, 0.15) !important;
  }
}

#n3d-drawer-header {
  display: none;
}

body.n3d-mobile-menu-opened {
  overflow: hidden !important;
}

/* ==========================================================================
   ENHANCED MOBILE & TABLET RESPONSIVE SYSTEM
   Complete mobile polish for Next 3D: Zero horizontal overflow, optimal UX
   ========================================================================== */

/* Menu Backdrop Overlay */
.n3d-menu-backdrop {
  display: none !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999998 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer !important;
  touch-action: none !important;
}

.n3d-menu-backdrop.active {
  display: block !important;
  opacity: 1 !important;
}

@media (max-width: 768px) {

  /* Prevent horizontal overflow on entire mobile document */
  html,
  body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* Global Container Padding for Clean Edge Margin */
  .container,
  .n3d-topbar .container,
  .n3d-header .container,
  .n3d-header-main .container,
  .n3d-nav-bar .container,
  .n3d-footer .container,
  body .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Topbar strictly hidden on mobile & tablets */
  .n3d-topbar {
    display: none !important;
  }

  /* Header & Branding - overflow: visible is required so fixed mobile drawer/backdrop are not clipped on iOS Safari */
  .n3d-header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .n3d-header-main {
    padding: 8px 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-header-main .container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-logo {
    height: 32px !important;
    max-width: 135px !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .n3d-logo-img,
  .n3d-logo img,
  .woocommerce .n3d-logo img,
  .woocommerce-page .n3d-logo img,
  .woocommerce .n3d-logo .n3d-logo-img,
  .woocommerce-page .n3d-logo .n3d-logo-img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 130px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
  }

  .n3d-header-actions,
  .woocommerce .n3d-header-actions,
  .woocommerce-page .n3d-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .n3d-action-hotline {
    padding: 0 10px !important;
    height: 34px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid rgba(222, 241, 251, 0.2) !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .n3d-hotline-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
    background-color: var(--n3d-pear) !important;
    color: var(--n3d-pear-text) !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .n3d-hotline-label {
    display: none !important;
  }

  .n3d-hotline-number {
    font-size: 11.5px !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    line-height: 1 !important;
  }

  .n3d-cart-btn {
    padding: 0 12px !important;
    height: 34px !important;
    border-radius: var(--radius-full) !important;
    font-size: 12px !important;
    background: rgba(222, 241, 251, 0.12) !important;
    border: 1px solid rgba(222, 241, 251, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .n3d-cart-btn span:not(.n3d-cart-count) {
    display: none !important;
  }

  .n3d-cart-icon-wrap {
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
  }

  .n3d-cart-count {
    top: -6px !important;
    right: -8px !important;
    width: 17px !important;
    height: 17px !important;
    font-size: 10px !important;
  }

  /* Row 2 on Mobile: Search & Mobile Menu Wrapper */
  .n3d-header-search-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 4px 0 0 !important;
    box-sizing: border-box !important;
  }

  /* MENU Button on mobile (Same row, left of search) */
  .n3d-mobile-menu-btn,
  .n3d-header-search-wrap .n3d-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    height: 38px !important;
    padding: 0 14px !important;
    background: rgba(222, 241, 251, 0.16) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(222, 241, 251, 0.3) !important;
    border-radius: var(--radius-full, 999px) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px !important;
    flex: 0 0 auto !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
  }

  .n3d-mobile-menu-btn i,
  .n3d-header-search-wrap .n3d-mobile-menu-btn i {
    font-size: 14px !important;
    color: var(--n3d-pear) !important;
  }

  .n3d-mobile-menu-btn:active,
  .n3d-header-search-wrap .n3d-mobile-menu-btn:active {
    background: rgba(222, 241, 251, 0.28) !important;
    border-color: var(--n3d-pear) !important;
    transform: scale(0.97) !important;
  }

  /* Shortened Search Bar (Same row, right of MENU) */
  .n3d-header-search-wrap .n3d-search-bar,
  .n3d-search-bar,
  body.home .n3d-search-bar,
  body.tax-product_cat .n3d-search-bar,
  body.single-product .n3d-search-bar,
  body.single .n3d-search-bar,
  body.page .n3d-search-bar {
    order: unset !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .n3d-search-form {
    height: 38px !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(222, 241, 251, 0.3) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .n3d-search-select,
  .woocommerce .n3d-search-select,
  .woocommerce-page .n3d-search-select {
    display: none !important;
  }

  .n3d-search-input,
  .woocommerce .n3d-search-input,
  .woocommerce-page .n3d-search-input {
    font-size: 12.5px !important;
    padding: 0 12px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-search-btn,
  .woocommerce .n3d-header .n3d-search-btn,
  .woocommerce-page .n3d-header .n3d-search-btn,
  .woocommerce .n3d-search-btn,
  .woocommerce-page .n3d-search-btn {
    padding: 0 !important;
    font-size: 14px !important;
    width: 38px !important;
    min-width: 38px !important;
    flex: 0 0 38px !important;
    height: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .n3d-search-btn-text,
  .n3d-search-btn span,
  .woocommerce .n3d-search-btn span {
    display: none !important;
  }

  /* Navigation Bar - Collapse on mobile since MENU button moved to Row 2 */
  .n3d-nav-bar {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: visible !important;
  }

  .n3d-nav-bar .container {
    padding: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .n3d-menu-wrapper {
    width: 300px !important;
    max-width: 85vw !important;
    padding: 24px 18px 36px !important;
    z-index: 999999 !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  /* ==========================================================================
     1. HERO SECTION (ZERO OVERFLOW, PERFECT MOBILE FIT)
     ========================================================================== */
  .n3d-hero {
    padding: 20px 0 24px !important;
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
    contain: paint !important;
  }

  .n3d-hero::after {
    display: none !important;
    /* Critical: remove negative off-screen pseudo element */
  }

  .n3d-hero-grid {
    grid-template-columns: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    box-sizing: border-box !important;
  }

  .n3d-hero-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Hero Tag / Badge */
  .n3d-hero-tag {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px 6px !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin: 0 auto 12px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.35 !important;
    text-align: center !important;
    border-radius: 999px !important;
    word-break: break-word !important;
  }

  .n3d-hero-tag i {
    font-size: 11px !important;
    color: var(--n3d-pear) !important;
  }

  .n3d-htag-main {
    color: var(--n3d-pear) !important;
    font-weight: 800 !important;
  }

  .n3d-htag-sep {
    color: rgba(222, 241, 251, 0.5) !important;
  }

  .n3d-htag-sub {
    color: var(--n3d-neon) !important;
    font-weight: 700 !important;
  }

  /* Hero Title */
  .n3d-hero-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Description */
  .n3d-hero-desc {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 auto 16px !important;
    text-align: center !important;
    color: #C3DFDA !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* CTA Buttons */
  .n3d-hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 9px !important;
    box-sizing: border-box !important;
  }

  .n3d-hero-cta-group .btn-n3d {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  /* Features Grid - Hidden on mobile as requested */
  .n3d-hero-features {
    display: none !important;
  }

  /* Hero Slider Column */
  .n3d-hero-image-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .n3d-hero-slider-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Slider Tabs */
  .n3d-hero-tabs {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 6px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 2px 2px 6px !important;
    margin-bottom: 8px !important;
    flex-wrap: nowrap !important;
  }

  .n3d-hero-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .n3d-hero-tab-btn {
    flex: 0 0 auto !important;
    padding: 6px 12px !important;
    font-size: 11.5px !important;
    width: auto !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  /* Slider Card */
  .n3d-hero-card {
    padding: 12px 12px 14px !important;
    border-radius: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .n3d-hero-badge-float {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    max-width: calc(100% - 16px) !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: right !important;
    line-height: 1.25 !important;
    z-index: 5 !important;
  }

  .n3d-hero-img-box {
    height: 175px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-hero-img-box img {
    max-height: 150px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }

  .n3d-hero-slide-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .n3d-hero-slide-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }

  .n3d-hero-slide-sub {
    font-size: 11px !important;
    word-break: break-word !important;
    line-height: 1.3 !important;
  }

  .n3d-hero-slide-specs {
    margin: 6px 0 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-hero-slide-specs li {
    font-size: 11px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .n3d-hero-slide-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 8px !important;
  }

  .n3d-hsp-val {
    font-size: 16px !important;
  }

  .n3d-hero-view-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
  }

  /* 2. USPS SECTION */
  .n3d-usps-section {
    padding: 14px 0 !important;
  }

  .n3d-usps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .n3d-usp-card {
    padding: 9px 8px !important;
    gap: 8px !important;
    border-radius: 8px !important;
    align-items: center !important;
  }

  .n3d-usp-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  .n3d-usp-text h4 {
    font-size: 11px !important;
    margin-bottom: 1px !important;
    line-height: 1.25 !important;
  }

  .n3d-usp-text p {
    font-size: 9.5px !important;
    line-height: 1.3 !important;
  }

  /* 3. BRANDS SECTION */
  .n3d-brands-section {
    padding: 24px 0 28px !important;
  }

  .n3d-brands-title {
    font-size: 14px !important;
  }

  .n3d-brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .n3d-brand-card {
    min-height: 56px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
  }

  /* 4. FLASH SALE SECTION */
  .n3d-flash-sale {
    padding: 16px 12px 18px !important;
    border-radius: 12px !important;
    margin: 22px 0 !important;
  }

  .n3d-flash-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }

  .n3d-flash-title {
    font-size: 17px !important;
  }

  .n3d-timer {
    font-size: 12px !important;
  }

  .n3d-timer-box {
    font-size: 13px !important;
    padding: 3px 6px !important;
  }

  /* 5. MAIN PRODUCT TABS SECTION (#san-pham) - KEY FIX FOR HORIZONTAL OVERFLOW */
  #san-pham {
    margin-top: 32px !important;
  }

  .n3d-sec-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    padding-bottom: 10px !important;
  }

  .n3d-sec-title-group {
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .n3d-sec-icon-accent {
    width: 4px !important;
    height: 20px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .n3d-sec-title {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .n3d-sec-subtitle {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .n3d-sec-viewall {
    font-size: 12.5px !important;
  }

  /* Scrollable Tab Strip (Chips) */
  .n3d-tabs-nav {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid var(--n3d-border) !important;
    padding-bottom: 8px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .n3d-tabs-nav::-webkit-scrollbar {
    display: none !important;
  }

  .n3d-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 7px 14px !important;
    font-size: 12px !important;
    border-radius: var(--radius-full) !important;
  }

  /* 2-Column Product Grid on ALL Mobile Screens */
  .n3d-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .n3d-product-card {
    padding: 8px 8px 10px !important;
    border-radius: 10px !important;
  }

  .n3d-card-thumb {
    height: 130px !important;
    margin-bottom: 6px !important;
    padding: 4px !important;
  }

  .n3d-card-thumb img {
    max-height: 120px !important;
  }

  .n3d-card-brand {
    font-size: 9px !important;
    margin-bottom: 2px !important;
    padding-right: 36px !important;
  }

  .n3d-card-title {
    font-size: 12px !important;
    line-height: 1.35 !important;
    height: 33px !important;
    margin-bottom: 4px !important;
  }

  .n3d-card-specs {
    margin-bottom: 4px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    overflow: hidden !important;
    gap: 2px !important;
  }

  .n3d-spec-pill {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
  }

  .n3d-card-rating {
    font-size: 9.5px !important;
    margin-bottom: 4px !important;
  }

  .n3d-card-bottom {
    padding-top: 6px !important;
  }

  .n3d-card-price {
    font-size: 13px !important;
  }

  .n3d-card-oldprice {
    font-size: 9.5px !important;
  }

  .n3d-card-buy-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 11.5px !important;
    flex-shrink: 0 !important;
  }

  .n3d-card-badge {
    font-size: 8.5px !important;
    padding: 2px 5px !important;
    top: 6px !important;
    right: 6px !important;
  }

  #n3d-bottom-viewall {
    width: 100% !important;
    justify-content: center !important;
    padding: 11px 20px !important;
    font-size: 13.5px !important;
  }

  /* 6. SERVICES SECTION */
  .n3d-services-section {
    margin: 40px 0 35px !important;
  }

  .n3d-services-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }

  .n3d-services-sub {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }

  .n3d-services-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .n3d-service-card {
    padding: 18px 16px 16px !important;
    border-radius: 14px !important;
  }

  .n3d-sc-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
  }

  .n3d-sc-title {
    font-size: 16px !important;
  }

  .n3d-sc-features li {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .n3d-services-trust-bar {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    gap: 14px !important;
  }

  .n3d-stb-cta {
    width: 100% !important;
    justify-content: center !important;
    font-size: 13px !important;
  }

  /* 7. CLIENTS SECTION */
  .n3d-clients-section {
    padding: 28px 0 32px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  .n3d-clients-title {
    font-size: 16px !important;
  }

  .n3d-clients-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .n3d-client-card {
    height: 56px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
  }

  /* 8. VIDEO REVIEWS SECTION */
  .n3d-video-reviews-section {
    padding: 32px 0 36px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }

  .n3d-vr-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 18px !important;
  }

  .n3d-vr-title {
    font-size: 19px !important;
  }

  .n3d-vr-desc {
    font-size: 12.5px !important;
  }

  .n3d-vr-yt-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 2 columns for video shorts on mobile */
  .n3d-vr-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .n3d-vr-thumb-box {
    aspect-ratio: 9 / 14 !important;
    border-radius: 12px !important;
  }

  .n3d-vr-top-bar {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
  }

  .n3d-vr-tag,
  .n3d-vr-shorts-badge {
    font-size: 8.5px !important;
    padding: 2px 6px !important;
  }

  .n3d-vr-play-wrap {
    width: 38px !important;
    height: 38px !important;
  }

  .n3d-vr-play-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 13px !important;
  }

  .n3d-vr-content {
    padding: 8px 10px 10px !important;
  }

  .n3d-vr-card-title {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    height: 30px !important;
    margin-bottom: 2px !important;
    -webkit-line-clamp: 2 !important;
  }

  .n3d-vr-card-desc {
    display: none !important;
  }

  .n3d-vr-action-bar {
    display: none !important;
  }

  .n3d-vr-bottom-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 16px 14px !important;
    margin-top: 20px !important;
  }

  .n3d-vr-bb-left {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  .n3d-vr-bb-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 10px 16px !important;
  }

  /* 9. NEWS SECTION */
  .n3d-news-section {
    margin-bottom: 35px !important;
  }

  .n3d-news-col {
    flex: 0 0 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
  }

  .n3d-news-thumb-box {
    height: 130px !important;
  }

  .n3d-news-body {
    padding: 10px 12px 12px !important;
  }

  .n3d-news-title {
    font-size: 12.5px !important;
    height: 35px !important;
  }

  .n3d-news-excerpt {
    font-size: 11.5px !important;
    height: 34px !important;
    margin-bottom: 8px !important;
  }

  /* 10. FOOTER */
  .n3d-footer {
    padding-top: 36px !important;
    margin-top: 35px !important;
  }

  .n3d-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding-bottom: 28px !important;
  }

  .n3d-footer-col h4 {
    font-size: 13.5px !important;
    margin-bottom: 10px !important;
  }

  .n3d-footer-links li a {
    font-size: 12.5px !important;
    padding: 4px 0 !important;
  }

  .n3d-footer-bottom .container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    font-size: 11.5px !important;
  }

  .n3d-footer-bottom .container div:last-child {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  /* 11. FLOATING BUTTONS */
  .n3d-floating-actions {
    right: 12px !important;
    bottom: 16px !important;
    gap: 8px !important;
  }

  .n3d-float-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
  }
}

/* Extra small devices (<= 380px e.g. iPhone SE, compact phones) */
@media (max-width: 380px) {
  .n3d-logo {
    max-width: 110px !important;
    height: 28px !important;
  }

  .n3d-logo-img,
  .n3d-logo img {
    max-width: 105px !important;
    height: 28px !important;
  }

  .n3d-hotline-number {
    display: none !important;
  }

  .n3d-action-hotline {
    padding: 0 !important;
    width: 34px !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  .n3d-hero-title {
    font-size: 20px !important;
  }
}

@media (max-width: 360px) {
  .n3d-products-grid {
    gap: 6px !important;
  }

  .n3d-product-card {
    padding: 6px 6px 8px !important;
  }

  .n3d-card-thumb {
    height: 115px !important;
  }

  .n3d-card-thumb img {
    max-height: 105px !important;
  }
}

/* ==========================================================================
   DEDICATED SERVICE PAGE STYLES (NEXT 3D SLA SERVICE)
   ========================================================================== */

/* Breadcrumbs */
.n3d-breadcrumb-wrap {
  background-color: #F1F5F7;
  padding: 12px 0;
  border-bottom: 1px solid var(--n3d-border);
  font-size: 13px;
}

.n3d-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--n3d-text-muted);
}

.n3d-breadcrumbs a {
  color: var(--n3d-primary);
  font-weight: 500;
}

.n3d-breadcrumbs a:hover {
  color: var(--n3d-pear-text);
  text-decoration: underline;
}

.n3d-breadcrumbs .separator {
  font-size: 10px;
  color: #94A3B8;
}

.n3d-breadcrumbs .current {
  color: var(--n3d-text-heading);
  font-weight: 600;
}

/* Base Service Page */
.n3d-service-page {
  overflow-x: hidden;
}

.n3d-section {
  padding: 70px 0;
}

.n3d-section-header {
  max-width: 800px;
  margin: 0 auto 48px auto;
}

.n3d-section-header.text-center {
  text-align: center;
}

.n3d-sub-title {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--n3d-primary);
  margin-bottom: 8px;
}

.n3d-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  line-height: 1.25;
  margin-bottom: 12px;
}

.n3d-section-desc {
  font-size: 16px;
  color: var(--n3d-text-muted);
  line-height: 1.6;
}

/* Service Hero */
.n3d-sla-hero {
  background: linear-gradient(135deg, var(--n3d-deep) 0%, var(--n3d-primary) 65%, #136b62 100%);
  color: #FFFFFF;
  padding: 60px 0 80px 0;
  position: relative;
}

.n3d-sla-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.n3d-sla-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.n3d-hero-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.n3d-badge-pulse {
  background-color: rgba(219, 225, 52, 0.2);
  border: 1px solid var(--n3d-pear);
  color: var(--n3d-pear);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.n3d-hero-tag-text {
  font-size: 14px;
  color: #CBE6E2;
  font-weight: 600;
}

.n3d-sla-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.n3d-sla-title span {
  color: var(--n3d-pear);
}

.n3d-sla-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #E2EFF2;
  margin-bottom: 24px;
}

.n3d-hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.n3d-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #F1F8F8;
}

.n3d-hero-checklist li i {
  color: var(--n3d-pear);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.n3d-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Media Card in Hero */
.n3d-sla-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(222, 241, 251, 0.25);
  background: #000;
}

.n3d-sla-media-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.n3d-sla-media-card:hover img {
  transform: scale(1.03);
}

.n3d-media-overlay-badge {
  position: absolute;
  background: rgba(5, 40, 36, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(219, 225, 52, 0.5);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
}

.n3d-media-overlay-badge i {
  color: var(--n3d-pear);
}

.n3d-media-overlay-badge strong {
  color: var(--n3d-pear);
}

.n3d-media-overlay-badge.badge-top {
  top: 18px;
  left: 18px;
}

.n3d-media-overlay-badge.badge-bottom {
  bottom: 18px;
  right: 18px;
}

/* Common Buttons */
.n3d-btn-primary {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.n3d-btn-primary:hover {
  background-color: var(--n3d-primary-hover);
  color: var(--n3d-pear);
  transform: translateY(-2px);
}

.n3d-btn-pear {
  background-color: var(--n3d-pear);
  color: var(--n3d-pear-text);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-pear);
  transition: var(--transition);
}

.n3d-btn-pear:hover {
  background-color: var(--n3d-pear-hover);
  color: var(--n3d-deep);
  transform: translateY(-2px);
}

.n3d-btn-zalo {
  background-color: #0068FF;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.n3d-btn-zalo:hover {
  background-color: #0054cc;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.n3d-btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.n3d-btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--n3d-primary);
  border-color: #FFFFFF;
}

.n3d-btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.n3d-btn-block {
  width: 100%;
  justify-content: center;
}

/* Specs Bar */
.n3d-specs-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  margin-top: -24px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
}

.n3d-specs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  divide-x: 1px solid var(--n3d-border);
}

.n3d-spec-item {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--n3d-border-subtle);
}

.n3d-spec-item:last-child {
  border-right: none;
}

.n3d-spec-icon {
  width: 44px;
  height: 44px;
  background-color: var(--n3d-neon);
  color: var(--n3d-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.n3d-spec-label {
  font-size: 12px;
  color: var(--n3d-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.n3d-spec-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--n3d-text-heading);
}

/* Tech Cards (SLA vs FDM vs SLS) */
.n3d-tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.n3d-tech-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--n3d-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.n3d-tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.n3d-tech-card.active-card {
  border: 2px solid var(--n3d-primary);
  box-shadow: 0 8px 24px rgba(10, 70, 64, 0.15);
}

.n3d-tech-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--n3d-pear);
  color: var(--n3d-pear-text);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.n3d-tech-badge.tech-badge-secondary {
  background: var(--n3d-deep);
  color: #FFFFFF;
}

.n3d-tech-img {
  height: 220px;
  overflow: hidden;
  background-color: #f1f1f1;
}

.n3d-tech-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.n3d-tech-card:hover .n3d-tech-img img {
  transform: scale(1.05);
}

.n3d-tech-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.n3d-tech-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-tech-title i {
  color: var(--n3d-primary);
}

.n3d-tech-desc {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.n3d-tech-points {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 14px;
}

.n3d-tech-points li {
  font-size: 13px;
  color: var(--n3d-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.n3d-tech-points li i {
  color: var(--n3d-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Comparison Table */
.n3d-table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
}

.n3d-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.n3d-compare-table th,
.n3d-compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--n3d-border);
}

.n3d-compare-table th {
  background-color: #F8FAFB;
  font-weight: 700;
  color: var(--n3d-text-heading);
}

.n3d-compare-table th.highlight-col,
.n3d-compare-table td.highlight-col {
  background-color: rgba(222, 241, 251, 0.4);
  border-left: 2px solid var(--n3d-primary);
  border-right: 2px solid var(--n3d-primary);
}

.n3d-compare-table th.highlight-col {
  color: var(--n3d-primary);
  font-size: 15px;
}

.n3d-compare-table tr:last-child td {
  border-bottom: none;
}

.badge-success {
  background-color: #DCFCE7;
  color: #166534;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
}

/* Materials Section */
.n3d-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.n3d-mat-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.n3d-mat-card:hover {
  transform: translateY(-4px);
  border-color: var(--n3d-primary-light);
  box-shadow: var(--shadow-md);
}

.n3d-mat-icon {
  width: 50px;
  height: 50px;
  background: var(--n3d-neon);
  color: var(--n3d-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.n3d-mat-header {
  margin-bottom: 12px;
}

.n3d-mat-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  line-height: 1.35;
  margin-bottom: 6px;
}

.n3d-mat-tag {
  display: inline-block;
  background-color: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.n3d-mat-desc {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.n3d-mat-specs {
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--n3d-text-muted);
}

.n3d-mat-specs strong {
  color: var(--n3d-text-heading);
}

/* Pricing Table */
.n3d-price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.n3d-price-table th,
.n3d-price-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--n3d-border);
}

.n3d-price-table th {
  background-color: var(--n3d-primary);
  color: #FFFFFF;
  font-weight: 700;
}

.n3d-price-highlight {
  font-size: 18px;
  font-weight: 800;
  color: var(--n3d-primary);
}

.n3d-discount-badge {
  color: #B45309;
  background-color: #FEF3C7;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  display: inline-block;
}

/* Interactive Estimator */
.n3d-estimator-box {
  margin-top: 48px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--n3d-neon-border);
  box-shadow: 0 10px 30px rgba(10, 70, 64, 0.08);
  padding: 36px;
}

.n3d-estimator-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--n3d-border);
  padding-bottom: 18px;
}

.n3d-estimator-icon {
  width: 52px;
  height: 52px;
  background: var(--n3d-primary);
  color: var(--n3d-pear);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.n3d-estimator-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--n3d-text-heading);
}

.n3d-estimator-header p {
  color: var(--n3d-text-muted);
  font-size: 14px;
}

.n3d-estimator-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  gap: 24px;
  align-items: flex-end;
}

.n3d-estimator-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  margin-bottom: 8px;
}

.n3d-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  font-size: 14px;
  font-family: inherit;
  background: #FFFFFF;
  outline: none;
}

.n3d-input:focus {
  border-color: var(--n3d-primary);
  box-shadow: 0 0 0 3px rgba(10, 70, 64, 0.1);
}

.n3d-range-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.n3d-range {
  flex-grow: 1;
  accent-color: var(--n3d-primary);
  cursor: pointer;
}

.n3d-range-val {
  min-width: 80px;
  background: var(--n3d-neon);
  color: var(--n3d-primary);
  font-weight: 800;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.n3d-estimator-result {
  background: linear-gradient(135deg, var(--n3d-deep) 0%, var(--n3d-primary) 100%);
  color: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.n3d-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #CBE6E2;
}

.n3d-result-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--n3d-pear);
  margin: 6px 0;
}

.n3d-result-note {
  font-size: 11px;
  color: #A3C9C4;
  line-height: 1.4;
}

/* 5-Step Process */
.n3d-process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.n3d-process-step {
  position: relative;
}

.n3d-step-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--n3d-pear);
  margin-bottom: 8px;
  opacity: 0.9;
}

.n3d-step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(222, 241, 251, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: calc(100% - 48px);
}

.n3d-step-img {
  height: 150px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
}

.n3d-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.n3d-step-card:hover .n3d-step-img img {
  transform: scale(1.06);
}

.n3d-step-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.n3d-step-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.35;
}

.n3d-step-content p {
  font-size: 13px;
  color: #CBE6E2;
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

.n3d-step-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--n3d-pear);
  background: rgba(219, 225, 52, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
}

/* Commitments */
.n3d-commitments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.n3d-commit-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.n3d-commit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--n3d-primary);
}

.n3d-commit-icon {
  width: 56px;
  height: 56px;
  background-color: var(--n3d-neon);
  color: var(--n3d-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.n3d-commit-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  margin-bottom: 12px;
}

.n3d-commit-card p {
  font-size: 14px;
  color: var(--n3d-text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.n3d-commit-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.n3d-commit-card ul li {
  font-size: 13px;
  color: var(--n3d-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.n3d-commit-card ul li i {
  color: var(--n3d-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

/* Gallery Showcase */
.n3d-gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.n3d-filter-btn {
  background: #FFFFFF;
  color: var(--n3d-text-body);
  border: 1px solid var(--n3d-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.n3d-filter-btn:hover,
.n3d-filter-btn.active {
  background: var(--n3d-primary);
  color: #FFFFFF;
  border-color: var(--n3d-primary);
}

.n3d-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.n3d-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #FFFFFF;
  cursor: pointer;
  height: 240px;
}

.n3d-gallery-thumb {
  width: 100%;
  height: 100%;
  position: relative;
}

.n3d-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.n3d-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 40, 36, 0.9) 0%, rgba(5, 40, 36, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.n3d-gallery-item:hover .n3d-gallery-thumb img {
  transform: scale(1.08);
}

.n3d-gallery-item:hover .n3d-gallery-overlay {
  opacity: 1;
}

.n3d-gallery-overlay h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--n3d-pear);
  margin-bottom: 2px;
}

.n3d-gallery-overlay span {
  font-size: 12px;
  color: #CBE6E2;
}

/* Quote Form Section */
.n3d-quote-card {
  background: linear-gradient(135deg, var(--n3d-deep) 0%, var(--n3d-primary) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(222, 241, 251, 0.2);
}

.n3d-quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.n3d-quote-title {
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 14px;
}

.n3d-quote-desc {
  font-size: 15px;
  color: #CBE6E2;
  line-height: 1.6;
  margin-bottom: 28px;
}

.n3d-quote-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.n3d-qc-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.n3d-qc-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--n3d-pear);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.n3d-qc-label {
  font-size: 12px;
  color: #A3C9C4;
}

.n3d-qc-val {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.n3d-qc-val:hover {
  color: var(--n3d-pear);
}

.n3d-quote-form-wrap {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--n3d-text-body);
  box-shadow: var(--shadow-md);
}

.n3d-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.n3d-form-group {
  margin-bottom: 16px;
}

.n3d-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  margin-bottom: 6px;
}

.n3d-form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--n3d-border);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background-color: #FFFFFF;
}

.n3d-form-input:focus {
  border-color: var(--n3d-primary);
  box-shadow: 0 0 0 3px rgba(10, 70, 64, 0.12);
}

/* FAQ Accordion */
.n3d-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.n3d-faq-item {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.n3d-faq-item.active {
  border-color: var(--n3d-primary);
}

.n3d-faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--n3d-text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.n3d-faq-icon {
  font-size: 14px;
  color: var(--n3d-primary);
  transition: transform 0.3s ease;
}

.n3d-faq-item.active .n3d-faq-icon {
  transform: rotate(180deg);
}

.n3d-faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 15px;
  color: var(--n3d-text-body);
  line-height: 1.7;
  border-top: 1px solid var(--n3d-border-subtle);
  padding-top: 14px;
}

.n3d-faq-item.active .n3d-faq-answer {
  display: block;
}

/* Bottom CTA */
.n3d-bottom-cta {
  background: linear-gradient(135deg, var(--n3d-primary) 0%, var(--n3d-deep) 100%);
  padding: 60px 0;
  color: #FFFFFF;
}

.n3d-bottom-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.n3d-bcta-content h2 {
  font-size: 28px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.n3d-bcta-content p {
  font-size: 16px;
  color: #CBE6E2;
}

.n3d-bcta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Lightbox Modal */
.n3d-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.n3d-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.n3d-lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.n3d-lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.n3d-lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

#n3d-lightbox-caption {
  margin-top: 12px;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

/* Responsive Rules for Service Page */
@media (max-width: 1100px) {
  .n3d-specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .n3d-tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-estimator-form {
    grid-template-columns: 1fr 1fr;
  }

  .n3d-process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .n3d-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 868px) {
  .n3d-sla-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .n3d-sla-title {
    font-size: 30px;
  }

  .n3d-specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-tech-cards-grid {
    grid-template-columns: 1fr;
  }

  .n3d-materials-grid {
    grid-template-columns: 1fr;
  }

  .n3d-commitments-grid {
    grid-template-columns: 1fr;
  }

  .n3d-process-timeline {
    grid-template-columns: 1fr;
  }

  .n3d-quote-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .n3d-quote-card {
    padding: 28px 20px;
  }

  .n3d-estimator-form {
    grid-template-columns: 1fr;
  }

  .n3d-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-bottom-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .n3d-specs-grid {
    grid-template-columns: 1fr;
  }

  .n3d-gallery-grid {
    grid-template-columns: 1fr;
  }

  .n3d-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   WOOCOMMERCE ARCHIVE & PRODUCT GRID STYLING
   ========================================================================== */

.woocommerce-products-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--n3d-border);
}

.woocommerce-products-header__title.page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--n3d-deep);
  margin: 0 0 8px;
}

.woocommerce-breadcrumb {
  font-size: 13.5px;
  color: var(--n3d-muted);
  margin-bottom: 16px;
}

.woocommerce-breadcrumb a {
  color: var(--n3d-primary);
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   WOOCOMMERCE ARCHIVE / SHOP 5-COLUMN FULL-WIDTH LAYOUT
   ========================================================================== */

/* Shop Page Title */
.woocommerce .page-title,
.n3d-wc-archive-container .page-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--n3d-deep) !important;
  margin: 6px 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1.3 !important;
}

.woocommerce .page-title::before,
.n3d-wc-archive-container .page-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--n3d-primary);
  border-radius: 3px;
}

/* Category Filter Tabs on Shop & Taxonomy Pages */
.n3d-shop-cat-tabs-wrapper {
  margin-bottom: 20px;
}

.n3d-shop-cat-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.n3d-shop-cat-tab {
  background: #ffffff;
  border: 1px solid var(--n3d-border);
  color: var(--n3d-text-heading);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.n3d-shop-cat-tab i {
  color: var(--n3d-primary);
  font-size: 14px;
}

.n3d-shop-cat-tab:hover {
  border-color: var(--n3d-primary);
  color: var(--n3d-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.n3d-shop-cat-tab.active {
  background: var(--n3d-primary);
  color: #ffffff;
  border-color: var(--n3d-primary);
  box-shadow: 0 4px 12px rgba(10, 70, 64, 0.25);
}

.n3d-shop-cat-tab.active i {
  color: var(--n3d-pear);
}

/* Subcategory Pills */
.n3d-shop-subcat-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border-subtle);
}

.n3d-subcat-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--n3d-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.n3d-subcat-label i {
  color: var(--n3d-primary);
}

.n3d-shop-subcat-pill {
  background: rgba(10, 70, 64, 0.05);
  border: 1px solid rgba(10, 70, 64, 0.15);
  color: var(--n3d-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.n3d-shop-subcat-pill:hover {
  background: var(--n3d-primary);
  color: #ffffff;
  border-color: var(--n3d-primary);
  transform: translateY(-1px);
}

/* Shop Toolbar: Result Count & Ordering */
.n3d-shop-toolbar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: #ffffff !important;
  padding: 10px 16px !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--n3d-border) !important;
  box-shadow: var(--shadow-sm) !important;
  margin: 14px 0 20px 0 !important;
}

.woocommerce .woocommerce-result-count {
  font-size: 13.5px !important;
  color: var(--n3d-text-muted) !important;
  margin: 0 !important;
  float: none !important;
  font-weight: 500 !important;
}

.woocommerce .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}

.woocommerce .woocommerce-ordering select {
  padding: 8px 14px !important;
  border: 1px solid var(--n3d-border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13.5px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  color: var(--n3d-text-heading) !important;
  background-color: #ffffff !important;
  outline: none !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}

.woocommerce .woocommerce-ordering select:focus {
  border-color: var(--n3d-primary) !important;
  box-shadow: 0 0 0 2px rgba(10, 70, 64, 0.1) !important;
}

/* 5-Column WooCommerce Products Grid */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 16px 0 36px !important;
  padding: 0 !important;
  clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
}

@media (min-width: 1600px) {

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 1280px) {

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 1100px) {

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
}

@media (max-width: 860px) {

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
  }
}

@media (max-width: 600px) {

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}

/* WooCommerce Product Card: Compact & Balanced matching Frontpage */
.woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid var(--n3d-border) !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 10px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
  position: relative !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--n3d-primary) !important;
}

/* ==========================================================================
   PRODUCT CATALOG & ARCHIVE ALTERNATING ROW STRIPING (1 DÒNG TRẮNG, 1 DÒNG XANH NHẸ)
   Applied to /shop, /danh-muc-san-pham/*, /tu-khoa-san-pham/*
   Responsive across 5-col (Desktop), 4-col (Laptop), 3-col (Tablet), 2-col (Mobile)
   ========================================================================== */

/* 5 Columns (Screens > 1100px) */
@media (min-width: 1101px) {

  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 6),
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 7),
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 8),
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 9),
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 10),
  body.woocommerce-shop ul.products li.product:nth-child(10n + 6),
  body.woocommerce-shop ul.products li.product:nth-child(10n + 7),
  body.woocommerce-shop ul.products li.product:nth-child(10n + 8),
  body.woocommerce-shop ul.products li.product:nth-child(10n + 9),
  body.woocommerce-shop ul.products li.product:nth-child(10n + 10),
  body.tax-product_cat ul.products li.product:nth-child(10n + 6),
  body.tax-product_cat ul.products li.product:nth-child(10n + 7),
  body.tax-product_cat ul.products li.product:nth-child(10n + 8),
  body.tax-product_cat ul.products li.product:nth-child(10n + 9),
  body.tax-product_cat ul.products li.product:nth-child(10n + 10),
  body.tax-product_tag ul.products li.product:nth-child(10n + 6),
  body.tax-product_tag ul.products li.product:nth-child(10n + 7),
  body.tax-product_tag ul.products li.product:nth-child(10n + 8),
  body.tax-product_tag ul.products li.product:nth-child(10n + 9),
  body.tax-product_tag ul.products li.product:nth-child(10n + 10) {
    background: #D8ECE7 !important;
    border-color: #B2D9D1 !important;
  }

  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 6) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 7) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 8) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 9) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(10n + 10) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(10n + 6) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(10n + 7) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(10n + 8) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(10n + 9) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(10n + 10) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(10n + 6) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(10n + 7) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(10n + 8) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(10n + 9) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(10n + 10) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(10n + 6) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(10n + 7) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(10n + 8) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(10n + 9) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(10n + 10) .n3d-card-thumb {
    background-color: #FFFFFF !important;
  }
}

/* 4 Columns (861px - 1100px) */
@media (min-width: 861px) and (max-width: 1100px) {

  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 5),
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 6),
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 7),
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 8),
  body.woocommerce-shop ul.products li.product:nth-child(8n + 5),
  body.woocommerce-shop ul.products li.product:nth-child(8n + 6),
  body.woocommerce-shop ul.products li.product:nth-child(8n + 7),
  body.woocommerce-shop ul.products li.product:nth-child(8n + 8),
  body.tax-product_cat ul.products li.product:nth-child(8n + 5),
  body.tax-product_cat ul.products li.product:nth-child(8n + 6),
  body.tax-product_cat ul.products li.product:nth-child(8n + 7),
  body.tax-product_cat ul.products li.product:nth-child(8n + 8),
  body.tax-product_tag ul.products li.product:nth-child(8n + 5),
  body.tax-product_tag ul.products li.product:nth-child(8n + 6),
  body.tax-product_tag ul.products li.product:nth-child(8n + 7),
  body.tax-product_tag ul.products li.product:nth-child(8n + 8) {
    background: #D8ECE7 !important;
    border-color: #B2D9D1 !important;
  }

  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 5) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 6) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 7) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(8n + 8) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(8n + 5) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(8n + 6) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(8n + 7) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(8n + 8) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(8n + 5) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(8n + 6) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(8n + 7) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(8n + 8) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(8n + 5) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(8n + 6) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(8n + 7) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(8n + 8) .n3d-card-thumb {
    background-color: #FFFFFF !important;
  }
}

/* 3 Columns (601px - 860px) */
@media (min-width: 601px) and (max-width: 860px) {

  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 4),
  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 5),
  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 6),
  body.woocommerce-shop ul.products li.product:nth-child(6n + 4),
  body.woocommerce-shop ul.products li.product:nth-child(6n + 5),
  body.woocommerce-shop ul.products li.product:nth-child(6n + 6),
  body.tax-product_cat ul.products li.product:nth-child(6n + 4),
  body.tax-product_cat ul.products li.product:nth-child(6n + 5),
  body.tax-product_cat ul.products li.product:nth-child(6n + 6),
  body.tax-product_tag ul.products li.product:nth-child(6n + 4),
  body.tax-product_tag ul.products li.product:nth-child(6n + 5),
  body.tax-product_tag ul.products li.product:nth-child(6n + 6) {
    background: #D8ECE7 !important;
    border-color: #B2D9D1 !important;
  }

  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 4) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 5) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(6n + 6) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(6n + 4) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(6n + 5) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(6n + 6) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(6n + 4) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(6n + 5) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(6n + 6) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(6n + 4) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(6n + 5) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(6n + 6) .n3d-card-thumb {
    background-color: #FFFFFF !important;
  }
}

/* 2 Columns (Mobile <= 600px) */
@media (max-width: 600px) {

  .n3d-wc-archive-container ul.products li.product:nth-child(4n + 3),
  .n3d-wc-archive-container ul.products li.product:nth-child(4n + 4),
  body.woocommerce-shop ul.products li.product:nth-child(4n + 3),
  body.woocommerce-shop ul.products li.product:nth-child(4n + 4),
  body.tax-product_cat ul.products li.product:nth-child(4n + 3),
  body.tax-product_cat ul.products li.product:nth-child(4n + 4),
  body.tax-product_tag ul.products li.product:nth-child(4n + 3),
  body.tax-product_tag ul.products li.product:nth-child(4n + 4) {
    background: #D8ECE7 !important;
    border-color: #B2D9D1 !important;
  }

  .n3d-wc-archive-container ul.products li.product:nth-child(4n + 3) .n3d-card-thumb,
  .n3d-wc-archive-container ul.products li.product:nth-child(4n + 4) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(4n + 3) .n3d-card-thumb,
  body.woocommerce-shop ul.products li.product:nth-child(4n + 4) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(4n + 3) .n3d-card-thumb,
  body.tax-product_cat ul.products li.product:nth-child(4n + 4) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(4n + 3) .n3d-card-thumb,
  body.tax-product_tag ul.products li.product:nth-child(4n + 4) .n3d-card-thumb {
    background-color: #FFFFFF !important;
  }
}

/* Hover state for all archive products */
.n3d-wc-archive-container ul.products li.product:hover,
body.woocommerce-shop ul.products li.product:hover,
body.tax-product_cat ul.products li.product:hover,
body.tax-product_tag ul.products li.product:hover {
  background: #FFFFFF !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 26px rgba(10, 70, 64, 0.15) !important;
  border-color: var(--n3d-primary) !important;
}

/* Thumbnail Frame in WooCommerce Products */
.woocommerce ul.products li.product .n3d-card-thumb {
  height: 165px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  border-radius: var(--radius-sm) !important;
  background-color: #F8FAFB !important;
  padding: 6px !important;
}

.woocommerce ul.products li.product .n3d-card-thumb a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

.woocommerce ul.products li.product .n3d-card-thumb img,
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
  max-height: 152px !important;
  width: auto !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  transition: transform 0.4s ease !important;
}

.woocommerce ul.products li.product:hover .n3d-card-thumb img {
  transform: scale(1.06) !important;
}

/* Product Title */
.woocommerce ul.products li.product .n3d-card-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--n3d-text-heading) !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 40px !important;
}

.woocommerce ul.products li.product .n3d-card-title a:hover {
  color: var(--n3d-primary) !important;
}

/* Price & Buy Action in Card Bottom */
.woocommerce ul.products li.product .n3d-card-bottom {
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--n3d-border-subtle) !important;
}

.woocommerce ul.products li.product .n3d-card-price {
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: var(--n3d-primary) !important;
  line-height: 1.2 !important;
}

.woocommerce ul.products li.product .n3d-card-oldprice {
  font-size: 11px !important;
  color: #94A3B8 !important;
  text-decoration: line-through !important;
  margin-top: 1px !important;
}

/* WooCommerce Add to Cart AJAX Button on 5-col Card */
.woocommerce ul.products li.product .button.add_to_cart_button {
  background-color: var(--n3d-pear) !important;
  color: var(--n3d-pear-text) !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0 !important;
  border: none !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button::before {
  content: "\f217" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: var(--n3d-pear-text) !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover {
  background-color: var(--n3d-pear-hover) !important;
  transform: scale(1.08) !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button.loading::before {
  content: "\f110" !important;
  animation: fa-spin 1s infinite linear !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button.added::after {
  content: "✓" !important;
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  background: var(--n3d-success) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #fff !important;
}

.woocommerce ul.products li.product .added_to_cart {
  display: none !important;
}

/* Quote button in card bottom */
.woocommerce ul.products li.product .n3d-card-quote-btn,
.n3d-card .n3d-card-quote-btn,
.n3d-card-quote-btn {
  width: 100% !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, var(--n3d-primary) 0%, #083732 100%) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  text-decoration: none !important;
  transition: var(--transition) !important;
  box-shadow: 0 2px 6px rgba(10, 70, 64, 0.2) !important;
  border: none !important;
}

.woocommerce ul.products li.product .n3d-card-quote-btn:hover,
.n3d-card .n3d-card-quote-btn:hover,
.n3d-card-quote-btn:hover {
  background: var(--n3d-deep) !important;
  color: var(--n3d-pear) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(10, 70, 64, 0.3) !important;
}

/* Pagination */
.woocommerce-pagination {
  margin-top: 30px !important;
  text-align: center !important;
}

.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border: 1px solid var(--n3d-border) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--n3d-dark) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers.current,
.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
  background: var(--n3d-primary) !important;
  border-color: var(--n3d-primary) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .n3d-logo {
    max-width: 180px;
    height: 36px;
  }

  .n3d-logo-img,
  .n3d-logo img,
  .woocommerce .n3d-logo img,
  .woocommerce-page .n3d-logo img,
  .woocommerce .n3d-logo .n3d-logo-img,
  .woocommerce-page .n3d-logo .n3d-logo-img {
    height: 36px !important;
    max-width: 175px !important;
    max-height: 36px !important;
  }
}

/* ==========================================================================
   WOOCOMMERCE SINGLE PRODUCT DETAIL PAGE (NEXT 3D BRAND IDENTITY)
   ========================================================================== */

/* Breadcrumbs */
.n3d-breadcrumb-wrapper {
  margin-bottom: 20px;
}

/* Standardized Full-Width Breadcrumb Bar for all child pages */
.n3d-breadcrumb-wrap {
  background: #F1F5F7 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--n3d-border) !important;
  width: 100% !important;
}

.n3d-breadcrumb-wrap .container {
  display: flex !important;
  align-items: center !important;
}

.n3d-breadcrumb-wrap ul,
.n3d-breadcrumb-wrap .woocommerce-breadcrumb,
.woocommerce-breadcrumb.n3d-breadcrumb {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  font-size: 13.5px !important;
  color: #64748b !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

.n3d-breadcrumb-wrap a,
.n3d-breadcrumb-wrap .woocommerce-breadcrumb a,
.woocommerce-breadcrumb.n3d-breadcrumb a {
  color: #475569 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.n3d-breadcrumb-wrap a:hover,
.n3d-breadcrumb-wrap .woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb.n3d-breadcrumb a:hover {
  color: var(--n3d-primary) !important;
  text-decoration: underline !important;
}

.n3d-breadcrumb-wrap .n3d-bc-sep,
.woocommerce-breadcrumb.n3d-breadcrumb .n3d-bc-sep,
.n3d-breadcrumb-wrap .fa-angle-right,
.n3d-breadcrumb-wrap .fa-chevron-right,
.n3d-breadcrumb-wrap .separator {
  font-size: 10px !important;
  margin: 0 8px !important;
  color: #94a3b8 !important;
}

.n3d-breadcrumb-wrap .current,
.n3d-breadcrumb-wrap li:last-child {
  color: var(--n3d-text-heading) !important;
  font-weight: 600 !important;
}

/* Single Product Container & Layout */
.n3d-single-product-container {
  padding-top: 30px;
  padding-bottom: 70px;
}

.n3d-wc-card {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--n3d-border, #e2e8f0);
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.04));
  padding: 36px 40px;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}

.woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%) !important;
  column-gap: 44px !important;
  row-gap: 40px !important;
  align-items: start !important;
  position: relative !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce div.product::after {
  content: none !important;
}

.woocommerce div.product div.images {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
}

/* Gallery & Thumbnails */
.woocommerce-product-gallery {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce-product-gallery .flex-viewport {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid var(--n3d-border) !important;
  background: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: box-shadow 0.3s ease !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper:hover {
  box-shadow: 0 8px 26px rgba(10, 70, 64, 0.1) !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

.woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 14px !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce-product-gallery ol.flex-control-thumbs li {
  width: 78px !important;
  height: 78px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 2px solid var(--n3d-border) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
  background: #fff !important;
}

.woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s ease !important;
}

.woocommerce-product-gallery ol.flex-control-thumbs li:hover,
.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active {
  border-color: var(--n3d-primary) !important;
  box-shadow: 0 4px 10px rgba(10, 70, 64, 0.15) !important;
}

.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery ol.flex-control-thumbs li:hover img {
  opacity: 1 !important;
}

.woocommerce-product-gallery__trigger {
  top: 14px !important;
  right: 14px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 9 !important;
}

/* Product Summary Typography */
.woocommerce div.product .product_title {
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: var(--n3d-deep) !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: -0.3px !important;
}

/* Price Box - Bold, Prominent & Branded */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 0 14px 0 !important;
  padding: 16px 22px !important;
  background: linear-gradient(135deg, rgba(10, 70, 64, 0.04) 0%, rgba(219, 225, 52, 0.09) 100%) !important;
  border: 1px solid rgba(10, 70, 64, 0.12) !important;
  border-left: 5px solid var(--n3d-primary) !important;
  border-radius: 12px !important;
}

.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #E53E3E !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}

.woocommerce div.product p.price .woocommerce-Price-currencySymbol,
.woocommerce div.product span.price .woocommerce-Price-currencySymbol {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #E53E3E !important;
  vertical-align: baseline !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  opacity: 0.6 !important;
  font-size: 18px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.woocommerce div.product p.price del .woocommerce-Price-amount,
.woocommerce div.product span.price del .woocommerce-Price-amount {
  font-size: 18px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none !important;
  background: transparent !important;
}

/* Price Badges */
.n3d-price-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.n3d-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
}

.n3d-badge-vat {
  background: rgba(10, 70, 64, 0.08);
  color: var(--n3d-primary);
  border: 1px solid rgba(10, 70, 64, 0.16);
}

.n3d-badge-stock {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.n3d-badge-genuine {
  background: rgba(219, 225, 52, 0.25);
  color: #4b5204;
  border: 1px solid rgba(219, 225, 52, 0.55);
}

/* Short Description */
.woocommerce-product-details__short-description {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #475569 !important;
  margin-bottom: 22px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce-product-details__short-description strong {
  color: var(--n3d-deep) !important;
  font-weight: 700 !important;
}

/* Quantity & Add to Cart Form */
.woocommerce div.product form.cart {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 22px 0 24px 0 !important;
}

.woocommerce div.product form.cart .quantity {
  display: inline-flex !important;
  margin: 0 !important;
  height: 52px !important;
}

.woocommerce div.product form.cart .quantity input.qty {
  width: 72px !important;
  height: 52px !important;
  border: 1.5px solid var(--n3d-border) !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--n3d-deep) !important;
  background: #ffffff !important;
  text-align: center !important;
  padding: 0 8px !important;
  transition: all 0.2s ease !important;
}

.woocommerce div.product form.cart .quantity input.qty:focus {
  border-color: var(--n3d-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(10, 70, 64, 0.12) !important;
}

/* Add to Cart Button (Pear Lime Brand Identity) */
.woocommerce div.product form.cart .button.single_add_to_cart_button {
  height: 52px !important;
  line-height: 52px !important;
  padding: 0 32px !important;
  background-color: var(--n3d-pear) !important;
  color: #072B27 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 14px rgba(219, 225, 52, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button::before {
  content: "\f217" !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-size: 16px !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
  background-color: #C5CB26 !important;
  color: #041A17 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(219, 225, 52, 0.6) !important;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:active {
  transform: translateY(0) !important;
}

/* Fast Buy / Zalo Consultation Button */
.n3d-btn-fast-buy {
  height: 52px !important;
  line-height: 52px !important;
  padding: 0 24px !important;
  background-color: var(--n3d-primary) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(10, 70, 64, 0.25) !important;
  cursor: pointer !important;
}

.n3d-btn-fast-buy:hover {
  background-color: var(--n3d-deep) !important;
  color: var(--n3d-pear) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(10, 70, 64, 0.35) !important;
}

/* Product Commitments Box */
.n3d-commitments-box {
  margin: 20px 0 14px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid var(--n3d-border);
  border-radius: 12px;
  padding: 20px;
}

.n3d-commitments-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--n3d-deep);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-commitments-title i {
  color: var(--n3d-primary);
  font-size: 16px;
}

.n3d-commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.n3d-commit-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.n3d-commit-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(10, 70, 64, 0.1);
  color: var(--n3d-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.n3d-commit-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--n3d-deep);
  line-height: 1.35;
}

.n3d-commit-info span {
  display: block;
  font-size: 12px;
  color: #64748b;
  line-height: 1.35;
  margin-top: 2px;
}

.n3d-quick-consult {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--n3d-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.n3d-consult-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.n3d-consult-left i {
  font-size: 22px;
  color: var(--n3d-primary);
}

.n3d-consult-left strong {
  font-size: 13.5px;
  color: var(--n3d-deep);
  display: block;
}

.n3d-consult-left span {
  font-size: 12px;
  color: #64748b;
  display: block;
}

.n3d-consult-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.n3d-consult-call {
  background: #ffffff;
  border: 1.5px solid var(--n3d-primary);
  color: var(--n3d-primary);
}

.n3d-consult-call:hover {
  background: var(--n3d-primary);
  color: #ffffff;
}

.n3d-consult-zalo {
  background: #0068FF;
  color: #ffffff;
  border: 1.5px solid #0068FF;
}

.n3d-consult-zalo:hover {
  background: #0054cc;
  border-color: #0054cc;
  color: #ffffff;
}

/* Product Meta */
.woocommerce div.product .product_meta {
  margin-top: 22px !important;
  padding-top: 16px !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 13px !important;
  color: #64748b !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.woocommerce div.product .product_meta>span {
  display: block !important;
}

.woocommerce div.product .product_meta a {
  color: var(--n3d-primary) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.woocommerce div.product .product_meta a:hover {
  text-decoration: underline !important;
}

/* Product Tabs Section */
.woocommerce div.product .woocommerce-tabs {
  margin-top: 45px !important;
  border-top: 1px solid var(--n3d-border) !important;
  padding-top: 35px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  gap: 10px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  padding: 0 !important;
  margin: 0 0 32px 0 !important;
  list-style: none !important;
  overflow-x: auto !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 26px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-bottom: none !important;
  border-radius: 10px 10px 0 0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  bottom: -2px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background: var(--n3d-primary) !important;
  color: #ffffff !important;
  border-color: var(--n3d-primary) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active) a:hover {
  background: #f1f5f9 !important;
  color: var(--n3d-primary) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 10px 0 30px 0 !important;
  line-height: 1.75 !important;
  color: #334155 !important;
}

/* Product Description Inner Typography & Layout */
.woocommerce-Tabs-panel--description {
  color: #334155;
  font-size: 15.5px;
  line-height: 1.8;
  word-break: break-word;
}

.woocommerce-Tabs-panel--description .n3d-content-h2,
.woocommerce-Tabs-panel--description h2 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #004D40 !important;
  background: linear-gradient(135deg, rgba(7, 175, 142, 0.08) 0%, rgba(0, 121, 107, 0.03) 100%) !important;
  border-left: 4px solid #00796B !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 12px 18px !important;
  margin: 36px 0 18px 0 !important;
  line-height: 1.4 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce-Tabs-panel--description .n3d-content-h2 i,
.woocommerce-Tabs-panel--description h2 i {
  color: #07af8e !important;
  font-size: 19px !important;
  flex-shrink: 0 !important;
}

.woocommerce-Tabs-panel--description .n3d-content-h3,
.woocommerce-Tabs-panel--description h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #00796B !important;
  margin: 24px 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1.4 !important;
}

.woocommerce-Tabs-panel--description .n3d-content-h3 i,
.woocommerce-Tabs-panel--description h3 i {
  color: #07af8e !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

.woocommerce-Tabs-panel--description h4 {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 18px 0 8px 0 !important;
  line-height: 1.4 !important;
}

.woocommerce-Tabs-panel--description p {
  font-size: 15.5px !important;
  line-height: 1.8 !important;
  color: #334155 !important;
  margin-bottom: 16px !important;
}

.woocommerce-Tabs-panel--description strong {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.woocommerce-Tabs-panel--description ul {
  padding-left: 20px !important;
  margin-bottom: 20px !important;
}

.woocommerce-Tabs-panel--description li {
  margin-bottom: 8px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #334155 !important;
}

/* Images & Figures in Description */
.woocommerce-Tabs-panel figure,
.woocommerce-Tabs-panel .wp-caption,
.woocommerce-Tabs-panel .n3d-content-figure {
  max-width: 100% !important;
  width: auto !important;
  margin: 28px auto !important;
  text-align: center !important;
  display: block !important;
}

.woocommerce-Tabs-panel img,
.woocommerce-Tabs-panel figure img,
.woocommerce-Tabs-panel .wp-caption img,
.woocommerce-Tabs-panel .n3d-content-img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 12px !important;
  display: block !important;
  margin: 0 auto !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07) !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.woocommerce-Tabs-panel img:hover,
.woocommerce-Tabs-panel figure img:hover,
.woocommerce-Tabs-panel .n3d-content-img:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
  border-color: #07af8e !important;
}

.woocommerce-Tabs-panel figcaption,
.woocommerce-Tabs-panel .wp-caption-text,
.woocommerce-Tabs-panel .n3d-figcaption {
  font-size: 13.5px !important;
  color: #64748b !important;
  font-style: italic !important;
  margin-top: 10px !important;
  text-align: center !important;
  display: block !important;
}

/* Modern Technical Specifications Table */
.n3d-table-wrapper {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin: 26px 0 34px 0 !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  background: #ffffff !important;
}

.woocommerce-Tabs-panel table,
.woocommerce-Tabs-panel .n3d-specs-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: none !important;
  margin: 0 !important;
}

.woocommerce-Tabs-panel table thead th,
.woocommerce-Tabs-panel .n3d-specs-table th {
  background: linear-gradient(135deg, #00796B 0%, #004D40 100%) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 18px !important;
  border: none !important;
  text-align: left !important;
}

.woocommerce-Tabs-panel table tbody tr,
.woocommerce-Tabs-panel .n3d-specs-table tbody tr {
  transition: background-color 0.15s ease !important;
}

.woocommerce-Tabs-panel table tbody tr:nth-child(even),
.woocommerce-Tabs-panel .n3d-specs-table tbody tr:nth-child(even) {
  background: #f8fafc !important;
}

.woocommerce-Tabs-panel table tbody tr:hover,
.woocommerce-Tabs-panel .n3d-specs-table tbody tr:hover {
  background: #f0fdfa !important;
}

.woocommerce-Tabs-panel table tbody td,
.woocommerce-Tabs-panel .n3d-specs-table tbody td {
  padding: 13px 18px !important;
  font-size: 14.5px !important;
  border-top: 1px solid #f1f5f9 !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  vertical-align: middle !important;
  color: #334155 !important;
}

.woocommerce-Tabs-panel table tbody td:first-child,
.woocommerce-Tabs-panel .n3d-specs-table tbody td:first-child {
  font-weight: 700 !important;
  color: #004D40 !important;
  width: 32% !important;
  border-right: 1px solid #f1f5f9 !important;
}

.woocommerce-Tabs-panel table tbody td:last-child,
.woocommerce-Tabs-panel .n3d-specs-table tbody td:last-child {
  color: #334155 !important;
}

/* Next 3D Product Corporate Commitment Banner */
.n3d-product-commitment-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%) !important;
  border: 1.5px solid #a7f3d0 !important;
  border-radius: 16px !important;
  padding: 32px 30px !important;
  margin: 44px 0 20px 0 !important;
  box-shadow: 0 10px 28px rgba(7, 175, 142, 0.08) !important;
}

.n3d-pcb-header {
  text-align: center !important;
  margin-bottom: 24px !important;
}

.n3d-pcb-badge {
  background: #00796B !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
}

.n3d-pcb-title {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #004D40 !important;
  margin: 0 0 8px 0 !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
  justify-content: center !important;
  display: block !important;
}

.n3d-pcb-sub {
  font-size: 14.5px !important;
  color: #475569 !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.n3d-pcb-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
  margin-top: 24px !important;
}

.n3d-pcb-card {
  background: #ffffff !important;
  border: 1px solid #d1fae5 !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s ease !important;
}

.n3d-pcb-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) !important;
  border-color: #07af8e !important;
}

.n3d-pcb-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: rgba(7, 175, 142, 0.12) !important;
  color: #00796B !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.n3d-pcb-info h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 4px 0 !important;
}

.n3d-pcb-info p {
  font-size: 13.5px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.n3d-pcb-footer {
  margin-top: 24px !important;
  padding-top: 18px !important;
  border-top: 1px dashed #6ee7b7 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  font-size: 13.5px !important;
  color: #334155 !important;
}

.n3d-pcb-contact-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 600 !important;
}

.n3d-pcb-contact-item i {
  color: #00796B !important;
  font-size: 16px !important;
}

.n3d-pcb-contact-item a {
  color: #d97706 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.n3d-pcb-contact-item a:hover {
  text-decoration: underline !important;
}

@media (max-width: 768px) {
  .n3d-pcb-grid {
    grid-template-columns: 1fr !important;
  }

  .n3d-pcb-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Related Products */
.woocommerce div.product .related.products {
  margin-top: 48px !important;
  border-top: 1px solid var(--n3d-border) !important;
  padding-top: 36px !important;
}

.woocommerce div.product .related.products>h2 {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--n3d-deep) !important;
  margin-bottom: 24px !important;
  position: relative !important;
  padding-left: 14px !important;
  border-left: 4px solid var(--n3d-primary) !important;
}

/* Responsive Single Product */
@media (max-width: 991px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .n3d-commitments-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .n3d-single-product-container {
    padding-top: 14px !important;
    padding-bottom: 40px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .n3d-wc-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }

  .woocommerce div.product div.images,
  .woocommerce-product-gallery,
  .woocommerce-product-gallery .flex-viewport,
  .woocommerce-product-gallery__wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .zoomImg {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .woocommerce-product-gallery ol.flex-control-thumbs {
    gap: 8px !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .woocommerce-product-gallery ol.flex-control-thumbs li {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/* Single Article / Post & Content Fluid Responsiveness */
.n3d-article-banner {
  padding: 36px 40px 30px;
}

.n3d-entry-content {
  padding: 40px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #334155;
  word-break: break-word;
  overflow-wrap: break-word;
}

.n3d-article-footer {
  padding: 20px 40px;
}

.n3d-breadcrumb-current {
  max-width: 350px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n3d-entry-content img,
.n3d-entry-content figure,
.n3d-entry-content .wp-block-image,
.entry-content img,
.entry-content figure,
.entry-content .wp-block-image,
.comment-content img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.n3d-entry-content table,
.entry-content table {
  max-width: 100% !important;
  width: 100% !important;
  border-collapse: collapse !important;
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.n3d-entry-content iframe,
.n3d-entry-content video,
.entry-content iframe,
.entry-content video {
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .n3d-article-banner {
    padding: 22px 16px 20px !important;
  }

  .n3d-entry-content {
    padding: 20px 16px !important;
  }

  .n3d-article-footer {
    padding: 16px !important;
  }

  .n3d-breadcrumb-current {
    max-width: 100% !important;
    white-space: normal !important;
  }
}

@media (max-width: 576px) {
  .woocommerce div.product .product_title {
    font-size: 22px !important;
  }

  .woocommerce div.product p.price .woocommerce-Price-amount,
  .woocommerce div.product span.price .woocommerce-Price-amount {
    font-size: 26px !important;
  }

  .woocommerce div.product form.cart {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .woocommerce div.product form.cart .quantity {
    width: 100% !important;
  }

  .woocommerce div.product form.cart .quantity input.qty {
    width: 100% !important;
  }

  .woocommerce div.product form.cart .button.single_add_to_cart_button,
  .n3d-btn-fast-buy {
    width: 100% !important;
    justify-content: center !important;
  }

  .n3d-quick-consult {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .n3d-consult-actions {
    width: 100% !important;
  }

  .n3d-consult-btn {
    flex: 1 !important;
    justify-content: center !important;
  }

  .n3d-hero-tabs {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
    padding-bottom: 4px !important;
    flex-wrap: nowrap !important;
  }

  .n3d-hero-tab-btn {
    flex: 0 0 auto !important;
    padding: 6px 12px !important;
    width: auto !important;
  }
}

/* ==============================================================================
   CONTACT FOR PRICE (LIÊN HỆ BÁO GIÁ) STYLES
   ============================================================================== */
.n3d-price-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--n3d-teal, #07af8e);
  background: rgba(7, 175, 142, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(7, 175, 142, 0.2);
}

.woocommerce ul.products li.product .n3d-price-contact {
  font-size: 14px;
  margin-bottom: 6px;
}

.woocommerce ul.products li.product .button.n3d-btn-contact-price {
  background: linear-gradient(135deg, var(--n3d-teal, #07af8e) 0%, #00796B 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(7, 175, 142, 0.25) !important;
  border: none !important;
  width: 100% !important;
  text-transform: none !important;
}

.woocommerce ul.products li.product .button.n3d-btn-contact-price:hover {
  background: linear-gradient(135deg, #00796B 0%, #004D40 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(7, 175, 142, 0.35) !important;
}

.n3d-contact-quote-wrapper {
  margin: 22px 0;
  padding: 18px 20px;
  background: #f8fbfa;
  border: 1px solid rgba(7, 175, 142, 0.25);
  border-radius: 12px;
}

.n3d-quote-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.n3d-btn-quote-zalo {
  background: linear-gradient(135deg, #07af8e 0%, #00796B 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 13px 24px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  box-shadow: 0 4px 12px rgba(7, 175, 142, 0.3) !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.n3d-btn-quote-zalo:hover {
  background: linear-gradient(135deg, #00796B 0%, #004D40 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 175, 142, 0.4) !important;
}

.n3d-btn-quote-call {
  background: #004D40 !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 13px 24px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-size: 15px !important;
  transition: all 0.3s ease !important;
  border: none !important;
}

.n3d-btn-quote-call:hover {
  background: #00251a !important;
  transform: translateY(-2px);
}

.n3d-quote-note {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.n3d-quote-note i {
  color: #07af8e;
  font-size: 15px;
  flex-shrink: 0;
}

/* Single Product Contact Price Styling */
.single-product .entry-summary .price .n3d-price-contact {
  font-size: 20px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(7, 175, 142, 0.12) 0%, rgba(0, 121, 107, 0.08) 100%);
  border: 1px solid rgba(7, 175, 142, 0.35);
  color: #00796B;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(7, 175, 142, 0.1);
}

.single-product .entry-summary .price .n3d-price-contact i {
  color: #07af8e;
  animation: n3d-phone-ring 2.5s infinite ease-in-out;
}

@keyframes n3d-phone-ring {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-15deg);
  }

  20%,
  40% {
    transform: rotate(15deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

.n3d-product-commitment-box {
  transition: all 0.3s ease;
}

.n3d-product-commitment-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1 !important;
}

/* ==========================================================================
   SECTION CẨM NANG & KINH NGHIỆM IN 3D (5 CỘT 1 HÀNG)
   ========================================================================== */
.n3d-news-section {
  position: relative;
  margin-bottom: 50px;
}

.n3d-news-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.n3d-news-nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.n3d-news-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0A4640;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.n3d-news-nav-btn:hover {
  background: #0A4640;
  color: #DBE134;
  border-color: #0A4640;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 70, 64, 0.2);
}

.n3d-news-nav-btn:active {
  transform: translateY(0);
}

.n3d-news-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 6px 2px 18px;
}

.n3d-news-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F8FAFC;
  padding-bottom: 8px;
}

.n3d-news-row::-webkit-scrollbar {
  height: 6px;
}

.n3d-news-row::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 10px;
}

.n3d-news-row::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 10px;
}

.n3d-news-row::-webkit-scrollbar-thumb:hover {
  background: #0A4640;
}

/* 5 CỘT 1 HÀNG TRÊN DESKTOP */
.n3d-news-col {
  flex: 0 0 calc((100% - (16px * 4)) / 5);
  min-width: calc((100% - (16px * 4)) / 5);
  max-width: calc((100% - (16px * 4)) / 5);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.n3d-news-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.n3d-news-card:hover {
  transform: translateY(-5px);
  border-color: #0A4640;
  box-shadow: 0 12px 24px -4px rgba(10, 70, 64, 0.14), 0 4px 8px -2px rgba(0, 0, 0, 0.04);
}

.n3d-news-thumb-link {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.n3d-news-thumb-box {
  position: relative;
  height: 145px;
  width: 100%;
  overflow: hidden;
  background: #031A17;
}

.n3d-news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.n3d-news-card:hover .n3d-news-img {
  transform: scale(1.08);
}

.n3d-news-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 70, 64, 0.92);
  backdrop-filter: blur(4px);
  color: #DBE134;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(219, 225, 52, 0.35);
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.n3d-news-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.n3d-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748B;
  margin-bottom: 8px;
}

.n3d-news-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.n3d-news-brand-tag {
  color: #00796B;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
}

.n3d-news-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 39px;
}

.n3d-news-title a {
  color: #002B24;
  text-decoration: none;
  transition: color 0.2s ease;
}

.n3d-news-title a:hover {
  color: #00796B;
}

.n3d-news-excerpt {
  font-size: 12px;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 37px;
}

.n3d-news-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.n3d-news-more {
  font-size: 12px;
  font-weight: 700;
  color: #00796B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.n3d-news-more:hover {
  color: #0A4640;
  gap: 7px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
  .n3d-news-col {
    flex: 0 0 calc((100% - (16px * 3)) / 4);
    min-width: calc((100% - (16px * 3)) / 4);
    max-width: calc((100% - (16px * 3)) / 4);
  }
}

@media (max-width: 992px) {
  .n3d-news-col {
    flex: 0 0 calc((100% - (16px * 2)) / 3);
    min-width: calc((100% - (16px * 2)) / 3);
    max-width: calc((100% - (16px * 2)) / 3);
  }
}

@media (max-width: 640px) {
  .n3d-news-col {
    flex: 0 0 calc((100% - 16px) / 1.6);
    min-width: calc((100% - 16px) / 1.6);
    max-width: calc((100% - 16px) / 1.6);
  }

  .n3d-news-nav-controls {
    display: none;
  }
}

/* ==========================================================================
   NEXT 3D E-COMMERCE: CART & CHECKOUT BRAND REDESIGN
   Brand Tokens:
   - Primary: #0A4640 (Dark Aquamarine Master)
   - Primary Light / Hover: #125E56 / #083732
   - Deep Accent: #052824
   - Neon Blue: #DEF1FB (Border: #BCE2F7, Dark: #1E70A0)
   - Pear CTA: #DBE134 (Hover: #C5CB26, Text: #072B27)
   - Sale / Attention: #E53E3E
   ========================================================================== */

/* Breadcrumbs */
.n3d-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--n3d-text-muted);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Page Article Cards */
.n3d-standard-article {
  background: #FFFFFF;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--n3d-border);
  box-shadow: var(--shadow-sm);
}

.n3d-commerce-article {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* 1. Checkout Progress Stepper */
.n3d-checkout-stepper-wrap {
  margin-bottom: 28px;
}

.n3d-checkout-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  padding: 16px 32px;
  border-radius: 16px;
  border: 1.5px solid var(--n3d-border);
  box-shadow: 0 4px 20px rgba(10, 70, 64, 0.05);
}

.n3d-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--n3d-text-muted);
  transition: all 0.25s ease;
  position: relative;
}

.n3d-step-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F7;
  color: #94A3B8;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.n3d-step-info {
  display: flex;
  flex-direction: column;
}

.n3d-step-subtitle {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94A3B8;
}

.n3d-step-title {
  font-size: 15px;
  font-weight: 700;
  color: #64748B;
  transition: all 0.25s ease;
}

/* Stepper Active State */
.n3d-step-item.is-active .n3d-step-badge {
  background: var(--n3d-primary);
  color: #FFFFFF;
  border-color: rgba(222, 241, 251, 0.4);
  box-shadow: 0 4px 12px rgba(10, 70, 64, 0.3);
}

.n3d-step-item.is-active .n3d-step-subtitle {
  color: var(--n3d-primary-light);
}

.n3d-step-item.is-active .n3d-step-title {
  color: var(--n3d-primary);
}

/* Stepper Completed State */
.n3d-step-item.is-completed .n3d-step-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-color: #10B981;
}

.n3d-step-item.is-completed .n3d-step-title {
  color: #0F172A;
}

/* Stepper Connector Line */
.n3d-step-connector {
  flex: 1;
  height: 2px;
  background: #E2E8F0;
  margin: 0 20px;
  position: relative;
  transition: all 0.3s ease;
}

.n3d-step-connector.is-completed {
  background: #10B981;
}

/* 2. Cart & Checkout Main Containers */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  font-family: var(--font-main) !important;
}

.wp-block-woocommerce-cart .wc-block-cart {
  background: transparent !important;
}

/* Left side (items / forms) */
.wc-block-cart__main,
.wc-block-checkout__main {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n3d-border) !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Right side (sidebar totals / summary) */
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n3d-border) !important;
  border-radius: 16px !important;
  padding: 24px 28px !important;
  box-shadow: var(--shadow-md) !important;
  height: fit-content !important;
}

/* Highlight Totals Sidebar Top Accent */
.wc-block-cart__sidebar::before,
.wc-block-checkout__sidebar::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--n3d-primary) 0%, var(--n3d-pear) 100%);
  border-radius: 4px 4px 0 0;
  margin: -24px -28px 20px -28px;
}

/* 3. Cart Table & Items */
.wc-block-cart-items__header {
  background: var(--n3d-surface-alt) !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  margin-bottom: 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--n3d-primary) !important;
}

.wc-block-cart-items__row {
  border-bottom: 1px solid var(--n3d-border-subtle) !important;
  padding: 20px 0 !important;
  transition: background 0.2s ease !important;
}

.wc-block-cart-items__row:last-child {
  border-bottom: none !important;
}

.wc-block-components-product-name {
  color: var(--n3d-text-heading) !important;
  font-weight: 700 !important;
  font-size: 15.5px !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease !important;
}

.wc-block-components-product-name:hover {
  color: var(--n3d-primary) !important;
}

.wc-block-components-product-metadata {
  font-size: 13px !important;
  color: var(--n3d-text-muted) !important;
  margin-top: 4px !important;
}

/* Product Image in Cart & Checkout */
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  border-radius: 10px !important;
  border: 1px solid var(--n3d-border) !important;
  padding: 4px !important;
  background: #FFFFFF !important;
  object-fit: contain !important;
}

/* Quantity Selector Capsule */
.wc-block-components-quantity-selector {
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  background: #F8FAFB !important;
  height: 38px !important;
  overflow: hidden !important;
}

.wc-block-components-quantity-selector__button {
  background: transparent !important;
  color: var(--n3d-primary) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  width: 34px !important;
  transition: all 0.2s ease !important;
}

.wc-block-components-quantity-selector__button:hover {
  background: var(--n3d-neon) !important;
  color: var(--n3d-primary) !important;
}

.wc-block-components-quantity-selector__input {
  font-weight: 700 !important;
  color: var(--n3d-text-heading) !important;
  font-size: 14px !important;
}

/* Trash / Remove icon */
.wc-block-cart-item__remove-link {
  color: #94A3B8 !important;
  transition: all 0.2s ease !important;
}

.wc-block-cart-item__remove-link:hover {
  color: var(--n3d-sale) !important;
  transform: scale(1.15) !important;
}

/* 4. Price & Totals Styling */
.wc-block-components-formatted-money-amount {
  font-weight: 700 !important;
}

.wc-block-cart-item__total .wc-block-components-formatted-money-amount {
  color: var(--n3d-text-heading) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

/* Cart & Checkout Totals Titles */
.wc-block-cart__totals-title,
.wc-block-components-checkout-order-summary__title {
  color: var(--n3d-primary) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wc-block-components-totals-item {
  padding: 10px 0 !important;
  border-bottom: 1px dashed var(--n3d-border) !important;
  font-size: 14.5px !important;
}

.wc-block-components-totals-footer-item {
  border-top: 2px solid var(--n3d-primary) !important;
  border-bottom: none !important;
  padding: 18px 0 !important;
  margin-top: 10px !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--n3d-text-heading) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 24px !important;
  font-weight: 900 !important;
  color: var(--n3d-sale) !important;
  letter-spacing: -0.5px !important;
}

/* 5. HIGH-IMPACT NEXT 3D CTA BUTTONS (PEAR ELECTRIC LIME) */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__empty-cart-wrapper a.wp-block-button__link {
  background: linear-gradient(135deg, #DBE134 0%, #D4DA28 100%) !important;
  color: #072B27 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 17px 28px !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(219, 225, 52, 0.45) !important;
  border: 1.5px solid #C8CF20 !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  width: 100% !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__empty-cart-wrapper a.wp-block-button__link:hover {
  background: var(--n3d-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--n3d-primary) !important;
  box-shadow: 0 8px 24px rgba(10, 70, 64, 0.35) !important;
  transform: translateY(-2px) !important;
}

/* 6. Checkout Form Fields & Inputs */
.wc-block-checkout__section-title {
  color: var(--n3d-primary) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.wc-block-components-text-input,
.wc-block-components-combobox {
  margin-bottom: 16px !important;
}

.wc-block-components-text-input input.wc-block-components-text-input__input,
.wc-block-components-combobox input.wc-block-components-combobox__input,
select.wc-block-components-combobox__input {
  height: 48px !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 10px !important;
  font-size: 14.5px !important;
  background-color: #FFFFFF !important;
  color: var(--n3d-text-heading) !important;
  padding: 0 16px !important;
  transition: all 0.2s ease !important;
}

.wc-block-components-text-input input.wc-block-components-text-input__input:focus,
.wc-block-components-combobox input.wc-block-components-combobox__input:focus {
  border-color: var(--n3d-primary) !important;
  box-shadow: 0 0 0 3px rgba(10, 70, 64, 0.15) !important;
  outline: none !important;
}

.wc-block-components-text-input label {
  color: #475569 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

/* 7. Payment Methods Radio Boxes */
.wc-block-components-radio-control__option {
  position: relative !important;
  display: block !important;
  border: 1.5px solid var(--n3d-border) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 12px !important;
  background: #FFFFFF !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.wc-block-components-radio-control__option:hover {
  border-color: var(--n3d-neon-dark) !important;
  background: rgba(222, 241, 251, 0.15) !important;
}

.wc-block-components-radio-control__option.wc-block-components-radio-control__option--checked {
  border-color: var(--n3d-primary) !important;
  background: rgba(222, 241, 251, 0.25) !important;
  box-shadow: 0 4px 14px rgba(10, 70, 64, 0.08) !important;
}

.wc-block-components-radio-control__input {
  position: absolute !important;
  left: 18px !important;
  top: 18px !important;
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--n3d-primary) !important;
  cursor: pointer !important;
}

.wc-block-components-radio-control__option-layout,
.wc-block-components-radio-control__label-group,
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__option-label {
  padding-left: 32px !important;
  margin-left: 0 !important;
}

.wc-block-components-radio-control__option-label {
  font-weight: 700 !important;
  color: var(--n3d-text-heading) !important;
  font-size: 15px !important;
}

.wc-block-components-radio-control__option-description {
  margin-top: 10px !important;
  margin-left: 32px !important;
  padding: 12px 16px !important;
  background: #FFFFFF !important;
  border-radius: 8px !important;
  border-left: 3.5px solid var(--n3d-primary) !important;
  color: var(--n3d-text-body) !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Radio checkmark color */
.wc-block-components-radio-control__input:checked {
  accent-color: var(--n3d-primary) !important;
}

/* Checkbox accent */
.wc-block-components-checkbox input:checked,
input[type="checkbox"]:checked {
  accent-color: var(--n3d-primary) !important;
}

/* 8. Coupon Code Form */
.wc-block-components-totals-coupon__input-wrapper input {
  height: 44px !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
}

.wc-block-components-totals-coupon__button {
  background: var(--n3d-primary) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  height: 44px !important;
  padding: 0 20px !important;
  transition: all 0.2s ease !important;
}

.wc-block-components-totals-coupon__button:hover {
  background: var(--n3d-primary-hover) !important;
}

/* 9. Next 3D Trust & Assurance Bar */
.n3d-commerce-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.n3d-trust-card {
  background: #FFFFFF;
  border: 1px solid var(--n3d-border);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(10, 70, 64, 0.04);
  transition: all 0.25s ease;
}

.n3d-trust-card:hover {
  border-color: var(--n3d-neon-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.n3d-trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--n3d-neon);
  color: var(--n3d-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.n3d-trust-content h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--n3d-text-heading);
  margin-bottom: 4px;
}

.n3d-trust-content p {
  font-size: 12.5px;
  color: var(--n3d-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 10. Hotline Support Banner */
.n3d-commerce-support-banner {
  background: linear-gradient(135deg, var(--n3d-primary) 0%, var(--n3d-deep) 100%);
  border-radius: 14px;
  padding: 20px 28px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(10, 70, 64, 0.2);
}

.n3d-support-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.n3d-support-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(219, 225, 52, 0.2);
  color: var(--n3d-pear);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.n3d-support-sub {
  display: block;
  font-size: 13px;
  color: #A3C9C4;
}

.n3d-support-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.n3d-support-btn {
  background: var(--n3d-pear);
  color: var(--n3d-pear-text) !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-pear);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.n3d-support-btn:hover {
  background: #FFFFFF;
  color: var(--n3d-primary) !important;
  transform: scale(1.04);
}

/* 11. Empty Cart Screen */
.wc-block-cart__empty-cart-wrapper {
  text-align: center !important;
  padding: 40px 20px !important;
}

.wc-block-cart__empty-cart-wrapper h2 {
  color: var(--n3d-primary) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
}

/* 12. RESPONSIVE OPTIMIZATIONS FOR MOBILE */
@media (max-width: 992px) {
  .n3d-commerce-trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .n3d-commerce-support-banner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .n3d-support-left {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .n3d-checkout-stepper {
    padding: 14px 16px;
  }

  .n3d-step-title {
    font-size: 13px;
  }

  .n3d-step-subtitle {
    display: none;
  }

  .n3d-step-badge {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .n3d-step-connector {
    margin: 0 8px;
  }

  .wc-block-cart__main,
  .wc-block-checkout__main,
  .wc-block-cart__sidebar,
  .wc-block-checkout__sidebar {
    padding: 20px 16px !important;
  }

  .n3d-commerce-trust-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   GTRANSLATE LANGUAGE SWITCHER - PC & MOBILE STYLING (NEXT3D)
   ========================================================================== */

/* 1. Base Wrapper Container */
.n3d-header-lang,
#n3d-header-lang {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
  z-index: 1510 !important;
}

#n3d-header-lang #gt_float_wrapper {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Switcher Button (Desktop: matches Hotline & Cart 44px) */
#n3d-header-lang .gt_float_switcher {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  background: rgba(222, 241, 251, 0.1) !important;
  border: 1px solid rgba(222, 241, 251, 0.22) !important;
  border-radius: var(--radius-md, 10px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  line-height: 1 !important;
}

#n3d-header-lang .gt_float_switcher:hover {
  background: rgba(222, 241, 251, 0.2) !important;
  border-color: var(--n3d-pear, #DBE134) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
}

/* 3. Selected Container */
#n3d-header-lang .gt_float_switcher .gt-selected {
  background: transparent !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  float: none !important;
}

#n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang {
  padding: 0 12px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #FFFFFF !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

/* 4. Flag Icon */
#n3d-header-lang .gt_float_switcher img {
  width: 22px !important;
  height: 15px !important;
  border-radius: 3px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35) !important;
  object-fit: cover !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

/* 5. Language Code */
#n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
  position: static !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  line-height: 1 !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 6. Arrow Indicator */
#n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
  display: inline-block !important;
  width: 10px !important;
  height: 10px !important;
  margin-left: 2px !important;
  vertical-align: middle !important;
  filter: brightness(0) invert(1) !important;
  background-size: 8px !important;
  transform: rotate(0deg) !important;
  transition: transform 0.2s ease !important;
}

#n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow.gt_arrow_rotate {
  transform: rotate(180deg) !important;
}

/* 7. Dropdown Menu (Opened) */
#n3d-header-lang .gt_float_switcher .gt_options {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  bottom: auto !important;
  right: 0 !important;
  left: auto !important;
  min-width: 185px !important;
  width: max-content !important;
  max-height: 320px !important;
  height: auto !important;
  background: #082625 !important;
  border: 1px solid rgba(222, 241, 251, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(219, 225, 52, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 6px !important;
  z-index: 9999999 !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

#n3d-header-lang .gt_float_switcher .gt_options.gt-open {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

#n3d-header-lang .gt_float_switcher .gt_options::-webkit-scrollbar {
  width: 5px !important;
}

#n3d-header-lang .gt_float_switcher .gt_options::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 4px !important;
}

#n3d-header-lang .gt_float_switcher .gt_options::-webkit-scrollbar-thumb {
  background: rgba(222, 241, 251, 0.25) !important;
  border-radius: 4px !important;
}

#n3d-header-lang .gt_float_switcher .gt_options::-webkit-scrollbar-thumb:hover {
  background: var(--n3d-pear, #DBE134) !important;
}

/* 8. Dropdown Options Items */
#n3d-header-lang .gt_float_switcher .gt_options a {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  color: #E2E8F0 !important;
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  line-height: 1.3 !important;
  box-sizing: border-box !important;
}

#n3d-header-lang .gt_float_switcher .gt_options a:hover {
  background: rgba(219, 225, 52, 0.15) !important;
  color: var(--n3d-pear, #DBE134) !important;
  transform: translateX(3px) !important;
}

#n3d-header-lang .gt_float_switcher .gt_options a.gt-current {
  display: none !important;
}

#n3d-header-lang .gt_float_switcher .gt_options a img {
  width: 20px !important;
  height: 14px !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
  margin-right: 2px !important;
}

/* ==========================================================================
   MOBILE RESPONSIVE (<= 991px)
   ========================================================================== */
@media (max-width: 991px) {

  /* Row 2: Search & Mobile Menu Wrapper with Language Switcher */
  .n3d-header-search-wrap {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 6px 0 0 !important;
    box-sizing: border-box !important;
  }

  /* Compact MENU button on mobile */
  .n3d-mobile-menu-btn,
  .n3d-header-search-wrap .n3d-mobile-menu-btn {
    flex: 0 0 auto !important;
    height: 38px !important;
    padding: 0 11px !important;
    font-size: 12.5px !important;
    gap: 5px !important;
    border-radius: var(--radius-full, 999px) !important;
  }

  /* Flexible, neatly shrunk search bar to fit language button */
  .n3d-header-search-wrap .n3d-search-bar,
  .n3d-search-bar {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .n3d-search-form {
    height: 38px !important;
    border-radius: var(--radius-full, 999px) !important;
  }

  .n3d-search-input {
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  .n3d-search-btn {
    width: 36px !important;
    min-width: 36px !important;
    flex: 0 0 36px !important;
    height: 100% !important;
  }

  /* Language Switcher on Mobile (Pill beside search bar) */
  #n3d-header-lang {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    order: 3 !important;
  }

  #n3d-header-lang .gt_float_switcher {
    height: 38px !important;
    border-radius: var(--radius-full, 999px) !important;
    background: rgba(222, 241, 251, 0.16) !important;
    border: 1px solid rgba(222, 241, 251, 0.3) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  }

  #n3d-header-lang .gt_float_switcher:active {
    background: rgba(222, 241, 251, 0.28) !important;
    border-color: var(--n3d-pear, #DBE134) !important;
    transform: scale(0.97) !important;
  }

  #n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 0 9px !important;
    gap: 5px !important;
    font-size: 12px !important;
  }

  #n3d-header-lang .gt_float_switcher img {
    width: 19px !important;
    height: 13px !important;
  }

  #n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    font-size: 12px !important;
  }

  #n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt_float_switcher-arrow {
    width: 10px !important;
    height: 10px !important;
    background-size: 8px !important;
  }

  /* Dropdown positioning on mobile */
  #n3d-header-lang .gt_float_switcher .gt_options {
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    min-width: 160px !important;
    max-height: 240px !important;
  }
}

/* Extra small devices (<= 360px) */
@media (max-width: 360px) {

  .n3d-mobile-menu-btn,
  .n3d-header-search-wrap .n3d-mobile-menu-btn {
    padding: 0 8px !important;
    font-size: 11.5px !important;
  }

  #n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang {
    padding: 0 7px !important;
  }

  #n3d-header-lang .gt_float_switcher .gt-selected .gt-current-lang span.gt-lang-code {
    display: none !important;
  }
}