/* ----- HEADING HIERARCHY FIX: preserve h4 visual on upgraded h3 ----- */
    h3.a11y-h3,
    .a11y-h3 {
      font-size: 1rem;
    }

    /* ----- VISIBLE FOCUS INDICATORS (WCAG 2.1 AA) ----- */
    :focus-visible {
      outline: 2px solid var(--accent) !important;
      outline-offset: 2px !important;
    }

    /* ----- FIXED HEADER ----- */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: #ffffff;
      border-bottom: 1px solid var(--border);
      transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
      will-change: transform;
    }

    #header .container {
      max-width: 100% !important;
      padding-left: 30px !important;
      padding-right: 30px !important;
    }

    /* Fix to allow position: sticky to work (overflow: hidden on body breaks sticky, overflow: clip fixes it) */
    html, body {
      overflow-x: clip !important;
    }

    #header.scrolled {
      transform: translateY(-38px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    #page-wrap {
      padding-top: 175px;
    }

    /* ----- TOP GREEN BAR ----- */
    .header-top-bar {
      background: linear-gradient(90deg, #061e12 0%, #0a2d1a 100%);
      color: #c8cfc9;
      height: 38px;
      font-size: 0.75rem;
      letter-spacing: 0.01em;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .header-top-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      flex-wrap: nowrap;
      gap: 10px;
    }
    .top-left-info {
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .top-right-info {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .top-right-info span, .top-right-info a, .top-right-info div {
      display: flex;
      align-items: center;
      gap: 5px;
      color: #c8cfc9;
      text-decoration: none;
      transition: color 0.2s;
    }
    .top-right-info a:hover, .top-right-info span:hover {
      color: #f0e6c8;
    }
    .top-sep {
      color: rgba(255,255,255,0.15);
      font-size: 0.7rem;
    }

    /* Top Bar Currency & Login Styles */
    .top-currency-select {
      background: transparent;
      border: none;
      color: #ffffff;
      font-weight: 600;
      font-size: 0.78rem;
      cursor: pointer;
      outline: none;
      appearance: none;
      -webkit-appearance: none;
      padding-right: 12px;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right center;
      background-size: 10px;
    }
    .top-currency-select option {
      color: var(--primary);
      background: #ffffff;
    }
    .top-user-menu {
      position: relative;
    }
    .top-user-trigger {
      background: transparent;
      border: none;
      color: #ffffff;
      font-weight: 600;
      font-size: 0.78rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .top-user-dropdown {
      position: absolute;
      top: calc(100% + 20px);
      right: 0;
      width: 240px;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      box-shadow: var(--shadow-md);
      z-index: 1100;
      display: none;
      padding: 10px 0;
      text-align: left;
    }
    .top-user-menu:hover .top-user-dropdown,
    .top-user-trigger:focus + .top-user-dropdown {
      display: block;
    }
    .top-user-dropdown .dropdown-header {
      padding: 8px 16px 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 8px;
      color: var(--primary);
    }
    .top-user-dropdown .dropdown-header strong {
      display: block;
      font-size: 0.88rem;
    }
    .top-user-dropdown ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .top-user-dropdown ul li a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 16px;
      font-size: 0.82rem;
      color: var(--text);
      text-decoration: none;
      transition: background 0.2s;
    }
    .top-user-dropdown ul li a:hover {
      background: var(--bg-light);
      color: var(--accent);
    }
    .top-user-dropdown ul li a i {
      color: var(--accent);
      width: 16px;
    }
    .top-user-dropdown .dropdown-footer {
      padding: 8px 16px 0;
      border-top: 1px solid var(--border);
      margin-top: 8px;
    }
    .top-user-dropdown .logout-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: center;
      background: none;
      border: 1px solid #fee2e2;
      border-radius: 40px;
      padding: 6px;
      font-size: 0.78rem;
      font-weight: 600;
      color: #dc2626;
      text-decoration: none;
      transition: all 0.2s;
      width: 100%;
    }
    .top-user-dropdown .logout-btn:hover {
      background: #fee2e2;
      border-color: #dc2626;
    }

    /* ----- MAIN HEADER ROW ----- */
    .header-main-row {
      background: #ffffff;
      padding: 16px 0;
      border-bottom: 1px solid #eaeaea;
    }
    .header-main-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
    }

    /* ---- Logo group ---- */
    .logo-group {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
    }
    .nav-logo-name {
      font-family: var(--font-heading);
      font-size: 2.1rem;
      font-weight: 800;
      color: var(--primary);
      letter-spacing: -0.02em;
      background: linear-gradient(135deg, #061e12 0%, #1a5c35 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .nav-logo-tagline {
      font-family: var(--font-body);
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 0.20em;
      text-transform: uppercase;
      color: var(--accent);
      margin-top: 2px;
    }

    /* ---- Search ---- */
    .header-search {
      flex: 1;
      min-width: 0;
    }
    .header-search form {
      display: flex;
      align-items: stretch;
      border: 1.5px solid #eaeaea;
      border-radius: 6px;
      overflow: hidden;
      background: #ffffff;
      height: 48px;
      transition: all 0.3s ease;
    }
    .header-search form:focus-within {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px rgba(184, 135, 42, 0.1);
    }
    .header-search input {
      flex: 1;
      border: none;
      outline: none;
      padding: 0 20px;
      font-family: var(--font-body);
      font-size: 0.95rem;
      color: var(--text);
    }
    .header-search input::placeholder {
      color: var(--text-light);
    }
    .header-search button {
      background: #061e12;
      border: none;
      color: #ffffff;
      padding: 0 22px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .header-search button:hover {
      background: #0d3822;
    }
    .header-search button svg {
      width: 20px;
      height: 20px;
      fill: #ffffff;
    }

    /* ---- Header Actions (Buttons) ---- */
    .header-buttons {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
    .btn-catalogue {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1.5px solid var(--accent);
      color: var(--accent);
      background: transparent;
      padding: 12px 22px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 0.9rem;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      text-decoration: none;
      cursor: pointer;
    }
    .btn-catalogue:hover {
      background: var(--accent-light);
      border-color: var(--accent-hover);
      color: var(--accent-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(184, 135, 42, 0.15);
    }
    .btn-quote {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #061e12;
      color: #ffffff;
      border: 1.5px solid #061e12;
      padding: 12px 22px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 0.9rem;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      text-decoration: none;
      cursor: pointer;
    }
    .btn-quote:hover {
      background: #0d3822;
      border-color: #0d3822;
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(6, 30, 18, 0.25);
    }
    .btn-whatsapp {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      border: 1.5px solid #25D366;
      color: var(--primary);
      background: transparent;
      padding: 12px 22px;
      border-radius: 6px;
      font-weight: 700;
      font-size: 0.9rem;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      text-decoration: none;
      cursor: pointer;
    }
    .btn-whatsapp:hover {
      background: rgba(37, 211, 102, 0.05);
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(37, 211, 102, 0.15);
    }

    /* ----- BOTTOM NAVIGATION ROW ----- */
    .header-nav-row {
      background: #ffffff;
      border-bottom: 1px solid var(--border);
    }
    .header-nav-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 52px;
    }
    .main-nav {
      height: 100%;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
      height: 100%;
    }
    .nav-links li {
      height: 100%;
      display: flex;
      align-items: center;
    }
    .nav-link {
      font-family: var(--font-body);
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text);
      text-decoration: none;
      position: relative;
      padding: 8px 0;
      display: flex;
      align-items: center;
      transition: color 0.2s;
      gap: 6px;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }
    .nav-link:hover::after,
    .nav-link.active::after {
      width: 100%;
    }
    .nav-link:hover,
    .nav-link.active {
      color: var(--accent);
    }

    /* Products Dropdown Menu on hover */
    .nav-products-dropdown {
      position: relative;
    }
    .nav-categories-menu {
      display: block;
      position: absolute;
      top: 100%;
      left: 0;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      box-shadow: var(--shadow-md);
      min-width: 240px;
      z-index: 100;
      padding: 8px 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    }
    .nav-products-dropdown:hover .nav-categories-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .nav-categories-menu a {
      display: block;
      padding: 10px 20px;
      font-size: 0.88rem;
      color: var(--text);
      text-decoration: none;
      transition: background 0.15s, color 0.15s;
      border-left: 3px solid transparent;
      text-align: left;
    }
    .nav-categories-menu a:hover {
      background: var(--bg-light);
      color: var(--accent);
      border-left-color: var(--accent);
    }

    /* Right menu actions (Saved & Enquiry) */
    .nav-right-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .nav-action-link {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 0.88rem;
      font-weight: 600;
      color: var(--text);
      text-decoration: none;
      transition: all 0.25s ease;
      padding: 7px 14px;
      border-radius: 50px;
      border: 1.5px solid var(--border);
      background: #fafafa;
    }
    .nav-action-link:hover {
      color: var(--accent);
      border-color: var(--accent);
      background: var(--accent-light);
    }
    .nav-action-link i {
      font-size: 1rem;
    }

    /* Sign In button — customized to stand out next to the outline action links */
    .btn-signin-nav {
      background: linear-gradient(135deg, #B8872A 0%, #D4A843 100%);
      border-color: #B8872A;
      color: #ffffff;
      font-weight: 700;
      box-shadow: 0 3px 10px rgba(184, 135, 42, 0.22);
    }
    .btn-signin-nav i {
      font-size: 1rem;
    }
    .btn-signin-nav:hover {
      background: linear-gradient(135deg, #a8781f 0%, #D4A843 100%);
      border-color: var(--accent-hover);
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 6px 16px rgba(184, 135, 42, 0.32);
    }
    .enquiry-badge {
      background: var(--accent);
      color: #ffffff;
      font-size: 0.68rem;
      font-weight: 700;
      min-width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      padding: 0 4px;
    }

    /* Account popup next to Saved (replaces the old welcome bar) */
    .nav-account-wrap {
      position: relative;
    }
    .nav-account-trigger {
      cursor: pointer;
      font-family: var(--font-body);
      max-width: 170px;
    }
    .nav-account-trigger span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .nav-account-caret {
      font-size: 0.65rem !important;
    }
    .nav-account-popup {
      position: absolute;
      top: calc(100% + 12px);
      right: 0;
      width: 260px;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: var(--r-sm);
      box-shadow: var(--shadow-md);
      z-index: 1200;
      display: none;
      padding: 10px 0;
      text-align: left;
    }
    .nav-account-popup.open {
      display: block;
    }
    .nav-account-wrap:hover .nav-account-popup,
    .nav-account-wrap:focus-within .nav-account-popup {
      display: block;
    }
    .nav-account-popup .dropdown-header {
      padding: 8px 16px 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 8px;
      color: var(--primary);
    }
    .nav-account-popup .dropdown-header strong {
      display: block;
      font-size: 0.9rem;
    }
    .nav-account-email {
      display: block;
      font-size: 0.75rem;
      font-weight: 400;
      color: var(--text-muted);
      margin-top: 3px;
      word-break: break-all;
    }

    /* Mobile toggle */
    .mobile-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      padding: 8px;
      cursor: pointer;
      border-radius: 8px;
      transition: background 0.2s;
    }

    .mobile-toggle:hover {
      background: var(--bg);
    }

    .mobile-toggle span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transition: 0.2s;
    }

    /* Mobile bottom nav & panels */
    .mob-search-icon,
    .mob-cam-icon {
      display: none;
    }

    .desk-search-svg {
      display: block;
      width: 18px;
      height: 18px;
      fill: #fff;
    }

    .mobile-bottom-nav {
      display: none;
    }

    .mob-categories-panel {
      position: fixed;
      left: 0;
      right: 0;
      z-index: 1110;
      background: #fff;
      border-top: 1px solid var(--border);
      border-radius: 24px 24px 0 0;
      box-shadow: 0 -8px 32px rgba(26, 24, 20, 0.13);
      max-height: 70vh;
      overflow-y: auto;
      transform: translateY(100%);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 20px 0 90px;
      bottom: 0;
      visibility: hidden;
    }

    .mob-categories-panel.open {
      transform: translateY(0);
      visibility: visible;
    }

    .mob-overlay {
      z-index: 999;
    }

    .mob-links-overlay {
      position: fixed;
      inset: 0;
      background: rgba(26, 24, 20, 0.35);
      z-index: 1115;
      display: none;
    }

    .mob-links-overlay.active {
      display: block;
    }

    .mob-links-panel {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      width: 280px;
      background: #fff;
      border-right: 1px solid var(--border);
      box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      z-index: 1120;
      padding: 24px 16px;
      overflow-y: auto;
    }

    .mob-links-panel.open {
      transform: translateX(0);
    }

    .mob-links-panel .mob-links-handle {
      width: 40px;
      height: 4px;
      background: var(--border);
      border-radius: 999px;
      margin: 0 auto 20px;
    }

    .mob-links-panel a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 14px;
      border-radius: var(--r-sm);
      color: var(--text);
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }

    .mob-links-panel a:hover,
    .mob-links-panel a.active {
      background: var(--accent-light);
      color: var(--accent);
    }

    /* Account section inside mobile panel (visible only on <=992px) */
    @media (max-width: 992px) {
      .mob-account-section {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
      }

      .mob-account-title {
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted);
        margin-bottom: 12px;
        padding-left: 14px;
      }

      .mob-account-links {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .mob-account-links li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--text);
        text-decoration: none;
        border-radius: var(--r-sm);
        transition: background 0.2s, color 0.2s;
      }

      .mob-account-links li a:hover {
        background: var(--bg-light);
        color: var(--accent);
      }

      .mob-account-links i {
        width: 22px;
        color: var(--accent);
        font-size: 1rem;
      }
    }

    .enquiry-count {
      display: none;
      align-items: center;
      justify-content: center;
    }

    /* User Dropdown */
    .user-dropdown-wrapper {
      position: relative;
    }

    .user-dropdown-trigger {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-light);
      border: 1px solid var(--border);
      border-radius: 50px;
      padding: 8px 16px;
      cursor: pointer;
      font-weight: 600;
      color: var(--primary);
      transition: all 0.2s;
    }

    .user-dropdown-trigger:hover {
      border-color: var(--accent);
      background: var(--white);
    }

    .user-dropdown-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      width: 320px;
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: var(--r);
      box-shadow: var(--shadow-md);
      z-index: 1000;
      display: none;
      padding: 12px 0;
    }

    .user-dropdown-wrapper:hover .user-dropdown-menu,
    .user-dropdown-trigger:focus+.user-dropdown-menu,
    .user-dropdown-menu:hover {
      display: block;
    }

    .dropdown-header {
      padding: 8px 16px 12px;
      border-bottom: 1px solid var(--border);
      margin-bottom: 8px;
    }

    .dropdown-header strong {
      display: block;
      font-size: 0.95rem;
      color: var(--primary);
    }

    .dropdown-links {
      list-style: none;
      margin: 0 0 8px 0;
      padding: 0;
    }

    .dropdown-links li a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      font-size: 0.85rem;
      color: var(--text);
      text-decoration: none;
      transition: background 0.2s;
    }

    .dropdown-links li a:hover {
      background: var(--bg-light);
      color: var(--accent);
    }

    .dropdown-links i {
      width: 20px;
      color: var(--accent);
    }

    .dropdown-recent {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 8px 0;
      margin: 8px 0;
      max-height: 280px;
      overflow-y: auto;
    }

    .recent-title {
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-muted);
      padding: 6px 16px;
    }

    .recent-item {
      padding: 10px 16px;
      border-bottom: 1px solid var(--border-light);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .recent-item:last-child {
      border-bottom: none;
    }

    .recent-info {
      flex: 1;
    }

    .recent-id {
      font-weight: 700;
      font-size: 0.85rem;
      display: block;
      color: var(--primary);
    }

    .recent-date,
    .recent-count {
      font-size: 0.7rem;
      color: var(--text-muted);
      margin-right: 8px;
    }

    .recent-status {
      font-size: 0.7rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 20px;
      background: #eef2ff;
      color: #4f46e5;
    }

    .recent-status.status-new {
      background: #fee2e2;
      color: #dc2626;
    }

    .recent-status.status-viewed {
      background: #fef3c7;
      color: #b86200;
    }

    .recent-status.status-replied {
      background: #d1fae5;
      color: #047857;
    }

    .recent-status.status-closed {
      background: #e5e7eb;
      color: #4b5563;
    }

    .recent-view {
      font-size: 0.7rem;
      color: var(--accent);
      text-decoration: none;
    }

    .dropdown-footer {
      padding: 8px 16px;
    }

    .logout-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      justify-content: center;
      background: none;
      border: 1px solid var(--border);
      border-radius: 40px;
      padding: 8px;
      font-size: 0.8rem;
      font-weight: 600;
      color: #dc2626;
      text-decoration: none;
      transition: all 0.2s;
    }

    .logout-btn:hover {
      background: #fee2e2;
      border-color: #dc2626;
    }

    /* Mobile User Panel */
    .mob-user-panel {
      position: fixed;
      left: 0;
      right: 0;
      background: #fff;
      border-top: 1px solid var(--border);
      border-radius: 24px 24px 0 0;
      box-shadow: 0 -8px 32px rgba(26, 24, 20, 0.13);
      z-index: 1110;
      max-height: 70vh;
      overflow-y: auto;
      transform: translateY(100%);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      padding: 20px 0 90px;
      bottom: 0;
      visibility: hidden;
    }

    .mob-user-panel.open {
      transform: translateY(0);
      visibility: visible;
    }

    /* Close button inside mobLinksPanel */
    .mob-close-btn {
      position: absolute;
      top: 12px;
      right: 16px;
      background: none;
      border: none;
      font-size: 1.4rem;
      cursor: pointer;
      color: var(--text-muted);
      z-index: 1;
    }

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s, visibility 0.3s;
    }

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

    .modal-container {
      background: #fff;
      max-width: 420px;
      width: 90%;
      max-height: 90vh;
      /* ← prevent too tall modals */
      overflow-y: auto;
      /* ← enable scrolling if content exceeds */
      border-radius: var(--r);
      padding: 32px 28px;
      position: relative;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    /* Reduce padding on smaller screens */
    @media (max-width: 480px) {
      .modal-container {
        padding: 24px 20px;
        max-height: 85vh;
      }
    }

    .success-message {
      background: #fef3c7;
      color: #92400e;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 0.85rem;
    }

    .error-message {
      background: #fee2e2;
      color: #dc2626;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 0.85rem;
    }

    .modal-title {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      margin-bottom: 24px;
      text-align: center;
    }

    .modal-footer-text {
      text-align: center;
      margin-top: 20px;
      font-size: 0.85rem;
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 1.8rem;
      background: none;
      border: none;
      cursor: pointer;
      color: #666;
    }

    /* Responsive */
    @media (max-width: 992px) {
      #header {
        height: auto;
        padding: 10px 16px;
        background: #fff;
        border-bottom: 1px solid var(--border);
      }

      #page-wrap {
        padding-top: 70px;
      }

      .mob-search-icon,
      .mob-cam-icon {
        display: flex;
      }

      .desk-search-svg {
        display: none;
      }

      .header-utility-bar,
      .header-top-bar,
      .header-main-row,
      .header-nav-row {
        background: transparent;
        border-bottom: none;
        padding: 0;
      }

      .header-utility {
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .logo-group,
      #mobile-bar,
      .header-actions,
      .header-buttons,
      .nav-bar,
      .header-nav-row {
        display: none !important;
      }

      .mobile-toggle {
        display: flex;
      }

      .header-search {
        flex: 1;
        max-width: 100%;
        margin: 0;
        order: 0;
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .header-search form {
        flex: 1;
        position: relative;
        display: flex;
        align-items: center;
      }

      .header-search .mob-search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #555;
        font-size: 1rem;
        pointer-events: none;
        z-index: 1;
      }

      .header-search input {
        width: 100%;
        height: 50px;
        font-size: 0.95rem;
        padding: 10px 50px 10px 44px;
        border-radius: 50px;
        border: 1.5px solid #ccc;
        background: #fff;
        color: var(--text);
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        font-family: var(--font-body);
      }

      .header-search input::placeholder {
        color: #aaa;
      }

      .header-search input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(184, 135, 42, 0.12);
      }

      .header-search button[type="submit"] {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #555;
        font-size: 1.15rem;
        cursor: pointer;
        transition: color 0.2s;
      }

      .header-search button[type="submit"]:hover {
        color: var(--accent);
      }

      .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: #ffffff;
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 20px rgba(26, 24, 20, 0.10);
        height: 64px;
        align-items: stretch;
        transform: translateY(0);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, opacity 0.35s ease;
        opacity: 1;
        will-change: transform;
      }

      .mobile-bottom-nav.nav-hidden {
        transform: translateY(100%);
        opacity: 0;
        box-shadow: none;
      }

      .mobile-bottom-nav.nav-visible {
        transform: translateY(0);
        opacity: 1;
      }

      .mob-tab {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        padding: 6px 4px;
        transition: color 0.18s;
        position: relative;
        cursor: pointer;
        border: none;
        background: none;
        font-family: var(--font-body);
      }

      .mob-tab i {
        font-size: 1.25rem;
        line-height: 1;
      }

      .mob-tab span {
        font-size: 0.65rem;
        line-height: 1;
      }

      .mob-tab.active,
      .mob-tab:hover {
        color: var(--accent);
      }

      .mob-tab.active i {
        transform: translateY(-1px);
      }

      .mob-tab .mob-badge {
        position: absolute;
        top: 6px;
        left: calc(50% + 4px);
        background: var(--accent);
        color: #fff;
        font-size: 0.6rem;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 20px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
        z-index: 5;
      }

      .mob-saved-count {
        font-size: 0.62rem;
        color: var(--accent);
        font-weight: 700;
        margin-left: 2px;
      }

      .mob-cat-handle {
        width: 40px;
        height: 4px;
        background: var(--border);
        border-radius: 4px;
        margin: 0 auto 16px;
      }

      .mob-cat-title {
        font-family: var(--font-heading);
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary);
        padding: 0 20px 12px;
        border-bottom: 1px solid var(--border);
        margin-bottom: 8px;
      }

      .mob-categories-panel a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 13px 20px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text);
        text-decoration: none;
        border-bottom: 1px solid #F4EFE8;
        transition: background 0.15s, color 0.15s;
      }

      .mob-categories-panel a:hover {
        background: var(--bg-section);
        color: var(--accent);
      }

      .mob-categories-panel a::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent-light);
        border: 2px solid var(--accent);
        flex-shrink: 0;
      }

      .mob-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 24, 20, 0.35);
        z-index: 1080;
      }

      .mob-overlay.active {
        display: block;
      }

      .enquiry-count {
        z-index: 99999 !important;
      }
    }

    @media (max-width: 480px) {
      .section {
        padding: 50px 0;
      }

      .breadcrumb {
        margin: 20px 0px 20px 0px !important;
      }
    }

.success-message {
      background: #d1fae5;
      color: #10b981;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 0.85rem;
    }

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      visibility: hidden;
      opacity: 0;
      transition: opacity 0.3s, visibility 0.3s;
    }

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

    .modal-container {
      background: #fff;
      max-width: 420px;
      width: 90%;
      border-radius: var(--r);
      padding: 32px 28px;
      position: relative;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 1.8rem;
      background: none;
      border: none;
      cursor: pointer;
      color: #888;
    }

    .modal-title {
      font-family: var(--font-heading);
      font-size: 1.5rem;
      margin-bottom: 24px;
      text-align: center;
    }

    .error-message {
      background: #fee2e2;
      color: #dc2626;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 16px;
      font-size: 0.85rem;
    }

    .modal-footer-text {
      text-align: center;
      margin-top: 20px;
      font-size: 0.85rem;
    }

    /* ── OTP Section ── */
    .otp-row {
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 100%;
    }

    .otp-inputs {
      display: flex;
      gap: 10px;
      justify-content: center;
    }

    .otp-box {
      width: 48px;
      height: 54px;
      text-align: center;
      font-size: 1.25rem;
      font-weight: 700;
      font-family: var(--font-body);
      border: 2px solid var(--border);
      border-radius: var(--r-sm);
      background: var(--bg);
      color: var(--primary);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
      caret-color: var(--accent);
    }

    .otp-box:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(184, 135, 42, 0.15);
      transform: translateY(-2px);
    }

    .otp-box.filled {
      border-color: var(--accent);
      background: #fffdf7;
    }

    .otp-verify-status {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
    }

    .otp-verify-btn {
      flex: 1;
      max-width: 280px;
      justify-content: center;
      padding: 14px 20px !important;
      font-size: 0.9rem !important;
    }

    .otp-verified-badge {
      display: none;
      align-items: center;
      gap: 8px;
      color: #10b981;
      font-weight: 700;
      font-size: 0.95rem;
      padding: 10px 0;
    }

    .otp-verified-badge i {
      font-size: 1.3rem;
    }

    .otp-error {
      display: none;
      color: #dc2626;
      font-size: 0.82rem;
      margin-top: 4px;
      text-align: center;
    }

    /* ── Password Requirements ── */
    .pw-reqs {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .pw-req {
      font-size: 0.78rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 6px;
      width: 100%;
      transition: color 0.2s;
    }

    .pw-req.met {
      color: #10b981;
    }

    .pw-req.met i {
      color: #10b981;
    }

    .pw-req.fail {
      color: #dc2626;
    }

    .pw-req.fail i {
      color: #dc2626;
    }

    /* Responsive header */

    /* ---- 1280px: tighten spacing so nothing overflows ---- */
    @media(max-width:1200px) {
      #header .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
      }
      .header-main-inner {
        gap: 14px;
      }
      .header-search {
        flex: 1;
        min-width: 0;
      }
      .header-buttons {
        gap: 8px;
      }
      /* Reduce catalogue & quote button padding */
      .btn-catalogue,
      .btn-quote {
        padding: 10px 14px;
        font-size: 0.82rem;
        gap: 6px;
      }
      /* WhatsApp: show icon only, hide text */
      .btn-whatsapp {
        padding: 10px 12px;
        gap: 0;
        border-radius: 6px;
      }
      .btn-whatsapp span {
        display: none;
      }
      /* Top bar — hide secondary info, keep phone & user */
      .top-left-info span:not(:first-child),
      .top-sep {
        display: none;
      }
    }

    /* ---- 1100px: further compact ---- */
    @media(max-width:1100px) {
      .header-search {
        flex: 1;
        min-width: 0;
      }
      .btn-catalogue {
        padding: 9px 12px;
        font-size: 0.8rem;
      }
      .btn-quote {
        padding: 9px 12px;
        font-size: 0.8rem;
      }
      .nav-links {
        gap: 18px;
      }
      .nav-link {
        font-size: 0.88rem;
      }
      .nav-right-actions {
        gap: 6px;
      }
      .nav-action-link {
        padding: 6px 10px;
        font-size: 0.82rem;
      }
    }

    @media (max-width:600px) {
      #registerModal .modal-container {
        max-width: 95% !important;
      }

      #registerModal form>div:first-child {
        grid-template-columns: 1fr !important;
      }

      .otp-box {
        width: 38px;
        height: 46px;
        font-size: 1.05rem;
      }

      .otp-inputs {
        gap: 6px;
      }
    }

.skip-link:focus {
      left: 0 !important;
      outline: 2px solid #fff !important;
      outline-offset: 2px !important;
    }