/* knurledgrips.com core styles v1.5.0 — 2026-03-22 — payment preference layout */
@charset "UTF-8";
      /* =========================================
		 VARIABLES & ROOT
	  ========================================= */
      :root {
        /* THE FAMILY DNA (Kept Identical) */
        --aji-yellow: #FFB800;
        --aji-pale-yellow: #FFF9E6;
        --aji-gold: #FFD700;
        --aji-red: #FD5341;
        --aji-alert-red: #DC2626;
        --aji-green: #28A745;
        --aji-white: #FAFAFA;
        --aji-pure-white: #FFFFFF;
        --aji-bright-blue: #016FB9;
        --aji-dark-blue:   #0c3d6b;

        /* THE SIBLING PERSONALITY */
        --aji-deep-carbon: #111827;   
        --aji-slate-steel: #475569; 
        --aji-cool-iron: #334155; 
        --aji-polished-silver: #94A3B8;  

        /* Text Colors */
        --aji-midnight-express: #1F2937;   
        --aji-vapor: #F1F5F9;  
        --aji-galvanized-steel: #E2E8F0;    
        --aji-brushed-steel: #64748B;        
		    --aji-black: #000000;
		    --aji-barley-white: #FFF3CD;

        /* Knurl Visualizer Palette */
        --viz-body-edge: #dde5ef;          /* body gradient outer stop / tooth fill */
        --viz-baseline: #c8d2de;           /* diameter baseline / valley floor */
        --viz-valley-arc: #8a97a8;         /* valley root arc dash */
        --viz-od-phantom: #6b7a8d;         /* phantom OD arc dash */
        --viz-inset-ghost: #5a6a7e;        /* close-up ghost reference teeth */
	 }

      /* =========================================
		 RESET & BASE
	  ========================================= */
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      html, body {
        font-family: system-ui, sans-serif;
        background: var(--aji-deep-carbon);
        color: #333;
        line-height: 1.5em;
        font-weight: normal;
        text-rendering: optimizeLegibility;
        /* Strict overflow handling to prevent horizontal scroll */
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
        scroll-behavior: smooth;
      }

      /* =========================================
		 UTILITY CLASSES
	  ========================================= */
      /* Trademark/registered symbols */
      .trademark-sup {
        font-size: 50%;
      }

      /* Required field asterisk */
      .required {
        color: var(--aji-red);
      }

      /* Form hint/disclaimer text */
      .form-hint {
        margin-top: 0;
        color: #666;
        font-size: 0.85rem;
      }

      /* Photo upload browse link */
      .photo-upload-browse {
        color: var(--aji-slate-steel);
        cursor: pointer;
        font-weight: 600;
        text-transform: none;
      }

      /* Ensure browse link stays blue in both forms */
      #contact-form-section .photo-upload-browse,
      .aji-order-form .photo-upload-browse {
        color: var(--aji-slate-steel);
        text-transform: none;
      }

      /* =========================================
		 NO-JS FALLBACK BANNER (M1)
	  ========================================= */
      #no-js-banner {
        background-color: var(--aji-alert-red);
        color: var(--aji-white);
        padding: 20px;
        text-align: center;
        font-weight: 700;
        font-size: 1rem;
        z-index: 9999;
        width: 100%;
        /* 101px fixed brand/menu stack + inventory alert bar height */
        margin-top: calc(101px + 34px);
      }

      @media (max-width: 768px) {
        #no-js-banner {
          /* Give extra clearance if inventory bar wraps on smaller screens */
          margin-top: calc(101px + 44px);
        }
      }

      #no-js-banner p {
        margin: 0;
        line-height: 1.6;
      }

      #no-js-banner strong {
        font-weight: 700;
        display: block;
        margin-bottom: 8px;
      }

      /* Form section headers */
      .form-section-header {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        color: var(--aji-deep-carbon);
      }

      /* =========================================
		 HEADER & NAVIGATION
	  ========================================= */
      .sticky-header-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
      }

      .sticky-header {
        background: var(--aji-slate-steel);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 20px 0px;
        min-height: 60px;
        width: 100%;
      }

      .brand-bar {
        background-color: var(--aji-deep-carbon);
        height: 34px;
        width: 100%;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }

      .brand-bar-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .brand-label {
        color: rgba(255, 255, 255, 0.5);
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        white-space: nowrap;
        margin-right: 12px;
      }

      .brand-links {
        display: flex;
        height: 34px;
        align-items: center;
      }

      .brand-link {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 10.5px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0 15px;
        height: 34px;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        white-space: nowrap;
      }

      .brand-link:last-child {
        border-right: 1px solid rgba(255, 255, 255, 0.05);
      }

      .brand-link:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--aji-white);
      }

      .brand-link.active {
        background-color: var(--aji-slate-steel);
        color: var(--aji-white);
        pointer-events: none;
      }

      .brand-bar .social-links-container {
        display: flex;
        align-items: center;
        gap: 0;
      }

      .brand-bar .social-links-container a {
        display: flex;
        margin-right: 15px;
        line-height: 0;
        text-decoration: none;
      }

      .brand-bar .social-links-container a:last-child {
        margin-right: 0;
      }

      .brand-bar .social-icon-svg {
        width: 16px;
        height: 16px;
        fill: rgba(255, 255, 255, 0.5);
        display: block;
        flex-shrink: 0;
        transition: all 0.3s ease;
      }

      .brand-bar .social-links-container a:hover .social-icon-svg {
        fill: var(--aji-yellow);
        transform: translateY(-1px);
      }

      .buttons-container {
        display: flex;
        align-items: center;
        height: 60px;
        background: transparent;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
      }

      .menu-list {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        margin: 0;
        padding: 0;
        width: 100%;
      }

      .menu-list li {
        flex: 1;
        height: 100%;
        background: transparent;
        border: none;
        position: relative;
        transition: background-color 0.2s ease;
      }

      .menu-list li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 100%;
        background: rgba(255, 255, 255, 0.25);
      }

      .menu-list li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--aji-white);
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        width: 100%;
        height: 100%;
        padding: 0 10px;
        transition: all 0.2s ease;
        text-align: center;
      }

      .menu-list li:hover {
        background: var(--aji-brushed-steel);
      }

      .logo-img-container {
        width: 160px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .menu-list li.active,
      .menu-list li.logo-button.active {
        background: var(--aji-deep-carbon);
      }

      .menu-list li.active a {
        color: var(--aji-white);
      }

      .menu-list li.logo-button {
        flex: 1.2;
      }

      .menu-list li.logo-button a {
        color: var(--aji-white);
      }

      .menu-list li.active .logo-img-container .st1 {
        fill: var(--aji-brushed-steel);
      }

      /* MOBILE MENU & HAMBURGER (Global Styles, Hidden by default on Desktop) */
      /* CRITICAL: display: none here prevents browser from rendering heavy backdrop-filter on desktop */
      .hamburger {
        display: none;
        flex-direction: column;
        justify-content: space-around;
        width: 32px;
        height: 24px;
        cursor: pointer;
        z-index: 3000;
        background: none;
        border: none;
        padding: 0;
      }

      .hamburger span {
        width: 100%;
        height: 3px;
        background: var(--aji-white);
        transition: all 0.3s ease;
      }

      /* Hamburger Animations */
      .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .hamburger.active span:nth-child(2) {
        opacity: 0;
      }

      .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
      }

      .mobile-menu {
        display: none;
        /* Hidden on desktop to save CPU */
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100%;
        background: rgba(1, 30, 54, 0.95);
        backdrop-filter: blur(8px);
        transition: right 0.4s ease;
        z-index: 2500;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
      }

      .mobile-menu.active {
        right: 0;
      }

      .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .mobile-menu li {
        margin: 1.5rem 0;
      }

      .mobile-menu a {
        color: var(--aji-white);
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        display: block;
        transition: color 0.2s ease;
      }

      .mobile-menu a:hover,
      .mobile-menu a:focus {
        color: var(--aji-yellow);
      }

      /* --- GLOBAL MOBILE DEFAULTS (Add this to hide mobile elements on desktop) --- */
      .mobile-logo,
      .mobile-break,
      .hero-title-break {
        display: none;
      }

      .hamburger {
        display: none;
        /* Keeps it hidden until the media query triggers */
      }

      #inventory-alert-bar {
        font-size: 0.85rem; /* Or whatever size you want */
      }	

      /* =========================================
		 SECTIONS & LAYOUT
	  ========================================= */
      #contentwrapper {
        width: 100%;
        position: relative;
        top: 0;
        overflow-x: hidden;
        background: transparent;
      }

      .arrow-section {
        position: relative;
        width: 100%;
        padding: 3rem 1rem;
      }

      .arrow-section.dark {
        background: var(--aji-deep-carbon);
        color: var(--aji-white);
      }

      .arrow-section.light {
        background: var(--aji-vapor);
        color: var(--aji-midnight-express);
      }

      .arrow-section.white {
        background: var(--aji-white);
        color: var(--aji-midnight-express);
      }

      .arrow-section.yellow {
        background: var(--aji-yellow);
        color: var(--aji-midnight-express);
      }

      .arrow-section.blue {
        background: var(--aji-slate-steel);
        color: var(--aji-white);
      }

      .arrow-section.mid-gray {
        background: var(--aji-galvanized-steel);
        color: var(--aji-midnight-express);
      }

      .arrow-section.pale-yellow {
        background: var(--aji-pale-yellow);
        color: var(--aji-midnight-express);
      }
		
	  .arrow-section.blue .container {
		  text-align: center;
		}	

      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        position: relative;
      }

      /* =========================================
		 TYPOGRAPHY & HERO
	  ========================================= */
      #hero {
        position: relative;
        overflow: hidden;
        padding-top: 7rem;
        padding-bottom: 7rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 101px;
      }

      #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
          linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.60)),
          url('img/models/hero.webp') no-repeat center center;
        background-size: cover;
        z-index: 0;
      }

      @media (min-width: 401px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.60)),
            url('img/models/hero.webp');
        }
      }

      @media (min-width: 801px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.60)),
            url('img/models/hero.webp');
        }
      }

      @media (min-width: 1201px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(17, 24, 39, 0.80), rgba(17, 24, 39, 0.55)),
            url('img/models/hero.webp');
        }
      }

      #hero .container {
        position: relative;
        z-index: 1;
      }

      #hero h1,
      #hero p,
      #hero .hero-actions {
        position: relative;
        z-index: 2;
      }

      #hero h1 {
        color: var(--aji-white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      }

      #hero p {
        color: var(--aji-yellow);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        margin-bottom: 2rem;
        line-height: 1.3;
        font-weight: 500;
        font-size: 1.6rem;
      }

      @media (min-width: 600px) {
        #hero p {
          font-size: 2rem;
        }
      }

      #hero .hero-payoff {
        color: var(--aji-yellow);
        font-weight: 600;
        letter-spacing: 0.01em;
      }

      #hero .btn-primary {
        background: var(--aji-yellow);
        color: var(--aji-deep-carbon);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      #hero .btn-primary:hover {
        background: var(--aji-gold);
        transform: translateY(-3px);
      }

      #hero .btn-secondary {
        color: var(--aji-white);
        border-color: var(--aji-white);
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
      }

      #hero .btn-secondary:hover {
        background: var(--aji-white);
        color: var(--aji-deep-carbon);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
      }

      #hero::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.03) 0px, rgba(0, 0, 0, 0.03) 1px, transparent 1px, transparent 2px);
        pointer-events: none;
        z-index: 1;
      }

      #hero .hero-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        position: relative;
      }

      @media (min-width: 1200px) {
        #hero .hero-content {
          max-width: 1000px;
        }
      }

      h1,
      .alpha {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 600;
        text-align: center;
      }

      h2,
      .beta {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        font-weight: 600;
        text-align: center;
      }

      h3,
      .gamma {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        font-weight: 600;
      }

      p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
      }

      .yellow-text {
        color: var(--aji-yellow);
        font-weight: bold;
      }

      .hero-actions {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 2rem;
      }

      #hero .hero-legal-disclaimer {
        font-size: 0.8rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.75);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
        max-width: 600px;
        margin: 1.5rem auto 0;
      }

	  #problem p {
		text-align: center; 
		max-width: 1100px; 
		margin: 0 auto 2rem; 
		font-size: 1.1rem; 
		line-height: 1.6; 
		color: var(--aji-deep-carbon);
	  }

      .emphasized-tagline {
		  display: block;      
		  margin-top: 1rem;
		  font-size: 1.2rem;
		  font-weight: bold;   
		}

      /* =========================================
		 BUTTONS
	  ========================================= */
      .btn {
        display: inline-block;
        padding: 0.875rem 2rem;
        border-radius: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        cursor: pointer;
        text-align: center;
      }

      .btn-primary {
        background: var(--aji-yellow);
        color: var(--aji-deep-carbon);
        border: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.2s ease;
      }

      .btn-primary:hover {
        background: var(--aji-gold);
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      }

      .btn-secondary {
        background: transparent;
        color: var(--aji-white);
        border: 2px solid var(--aji-white);
      }

      .arrow-section.light .btn-secondary,
      .arrow-section.white .btn-secondary,
      .arrow-section.mid-gray .btn-secondary,
      .arrow-section.pale-yellow .btn-secondary {
        color: var(--aji-slate-steel);
        border-color: var(--aji-slate-steel);
      }

      .btn-secondary:hover {
        background: var(--aji-white);
        color: var(--aji-deep-carbon);
      }

      .arrow-section.light .btn-secondary:hover,
      .arrow-section.white .btn-secondary:hover,
      .arrow-section.mid-gray .btn-secondary:hover,
      .arrow-section.pale-yellow .btn-secondary:hover {
        background: var(--aji-slate-steel);
        color: var(--aji-white);
      }


      /* =========================================
		 CATALOG & UPGRADES SECTION
	  ========================================= */
      .upgrades-catalog-section {
        background-color: var(--aji-deep-carbon);
        padding: 40px 0;
      }

      .lead-segue {
        color: var(--aji-white);
        text-align: center;
        margin-bottom: 0.75rem;
        font-size: 2.5rem;
        font-weight: 600;
      }

      .secondary-segue {
        color: var(--aji-yellow);
        text-align: center;
        margin: 4rem 0 3rem 0;
        font-size: 1.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .segue-sub {
          display: block; 
          color: var(--aji-yellow);
          font-size: 1.15rem; 
          font-weight: 600;
          margin-top: 0.5rem;
          letter-spacing: 0.01em;
          text-transform: none; 
      }

      /* =========================================
		 GUIDE COMPATIBILITY SECTION
	  ========================================= */
      #compatibility-guide {
        background: var(--aji-vapor);
      }

      .compat-guide-intro {
        max-width: 860px;
        margin: 0 auto 2rem;
        text-align: center;
        color: var(--aji-slate-steel);
        line-height: 1.7;
      }

      .compat-family {
        position: relative;
        background: var(--aji-pure-white);
        border: 1px solid var(--aji-galvanized-steel);
        border-radius: 8px;
        border-top-right-radius: 20px;
        padding: 1rem 1rem 1.25rem;
        margin: 0 0 1.25rem;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
      }

      .compat-family[data-family="early"] { border-top: 4px solid #4477AA; }
      .compat-family[data-family="late"] { border-top: 4px solid #EE7733; }
      .compat-family[data-family="elite-usa"] { border-top: 4px solid #009988; }
      .compat-family[data-family="personal-plus"] { border-top: 4px solid #CC3366; }
      .compat-family[data-family="under-40"] { border-top: 4px solid #BBBBBB; }

      .compat-family > legend {
        padding: 0 0.5rem;
        font-weight: 700;
        color: var(--aji-deep-carbon);
        font-size: 1.05rem;
      }

      .compat-family .compat-info-icon {
        position: absolute;
        top: calc(-0.5em + 1px);
        right: calc(0.1em + 2px);
        width: 28px;
        height: 28px;
        border: 2px solid var(--aji-bright-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: bold;
        color: var(--aji-bright-blue);
        background: rgba(1, 111, 185, 0.08);
        cursor: pointer;
        transition: all .3s ease;
        z-index: 5;
        pointer-events: auto;
        font-style: normal;
        padding: 0;
        line-height: 1;
      }

      .compat-family .compat-info-icon::before {
        content: "i";
      }

      .compat-family .compat-info-icon:hover {
        background: var(--aji-bright-blue);
        color: white;
        transform: scale(1.1);
      }

      .compat-card-grid {
        display: grid;
        gap: .55rem;
        width: 100%;
        box-sizing: border-box;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 0.5rem;
      }

      @media (min-width: 380px) {
        .compat-card-grid {
          grid-template-columns: repeat(3, minmax(0, 1fr));
        }
      }

      @media (min-width: 580px) {
        .compat-card-grid {
          grid-template-columns: repeat(4, minmax(0, 1fr));
        }
      }

      .compat-card {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .25rem;
        padding: .4rem .3rem .45rem;
        border: 2px solid var(--aji-galvanized-steel);
        border-radius: 6px;
        background: var(--aji-pure-white);
        transition: all .2s ease;
        height: 100%;
        min-width: 0;
        overflow: hidden;
      }

      .compat-card--linked {
        cursor: pointer;
      }

      .compat-card--linked:hover,
      .compat-card--linked:focus-visible {
        border-color: var(--aji-slate-steel);
        background: #f0f8ff;
      }

      .compat-card__thumb {
        position: relative;
        width: 100%;
        aspect-ratio: 2 / 1;
        border-radius: 3px;
        overflow: hidden;
        display: block;
      }

      .compat-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        max-width: 100%;
      }

      .compat-card__name {
        width: 100%;
        font-size: clamp(.75rem, 1.875vw, .9rem);
        color: var(--aji-midnight-express);
        font-weight: 500;
        line-height: 1.25;
        display: -webkit-box;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.5em;
      }

      .compat-card__cta {
        position: absolute;
        inset: auto 0 0 0;
        background: rgba(1, 111, 185, 0.92);
        color: var(--aji-pure-white);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 0.55rem 0.5rem;
        transform: translateY(100%);
        transition: transform 0.2s ease;
        border-radius: 0;
        margin-top: 0;
      }

      .compat-card__cta-short {
        display: none;
      }

      .compat-card--linked:hover .compat-card__cta,
      .compat-card--linked:focus-visible .compat-card__cta {
        transform: translateY(0);
      }

      /* Magnify/lightbox icon — mirrors .aji-pb-form .magnify-icon styling so it reads
         as the same control across the site. z-index is set above .compat-card__cta
         (which has no explicit z-index) so the hover-revealed "Get grips" bar can never
         cover the icon, regardless of exact card height. */
      .compat-card .magnify-icon {
        position: absolute; top: 3px; right: 3px; z-index: 6;
        width: clamp(20px, 7%, 30px); height: clamp(20px, 7%, 30px);
        display: flex; align-items: center; justify-content: center;
        color: rgba(255, 255, 255, .95); background: none; border: none;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .9));
        pointer-events: auto; cursor: pointer; transition: all .2s ease;
        opacity: 0.55;
      }
      .compat-card--linked:hover .magnify-icon,
      .compat-card--linked:focus-within .magnify-icon {
        opacity: 1;
      }
      .compat-card .magnify-icon svg {
        width: 85%; height: 85%; fill: none; stroke: currentColor;
        stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
      }
      .compat-card .magnify-icon:hover {
        transform: scale(1.15) translateY(-1px);
      }

      .compat-card--locked {
        cursor: default;
        opacity: .5;
      }

      .compat-card--locked .compat-card__cta {
        display: none;
      }

      @media (hover: none), (pointer: coarse) {
        .compat-card__cta {
          position: static;
          transform: none;
          border-radius: 8px;
          margin-top: 0.25rem;
        }
        .compat-card__cta-long {
          display: none;
        }
        .compat-card__cta-short {
          display: inline;
        }
        .compat-card .magnify-icon {
          opacity: 1;
        }
      }

      /* =========================================
		 PRODUCT MODALS
	  ========================================= */
      .product-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(2, 22, 43, 0.9);
        z-index: 5000;
        justify-content: center;
        align-items: center;
        padding: 20px;
        backdrop-filter: blur(5px);
      }

      .product-modal-overlay.active {
        display: flex;
      }

      .product-modal-content {
        background: var(--aji-white);
        width: 100%;
        max-width: 1000px;
        max-height: 90vh;
        border-radius: 12px;
        overflow-y: auto;
        position: relative;
        display: grid;
        grid-template-columns: 1fr 1fr;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
      }

      .product-modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        width: 36px;
        height: 36px;
        border: 2px solid var(--aji-galvanized-steel);
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--aji-midnight-express);
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 10;
      }

      .product-modal-close:hover {
        background: var(--aji-red);
        color: white;
        border-color: var(--aji-red);
        transform: scale(1.1);
      }

      .warning-note-box {
        margin-top: 2rem;
        padding: 15px;
        background: #F1F7FB;
        border-left: 5px solid var(--aji-slate-steel);
        border-radius: 4px;
      }

      .warning-note-box p {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--aji-deep-carbon);
      }

     .note-box {
      background: var(--aji-pale-yellow);
      border-left: 3px solid var(--aji-yellow);
      padding: 0.75rem;
      margin-bottom: 0.5rem;
		  color: var(--aji-midnight-express); 
      font-size: 0.9rem;
	  	line-height: 1.3;
	  }
    .note-box strong { color: var(--aji-deep-carbon); }

	@media (max-width: 991px) {
	  .note-box {
		padding: 0.7rem;               /* Smaller padding overall */
		gap: 0.8rem;                   /* Tighter gap between icon and text */
		font-size: 0.8rem;             /* Slightly smaller text */
	  }	

	}

	/* Extra-small screens (very narrow phones) */
	@media (max-width: 360px) {
	  .note-box {
		padding: 0.7rem;
		gap: 0.6rem;
	  }
		
      #inventory-alert-bar {
        font-size: 0.80rem; /* Or whatever size you want */
      }	
	}



      /* =========================================
		 ACCORDIONS (VIDEO/FAQ/INSTALL)
	  ========================================= */
      .video-accordion-container,
      .faq-container {
        max-width: 1200px;
        width: 95%;
        margin: 2rem auto 0 auto;
      }

      .accordion-category-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-top: 3rem;
        margin-bottom: 1rem;
        color: var(--aji-deep-carbon);
        padding-bottom: 10px;
      }

      .accordion-category-title:first-child {
        margin-top: 0;
      }

      .accordion-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }	

      .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 0;
        cursor: pointer;
        background: transparent;
        background-color: rgba(71, 85, 105, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.05); 
        transition: background-color 0.2s ease, color 0.2s ease;
      }

      .accordion-label {
        font-size: 1.05rem;
        font-weight: 600;
        padding-right: 20px;
      }

      .accordion-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        transition: transform 0.3s ease;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
      }

      .accordion-item.active .accordion-icon {
        transform: rotate(180deg);
      }

      .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        border-left: 4px solid var(--aji-slate-steel); 
      }

      .accordion-inner-padding {
        padding-bottom: 1.5rem;
        color: #444;
        font-size: 0.95rem;
        line-height: 1.6;
      }


	/* RECALL HIGHLIGHT STYLES */
		.accordion-item.recall-highlight {
		  border-left: 4px solid var(--aji-yellow); /* The visual anchor */
		  background-color: rgba(255, 184, 0, 0.05); /* Very faint yellow tint */
		}

		.recall-badge {
		  background-color: var(--aji-yellow);
		  color: var(--aji-deep-carbon);
		  font-size: 0.7rem;
		  font-weight: 800;
		  padding: 2px 6px;
		  border-radius: 4px;
		  text-transform: uppercase;
		  letter-spacing: 0.5px;
		  white-space: nowrap;
		}

		/* Ensure the tint disappears when open if you prefer clean reading */
		.accordion-item.recall-highlight.active {
		  background-color: var(--aji-white);
		}

      .redlink {
        color: var(--aji-red);
        text-decoration: underline;
        font-weight: bold;
      }

      #ajiEmail {
        color: var(--aji-red);
        text-decoration: underline;
        font-weight: bold;
      }

      #ajiEmail a {
        color: var(--aji-red);
        text-decoration: underline;
        font-weight: bold;
      }

      .faq-media-wrapper {
        margin: 0 auto;
        text-align: center;
        max-width: 75%;
      }

      .faq-inline-img-container {
        width: 100%;
        cursor: pointer;
        border: 1px solid #444;
        border-radius: 4px;
        overflow: hidden;
        transition: border-color 0.3s ease, transform 0.2s ease;
      }

      .faq-inline-img-container:hover {
        border-color: var(--aji-red);
        transform: scale(1.02);
      }

      .faq-inline-img-container img {
        width: 100%;
        display: block;
        height: auto;
      }

      .faq-caption {
        padding: 0.5em 0 0;
		font-size: 1.2rem;
        color: var(--aji-deep-carbon);
        font-weight: bold;
        font-style: italic;
        line-height: 1.4;
      }

      #faq .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      #faq .accordion-item.active .accordion-content {
        max-height: 2000px;
      }

      #faq .accordion-item.active>.accordion-content {
        background-color: rgba(0, 0, 0, 0.01);
        border-radius: 0px;
      }

      #faq .accordion-header {
        padding: 1.25rem 0.75rem;
        transition: background-color 0.2s ease;
        border-radius: 4px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      }

      #faq .accordion-header:hover,
      #faq .accordion-header:focus-visible {
        background-color: var(--aji-brushed-steel);
        color: var(--aji-pure-white);
      }

      #faq .accordion-item.active>.accordion-header {
        background-color: var(--aji-brushed-steel);
        color: var(--aji-pure-white);
        border-radius: 4px 4px 0 0;
      }

      #faq .accordion-item {
        padding: 0;
      }

      #faq .accordion-inner-padding {
        padding: 1.25rem 0.75rem 1.5rem;
      }

      @media (max-width: 600px) {
        .accordion-category-title {
          padding-left: 0.75rem;
          padding-right: 0.75rem;
        }

        #installation.arrow-section,
        .faq-section.arrow-section {
          padding-left: 0;
          padding-right: 0;
        }

        #installation .container,
        .faq-section .container {
          padding-left: 0;
          padding-right: 0;
        }

        .video-accordion-container,
        .faq-container {
          width: 100%;
        }
      }

      #installation .accordion-header {
        padding: 1.25rem 0.75rem;
        border-radius: 4px; 
        transition: background-color 0.2s ease, color 0.2s ease;
      }

      #installation .accordion-header:hover,
      #installation .accordion-header:focus-visible {
        background-color: var(--aji-brushed-steel);
        color: var(--aji-pure-white);
      }

      #installation .accordion-item.active>.accordion-header {
        background-color: var(--aji-brushed-steel);
        color: var(--aji-pure-white);
      }

      .rvideo {
        position: relative;
        padding-bottom: 56.25%;
        overflow: hidden;
        background-color: #000;
        border-radius: 4px;
        margin-top: 10px;
      }

      .rvideo iframe {
        position: absolute;
        top: 0;
        left: 0;
        border-width: 0px;
        width: 100%;
        height: 100%;
      }

      .video-action-btn {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 4px;
        background: #eee;
        color: #333;
        margin-left: 10px;
        border: none;
        transition: all 0.2s;
      }

      .accordion-item.active .video-action-btn {
        background: var(--aji-red);
        color: white;
      }

      /* =========================================
		 TESTIMONIALS
	  ========================================= */
      .testimonial-grid {
        display: grid;
        gap: 20px;
        margin-bottom: 2rem;
      }

      .testimonial-card {
        background: var(--aji-white);
        padding: 1.5rem;
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease;
      }

      .testimonial-card:hover {
        transform: translateY(-3px);
        border-color: var(--aji-slate-steel);
      }

      .testimonial-content {
        font-style: italic;
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--aji-midnight-express);
        margin-bottom: 1.25rem;
      }

      .testimonial-author {
        font-weight: 700;
        color: var(--aji-slate-steel);
        font-size: 0.85rem;
        text-transform: uppercase;
        text-align: right;
        letter-spacing: 0.5px;
      }

      .btn-reveal-more {
        display: block;
        width: auto;
        max-width: 400px;
        margin: 2em auto;
        padding: 0.875rem 2rem;
        background: var(--aji-yellow);
        color: var(--aji-deep-carbon);
        border: transparent 2px solid;
        border-radius: 0.625rem;
        font-weight: 600;
        font-size: 1rem;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: 1px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.2s ease;
      }

      .btn-reveal-more:hover {
        background: var(--aji-gold);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
      }

      .btn-reveal-more:disabled {
        opacity: 0.6;
        cursor: not-allowed;
      }

      .btn-reveal-more[aria-expanded="true"] {
        background: var(--aji-yellow);
      }

      .btn-reveal-more:hover[aria-expanded="true"] {
        background: var(--aji-gold);
      }

      .testimonial-grid .hidden {
        display: none !important;
      }

      /* =========================================
		 CONTACT FORM
	  ========================================= */

	  #contact-form-section {
		display: none;
		padding: 2rem 1rem;
		background: #f9f9f9;
	  }

	  #contact-form-section.active {
		display: block !important;
		animation: slideDownFade 0.4s ease-out;
	  }

	  #contact-form-section .contact-form {
		width: 100%;
		max-width: 600px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	  }

	  #contact-form-section .form-group {
		display: flex;
		flex-direction: column;
		gap: 0.5rem;
	  }

	  #contact-form-section label {
		font-weight: 700;
		font-size: 0.9rem;
		color: var(--aji-deep-carbon);
		letter-spacing: 0.5px;
	  }

	  .required { color: var(--aji-red); }
	  .optional { font-weight: normal; font-size: 0.8rem; color: #777; }

	  #contact-form-section input,
	  #contact-form-section textarea {
		padding: 0.8rem 1rem;
		border: 2px solid #e1e1e1;
		border-radius: 6px;
		font-family: inherit;
		font-size: 1rem;
		transition: border-color 0.2s ease;
		width: 100%;
		box-sizing: border-box;
	  }

	  #contact-form-section input:focus,
	  #contact-form-section textarea:focus {
		outline: none;
		border-color: var(--aji-slate-steel);
	  }

	  #contact-form-section textarea { resize: vertical; min-height: 120px; }

	  /* Contact form submit button */
		#contact-form-section #submitBtn {
		  display: flex;
		  align-items: center;
		  justify-content: center;
		  padding: 0.875rem 2rem;
		  font-size: 1rem;
		  font-weight: 600;
		  border: none;
		  border-radius: 8px;
		  cursor: pointer;
		  background: var(--aji-yellow); /* Bright yellow */
		  color: var(--aji-deep-carbon); /* Black text */
		  transition: all 0.2s ease-in-out;
		  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		}

		#contact-form-section #submitBtn:hover {
		  background: var(--aji-gold); /* Gold on hover */
		  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
		}
	
		
	  #contact-form-section #btnLoader { margin-left: 0.5rem; }

	  /* Success & Error Messages */
	  #successMessage,
	  #errorMessage,
	  #contact-form-section #successMessage,
	  #contact-form-section #errorMessage {
		display: none;
		text-align: center;
		padding: 1.5rem;
		max-width: 600px;
		margin: 0 auto;
	  }

	  .success-icon,
	  #successMessage div {
		width: 60px;
		height: 60px;
		background: var(--aji-green);
		color: white;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 2rem;
		margin: 0 auto 1.5rem;
	  }

	  .error-icon,
	  #errorMessage div {
		width: 60px;
		height: 60px;
		background: var(--aji-red);
		color: white;
		font-weight: bold;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 2rem;
		margin: 0 auto 1.5rem;
	  }

	  .message-title { color: var(--aji-deep-carbon); margin-bottom: 1rem; }
	  .message-text { margin-bottom: 1rem; }
	  .message-note { font-size: 0.95rem; color: #555; line-height: 1.6; }
	  .message-btn { margin-top: 1.5rem; }

	  #formHeader p { text-align: center; }

	  .loader {
		width: 20px;
		height: 20px;
		border: 3px solid rgba(255, 255, 255, 0.3);
		border-radius: 50%;
		border-top-color: #fff;
		display: inline-block;
		animation: spin 1s ease-in-out infinite;
		margin-right: 1em;
		vertical-align: middle;
	  }

	  @keyframes spin { to { transform: rotate(360deg); } }
	  @keyframes slideDownFade {
		from { opacity: 0; transform: translateY(-20px); }
		to { opacity: 1; transform: translateY(0); }
	  }

	  /* Shared photo upload styling (contact form & order form) */
	  .photo-upload-container { 
		width: 100%; 
	  }

	  .photo-upload-area {
		display:flex; 
		align-items:center; 
		justify-content:center; 
		gap:12px; 
		padding: 14px 5px 2px 5px; 
		border-radius:6px; 
		cursor:pointer;
		border: 2px solid var(--aji-galvanized-steel); 
		background: var(--aji-pure-white);
		transition: all 0.2s ease;
		text-align: center;
	  }

	  .photo-upload-area > div { 
		text-align: center; 
	  }

	  .photo-upload-area:hover { 
		border-color: var(--aji-slate-steel); 
		background: #f0f8ff;
	  }

	  .upload-icon { 
		color: var(--aji-slate-steel); 
		opacity: 0.95; 
	  }

	  .photo-preview-container { 
		display:flex; 
		gap:8px; 
		flex-wrap:wrap; 
		margin-top:10px; 
	  }

	  .photo-preview {
		width: 88px; 
		height: 88px; 
		border-radius: 8px; 
		overflow: hidden; 
		position: relative; 
		border: 1px solid var(--aji-galvanized-steel);
		box-shadow: 0 6px 14px rgba(2,18,34,0.06);
	  }

	  .photo-preview img { 
		width:100%; 
		height:100%; 
		object-fit:cover; 
		display:block; 
	  }
		
      /* =========================================
		 FOOTER
	  ========================================= */
      .site-footer {
        background-color: var(--aji-deep-carbon);
        color: var(--aji-white);
        padding: 80px 1rem 40px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
      }

      .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
      }

      .footer-column h4 {
        color: rgba(255, 255, 255, 0.5);
        text-transform: none;
        letter-spacing: 0.5px;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
        font-weight: 600;
      }

      .footer-info p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--aji-yellow);
        margin-bottom: 0.25rem;
      }

      .footer-social-links {
        display: flex;
        flex-wrap: wrap;
      }

      .footer-social-links a {
        display: inline-flex;
        margin-right: 18px;
        text-decoration: none;
      }

      .footer-social-links a:last-child {
        margin-right: 0;
      }

      .footer-social-links .social-icon-svg {
        fill: rgba(255, 255, 255, 0.5);
        width: 26px;
        height: 26px;
        display: block;
        transition: all 0.3s ease;
      }

      .footer-social-links a:hover .social-icon-svg {
        fill: var(--aji-yellow);
        transform: translateY(-3px);
      }

      /* Newsletter CSS removed — the footer newsletter is now a .pb-notify-widget.pb-notify--dark
         instance. Styles live in pb-notify-widget.css. */

      .footer-legal-bar {
        max-width: 1200px;
        margin: 60px auto 0;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.75);
        text-align: center;
      }

      .legal-text {
        font-size: 0.8rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.75);
        max-width: 900px;
        margin: 0 auto;
      }

      .footer-legal-links {
		  margin-top: 1.5rem;
		}

		.footer-legal-links a {
		  color: var(--aji-yellow);
		  font-size: 1rem;
		  text-decoration: underline;
		  display: inline-block;
		  margin-bottom: 0.5rem;
		}

		.footer-legal-links a.with-margin {
		  margin-right: 15px;
		}


      /* =========================================
		 LIGHTBOX
	  ========================================= */
      #ajiLightbox {
        display: none;
        position: fixed;
        z-index: 6000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(2, 22, 43, 0.95);
        backdrop-filter: blur(8px);
        justify-content: center;
        align-items: center;
        cursor: pointer;
      }

      #ajiLightbox img {
        max-width: 90%;
        max-height: 80%;
        border-radius: 4px;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
        transform: scale(0.9);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }

      #ajiLightbox.active {
        display: flex;
      }

      #ajiLightbox.active img {
        transform: scale(1);
      }

      .lightbox-close {
        position: absolute;
        top: 20px;
        right: 30px;
        width: 36px;
        height: 36px;
        border: 2px solid var(--aji-white);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--aji-white);
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .lightbox-close:hover {
        background: var(--aji-red);
        color: white;
        border-color: var(--aji-red);
        transform: scale(1.1);
      }

      /* =========================================
		 LEGAL MODAL
	  ========================================= */
      #legalModal {
        display: none;
        position: fixed;
        z-index: 5000;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(2, 22, 43, 0.9);
        backdrop-filter: blur(5px);
        justify-content: center;
        align-items: center;
        padding: 20px;
      }

      .legal-modal-content {
        background: var(--aji-white);
        width: 100%;
        max-width: 700px;
        max-height: 85vh;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        border-top: 6px solid var(--aji-slate-steel);
        overflow: hidden;
        position: relative;
      }

      .legal-modal-header {
        padding: 20px 30px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
      }

      .legal-modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        color: var(--aji-deep-carbon);
      }

      .legal-modal-body {
        padding: 2em;
        overflow-y: auto;
        color: #444;
        line-height: 1.6;
      }

      .legal-modal-body h3 {
        color: var(--aji-slate-steel);
        font-size: 1.1rem;
        margin-top: 1.5rem;
      }

      .legal-tldr {
        background: #F1F7FB;
        padding: 15px;
        border-radius: 4px;
        border-left: 4px solid var(--aji-yellow);
        font-style: italic;
        margin-bottom: 20px;
        font-size: 0.9rem;
      }

      .close-legal {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        border: 2px solid var(--aji-galvanized-steel);
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--aji-midnight-express);
        cursor: pointer;
        transition: all 0.2s ease;
      }

      .close-legal:hover {
        background: var(--aji-red);
        color: white;
        border-color: var(--aji-red);
        transform: scale(1.1);
      }

      /* =========================================
		 SOCIAL ICONS (UNIVERSAL)
	  ========================================= */
      .social-links-container {
        display: flex;
        gap: 18px;
        align-items: center;
      }

      .social-icon-svg {
        width: 20px;
        height: 20px;
        fill: rgba(255, 255, 255, 0.6);
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      }

      .social-links-container a:hover .social-icon-svg {
        fill: var(--aji-yellow);
        transform: translateY(-2px);
      }

      .site-footer .social-icon-svg {
        width: 26px;
        height: 26px;
        fill: var(--aji-white);
      }

      /* =========================================
		 RESPONSIVE STYLES
	  ========================================= */

      /* Reduced Motion Preference */
      @media (prefers-reduced-motion: reduce) {
        .accordion-content {
          transition: none !important;
        }

        .testimonial-grid .testimonial-card:not(.hidden) {
          animation: none !important;
          transition: none !important;
          opacity: 1 !important;
          transform: none !important;
        }
      }

      /* Hover/pointer for desktop only */
      @media (hover: hover) and (pointer: fine) {

        #installation .accordion-header:hover,
        #faq .accordion-header:hover {
          background-color: var(--aji-brushed-steel);
          color: var(--aji-pure-white);
        }
      }

      /* ──────────────────────────────────────
		   MOBILE & TABLET STYLES (Max-Width 768px / 48em)
		─────────────────────────────────────── */
      @media (max-width: 48em) {

        /* --- 1. BRAND BAR (Top Strip) --- */
        .brand-bar {
          height: 34px;
          padding: 0 10px;
          width: 100%;
          box-sizing: border-box;
          /* Prevents padding from adding to width */
        }

        .brand-bar-container {
          width: 100%;
          padding: 0;
          display: flex;
          justify-content: space-between;
          align-items: center;
        }

        /* BRAND LINKS (Left) */
        .brand-links {
          display: flex !important;
          align-items: center;
          /* Allow them to take available space but not push icons off */
          flex: 1 1 auto;
          overflow: hidden;
          /* Safety for very small screens */
        }

        .brand-link {
          font-size: 10px;
          padding: 0 8px;
          border: none;
          white-space: nowrap;
          /* Prevent wrapping */
          color: rgba(255, 255, 255, 0.7);
        }

        .brand-link.active {
          color: var(--aji-white);
        }

        /* SOCIAL ICONS (Right) */
        .social-links-container {
          display: flex !important;
          align-items: center;
          flex-shrink: 0;
          /* Never squash the icons */
          margin-left: 5px;
        }

        /* Use margins instead of gap for bulletproof spacing */
        .brand-bar .social-links-container a {
          margin-right: 12px;
          display: block;
          line-height: 0;
        }

        .brand-bar .social-links-container a:last-child {
          margin-right: 0;
        }

        .brand-label {
          display: none;
        }

        /* --- 2. HEADER & NAV (Sticky Bar) --- */
        .sticky-header {
          padding: 0 15px;
          width: 100%;
          box-sizing: border-box;
        }

        .buttons-container {
          display: flex;
          justify-content: space-between;
          align-items: center;
          width: 100%;
          height: 60px;
        }

        .menu-list {
          display: none;
        }

        /* MOBILE LOGO (Color Fix) */
        .mobile-logo {
          display: block;
          text-decoration: none;
          flex-shrink: 0;
          color: var(--aji-white);
          /* Parent sets the color */
        }

        /* Architecturally sound SVG fill inheritance */
        .mobile-logo .st0,
        .mobile-logo .st1 {
          fill: currentColor;
        }

        /* HAMBURGER */
        .hamburger {
          display: flex;
          margin-left: auto;
          flex-shrink: 0;
        }

        /* MOBILE MENU PANEL */
        .mobile-menu {
          display: flex;
        }

        /* --- 3. LAYOUT & TEXT --- */
		  
        .hero-content,
        .lead-segue,
        .secondary-segue,
        #hero p {
          max-width: 100% !important;
          margin-left: 0;
          margin-right: 0;
          padding: 0;
        }

        #hero h1 {
          font-size: 2rem;
          line-height: 1.2;
        }

        .mobile-break {
          display: none;
        }

      .site-footer {
        padding: 40px 1rem 40px;
      }


		  
		  .footer-container {
			display: flex;
			flex-direction: column;
			align-items: center;
			gap: 30px;
			padding: 1rem 1rem;
		  }

		  .footer-column {
			width: 100%;
			text-align: center;
		  }

		  /* Headings smaller and centered */
		  .footer-column h4 {
			font-size: 1.1rem;
			color: rgba(255, 255, 255, 0.7);
			margin-bottom: 1rem;
		  }

		  /* Footer info text smaller */
		  .footer-info p {
			font-size: 1rem;
			line-height: 1.5;
			color: var(--aji-yellow);
			margin-bottom: 0.5rem;
		  }

		  /* Social links centered */
		  .footer-social-links {
			justify-content: center;
			gap: 15px;
			margin-bottom: 1rem;
		  }

		  .footer-social-links a {
			margin: 0;
		  }

		  /* Newsletter responsive CSS removed — handled by pb-notify-widget.css */

		  /* Footer legal bar: centered and tighter */
		  .footer-legal-bar {
			padding-top: 20px;
			text-align: center;
		  }
		  
		  .legal-text p{
			font-size: 0.8rem;
			line-height: 1.4;
		  }

		  .footer-legal-links {
			margin-top: 10px;
			display: flex;
			justify-content: center;
			flex-wrap: wrap;
			gap: 12px;
		  }

		  .footer-legal-links a {
			font-size: 1rem;
		  }
		  
		  .legal-text {
			font-size: 0.74rem; /* small but legible */
			line-height: 1.4;
			text-align: center; /* looks cleaner on narrow screens */
			max-width: 90%; /* prevent it from spanning full width */
			}	  

			#hero .hero-legal-disclaimer {
			font-size: 0.74rem;
			line-height: 1.4;
			max-width: 90%;
			}	  
      }

      /* ──────────────────────────────────────
		   SMALL MOBILE TWEAKS (< 500px / 32em)
		─────────────────────────────────────── */
      @media (max-width: 32em) {
        .mobile-break {
          display: block;
        }
		 
      #hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 106px;
      }  

        /* 360px Optimization */
        .brand-link {
          font-size: 9px;
        }

        .brand-bar .social-links-container a {
          margin-right: 8px;
          /* Tighter icon spacing */
        }

        #hero h1 {
          font-size: 1.8rem;
        }

        .lead-segue {
          font-size: 1.7rem;
        }
		  
		.faq-caption {
			padding: 0.2em 0 0;
			font-size: 0.9rem;
			line-height: 1.1;
      	}  

		  
		#contact-form-section .contact-form {
		  width: 100%;      /* keeps it responsive */
		  max-width: 600px; /* readable width on large screens */
		  margin: 0 auto;   /* centers the form */
		}  
		  
		  #contact-form-section #successMessage,
		  #contact-form-section #errorMessage {
		  max-width: 600px;
		  margin: 0 auto;
		 }


		  /* Normalize all internal states */
		  .contact-form,
		  #successMessage,
		  #errorMessage {
			margin: 0;
			padding: 0;
			background: transparent;
		  }
		  
		  #contact-form-section .contact-form button {
		  background: var(--aji-yellow);
		  color: var(--aji-deep-carbon);
		  border: none;
		  cursor: pointer;
		  transition: all 0.3s ease;
		}

		#contact-form-section .contact-form button:hover {
		  background: var(--aji-gold);
		}


		  /* Success / error content spacing */
		  .success-state,
		  #errorMessage .success-state {
			padding: 1.25rem 0;
		  }

		  /* Icons don’t need to feel “modal” on mobile */
		  .success-icon,
		  .error-icon {
			width: 52px;
			height: 52px;
			margin-bottom: 1rem;
		  }

		  /* Inputs should visually span the card */
		  .form-group input,
		  .form-group textarea {
			font-size: 0.95rem;
			padding: 0.75rem 0.9rem;
		  }

		  /* Button should feel decisive and full-width */
		  #submitBtn {
			width: 100%;
			padding: 0.9rem 1rem;
		  }	 
     }

    /* ──────────────────────────────────────
     Narrow phones (≤ 520px)
    ─────────────────────────────────────── */
    @media (max-width: 32.5em) {
      #problem h2 {
        font-size: calc(90vw / 14);
        line-height: 1.1;
      }
    }

    /* ──────────────────────────────────────
     Narrow phones (≤ 390px)
    ─────────────────────────────────────── */
    @media (max-width: 24.375em) {
      #hero .mobile-break {
        display: block;
      }

      #hero h1 {
        line-height: 1.4;
      }

      #hero h1 .hero-title-lead {
        font-size: 1.6rem;
      }

      #hero .hero-title-break {
        display: block;
      }

#problem h2 {
        font-size: calc(90vw / 11);
        line-height: 1.1;
      }

      #problem p {
        font-size: 1rem;
        line-height: 1.5;
		    margin-bottom: 1.25rem;  
      }
		
	  .emphasized-tagline {
		  margin-top: 0.5rem;
		  margin-bottom: 0.75rem;
		}	
    }

    @media (max-width: 20em) {
      #problem h2 {
        font-size: calc(90vw / 12);
      }
    }

	  /* Contact form close button - applies at all screen sizes */
	  .close-contact-btn {
		position: absolute;
		top: 1rem;
		right: 1rem;
		width: 36px;
		height: 36px;
		border: 2px solid var(--aji-galvanized-steel);
		border-radius: 50%;
		background: white;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--aji-midnight-express);
		cursor: pointer;
		transition: all 0.2s ease;
		z-index: 10;
		padding: 0;
	  }

	  .close-contact-btn:hover {
		background: var(--aji-red);
		color: white;
		border-color: var(--aji-red);
		transform: scale(1.1);
	  }


	/* ──────────────────────────────────────
	   Very narrow phones – full-width FAQ accordion
	   ≤ 360px / ≤ 22.5em
	─────────────────────────────────────── */

	@media (max-width: 22.5em) {
	.emphasized-tagline {
	font-size: calc(90vw / 17);
    line-height: 1.2;
    }

    .lead-segue {
  font-size: calc(90vw / 10.5);
    line-height: 1.1;
    }

    #installation h2 {
  font-size: calc(90vw / 9.5);
    line-height: 1.1;
    }

	  .faq-section {
		padding-left: 0;
		padding-right: 0;
	  }

	  /* FAQ container full viewport width, zero side margins */
	  .faq-section .faq-container {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
    padding-left: 0;
    padding-right: 0;
	  }

	  /* Accordion items full bleed inside FAQ */
	  .faq-section #faq .accordion-item {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	  }

	  /* Headers and inner content */
	  .faq-section #faq .accordion-header {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	  }

	  .faq-section #faq .accordion-inner-padding {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	  }

	  /* Media and captions full width */
	  .faq-section .faq-media-wrapper {
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	  }

	  .faq-section .faq-inline-img-container {
		margin-left: 0;
		margin-right: 0;
	  }

	  .faq-section .faq-caption {
		margin-left: 0.5rem;
		margin-right: 0.5rem;
		max-width: none;
	  }
	}

    /* ──────────────────────────────────────
     LEGAL MODAL — 390px and smaller
     ─────────────────────────────────────── */
	@media (max-width: 24.375em) {

	  #legalModal {
		padding: 12px;
	  }

	  .legal-modal-content {
		max-height: 92vh;
	  }

	  .legal-modal-header {
		padding: 14px 16px;
	  }

	  .legal-modal-header h2 {
		font-size: 1.2rem;
	  }

	  .legal-modal-body {
		padding: 14px 16px;
		line-height: 1.45;
	  }

	  .legal-modal-body p,
	  .legal-modal-body li {
		font-size: 0.9rem;
		line-height: 1.45;
		margin-bottom: 0.65rem;
	  }

	  .legal-modal-body h3 {
		font-size: 1rem;
		margin-top: 1rem;
		margin-bottom: 0.4rem;
	  }

	  .legal-modal-body h4 {
		font-size: 0.95rem;
		margin-top: 0.85rem;
		margin-bottom: 0.3rem;
	  }

	  .legal-modal-body ul,
	  .legal-modal-body ol {
		padding-left: 16px;
		margin-bottom: 0.65rem;
	  }

	  .legal-tldr {
		font-size: 0.875rem;
		padding: 12px;
		margin-bottom: 14px;
	  }
		
	  #faq .accordion-label {
		font-size: 0.95rem;
	  }

	  #faq .accordion-inner-padding {
		  padding-top: 1rem;
		  padding-bottom: 1.25rem;
		}

		#faq .accordion-inner-padding,
		#faq .accordion-inner-padding p,
		#faq .accordion-inner-padding li {
		  font-size: 0.875rem;
		  line-height: 1.45;
		}

	  #faq .accordion-header {
		padding-top: 1rem;
		padding-bottom: 1rem;
	  }	
		
	  #hero .hero-content p:not(.hero-legal-disclaimer) {
		  font-size: 1.4rem;
	  }

		#installation .accordion-label {
		  font-size: 0.95rem;
		}

		#installation .accordion-header {
		  padding-top: 1rem;
		  padding-bottom: 1rem;
		}	
		
		.accordion-category-title {
		  margin-top: 1.5rem;
		  margin-bottom: 0.75rem;
		  padding-bottom: 6px;
		}
	}


	/* ──────────────────────────────────────
	   LEGAL MODAL OPTIMIZATION (Small Screens ≤ 360px)
	   Improves readability and scrolling space
	─────────────────────────────────────── */
	@media (max-width: 22.5em) {

	  /* 1. Maximize Width & Reduce Margins */
	  #legalModal {
		padding: 10px;  /* Reduce outer safe zone */
	  }

	  .legal-modal-content {
		width: 100%; 
		max-height: 93vh; /* Ensure header remains visible */
		border-radius: 8px; /* Slightly tighter corners */
	  }

	  .legal-modal-header {
		padding: 15px 15px; /* Tighter header */
	  }

	  .legal-modal-body {
		padding: 12px 14px; /* Maximize internal reading width */
	  }

	  /* 2. Tighten Typography for readability without bulk */
	  .legal-modal-body p, 
	  .legal-modal-body li {
		font-size: 0.85rem;  /* Standard readable size */
		line-height: 1.38;   /* Tighter line height prevents scroll fatigue */
		margin-bottom: 0.55rem;
	  }

	  .legal-modal-body h3 {
		font-size: 0.92rem; 
		margin-top: 0.85rem;
		margin-bottom: 0.35rem;
	  }

	  .legal-modal-body h4 {
		font-size: 0.875rem; 
		margin-top: 0.75rem;
	  }

	  /* 3. Adjust Lists to save horizontal space */
	  .legal-modal-body ul, 
	  .legal-modal-body ol {
		padding-left: 15px;  /* Reclaim left space */
		margin-bottom: 15px;
	  }

	  /* 4. Tweak the Disclaimer Box */
	  .legal-modal-body div[style*="background-color"] {
		padding: 15px; 
		margin-top: 20px; 
	  }
	
	  #faq h2 {
		  font-size: 1.8rem;
		}	 
		
	  #faq .accordion-label {
		font-size: 0.9rem;
	  }

	  #faq .accordion-inner-padding {
		  padding-top: 0.875rem;
		  padding-bottom: 1rem;
		}

		#faq .accordion-inner-padding,
		#faq .accordion-inner-padding p,
		#faq .accordion-inner-padding li {
		  font-size: 0.85rem;
		  line-height: 1.4;
		}

	  #faq .accordion-header {
		padding-top: 0.875rem;
		padding-bottom: 0.875rem;
	  }

		#problem p {
		  font-size: 0.95rem;
		  line-height: 1.45;
		}

		#installation h2 {
		  font-size: calc(90vw / 11);
		  margin-bottom: 0.5rem;
		}

		#installation .container > p {
		  font-size: 1rem;
		}

		.accordion-category-title {
		  font-size: 1.2rem;
		}

		#testimonials h2 {
		  font-size: 1.8rem;
		}

		#final-cta h2 {
		  font-size: 1.8rem;
		}

		#installation .accordion-label {
		  font-size: 0.875rem;
		}

		#installation .accordion-header {
		  padding-top: 0.75rem;
		  padding-bottom: 0.75rem;
		}	
		
		.emphasized-tagline {
		  margin-top: 1rem;
		}
	}

	/* ──────────────────────────────────────
	   LEGAL MODAL — 320px and smaller
	─────────────────────────────────────── */
	@media (max-width: 20em) {

	  #legalModal {
		padding: 8px;
	  }

	  .legal-modal-content {
		max-height: 95vh;
		border-radius: 6px;
	  }

	  .legal-modal-header {
		padding: 11px 12px;
	  }

	  .legal-modal-header h2 {
		font-size: 1.05rem;
	  }

	  .legal-modal-body {
		padding: 11px 12px;
		line-height: 1.38;
	  }

	  .legal-modal-body p,
	  .legal-modal-body li {
		font-size: 0.825rem;
		line-height: 1.38;
		margin-bottom: 0.5rem;
	  }

	  .legal-modal-body h3 {
		font-size: 0.875rem;
		margin-top: 0.75rem;
		margin-bottom: 0.3rem;
	  }

	  .legal-modal-body h4 {
		font-size: 0.85rem;
		margin-top: 0.65rem;
		margin-bottom: 0.25rem;
	  }

	  .legal-modal-body ul,
	  .legal-modal-body ol {
		padding-left: 13px;
		margin-bottom: 0.5rem;
	  }

	  .legal-tldr {
		font-size: 0.8rem;
		padding: 10px;
		margin-bottom: 10px;
	  }
	  #faq h2 {
		  font-size: 1.6rem;
		}

		#testimonials h2 {
		  font-size: 1.6rem;
		}

		#final-cta h2 {
		  font-size: 1.6rem;
		}

		.accordion-category-title {
		  font-size: 1.2rem;
		}
		
	  #faq .accordion-label {
    	font-size: 0.875rem;
	  }

	  #faq .accordion-inner-padding {
		  padding-top: 0.75rem;
		  padding-bottom: 0.875rem;
		}

		#faq .accordion-inner-padding,
		#faq .accordion-inner-padding p,
		#faq .accordion-inner-padding li {
		  font-size: 0.825rem;
		  line-height: 1.38;
		}

	  #faq .accordion-header {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
	  }	
		
	  .btn-reveal-more {
		  font-size: 0.9rem;
		}	
	}

      /* ──────────────────────────────────────
	   Testimonials grid adjustments
	─────────────────────────────────────── */
      @media (max-width: 30em) {

        /* 480px */
        .testimonial-grid {
          grid-template-columns: 1fr;
        }

    .footer-legal-links {
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }

    .footer-legal-links a.with-margin {
      margin-right: 0;
    }

    .footer-legal-links a {
      margin-bottom: 0;
      line-height: 1.4;
    }
      }

      @media (min-width: 30.0625em) and (max-width: 47.9375em) {

        /* 481–767px */
        .testimonial-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 48em) and (max-width: 61.9375em) {

        /* 768–991px */
        .testimonial-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 62em) {

        /* 992px+ */
        .testimonial-grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }

	/* =========================================
	   ICONS AND WATERMARKS
	========================================= */

	/* Info icon – upper right */
	.info-icon {
	  position: absolute;
	  top: 1rem;
	  right: 1rem;
	  width: 36px;
	  height: 36px;
	  border: 2px solid rgba(255, 255, 255, 0.75);
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  font-size: 1.2rem;
	  font-weight: bold;
	  color: rgba(255, 255, 255, 0.95);
	  background: rgba(17, 24, 39, 0.6);  /* Deep Carbon */
	  backdrop-filter: blur(6px);
	  z-index: 5;
	  pointer-events: none;
	  transition: all 0.3s ease;
	}

	.catalog-item:hover .info-icon {
	  opacity: 0.7;
	  transform: scale(0.92);
	}

	.info-icon::before {
	  content: "i";
	}

	/* --- MAGNIFYING GLASS OVERLAY (standalone, always visible) --- */
	.faq-inline-img-container {
	  position: relative;
	}

	.magnify-icon {
	  position: absolute;
	  top: 1rem;
	  right: 1rem;
	  z-index: 5;

	  width: 40px;
	  height: 40px;

	  display: flex;
	  align-items: center;
	  justify-content: center;

	  color: rgba(255, 255, 255, 0.95);
	  background: none;
	  border: none;
	  backdrop-filter: none;

	  /* Slight shadow for lift and separation */
	  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));

	  pointer-events: none;
	  transition: all 0.3s ease;
	}

	/* Larger SVG icon */
	.magnify-icon svg {
	  width: 36px;
	  height: 36px;
	  fill: none;
	  stroke: currentColor;
	  stroke-width: 2.2;
	  stroke-linecap: round;
	  stroke-linejoin: round;
	}

	/* Hover: lift + brighten */
	.faq-inline-img-container:hover .magnify-icon {
	  transform: translateY(-2px) scale(1.12);
	  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
	  color: #fff;
	}

    /* Add the watermark as background */
	.bento-visual::after,
	.modal-hero::after,
	#ajiLightbox::after {
	  content: "";
	  position: absolute;
	  bottom: 12px;                 /* distance from bottom edge */
	  right: 12px;                  /* distance from right edge */
	  width: 35px;                  /* adjust size as needed */
	  height: 35px;                 /* keep proportional to your logo */
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xml:space='preserve' viewBox='0 0 396.9 396.9'%3E%3Cpath d='M230.1 154.4h-15.3c-1.7 0-2.5.7-2.5 2.2v55.1c0 3.6-2.4 6.3-6 6.3-2.8 0-5.9-1.2-7.3-3.6-.1-.2-.2-.3-.3-.4l-22.3-56.9c-.6-1.6-2.1-2.7-3.7-2.7H161c-1.6 0-3.1 1-3.8 2.7L127.3 233c-.7 2 .1 3.3 2.2 3.3h15.8c1.7 0 3.2-1.1 3.6-2.7l3.6-10.7h29.7s3.2 5.6 6.5 8.6c.2.2.4.3.6.5 4.5 4 10.2 6.1 17.1 6.1 8 0 14.4-2.4 19.2-7.1 4.8-4.8 7.1-11.1 7.1-19.1v-55.1c0-1.7-.9-2.4-2.6-2.4M158.3 206l8.4-24.8 8.4 24.8zM255.3 234c0 1.5-.7 2.2-2.1 2.2h-15.9c-1.5 0-2.2-.7-2.2-2.2v-77.4c0-1.4.7-2.1 2.2-2.1h15.9q2.1 0 2.1 2.1z'/%3E%3Cpath d='M166.3 77.7C99.8 95.5 60.2 163.9 77.9 230.5s86 106.3 152.6 88.6S336.7 233 319 166.3C301.2 99.7 232.9 60 166.3 77.7m121 120.7c0 2.6-.1 5.2-.4 7.7l12.4 6.9c-1.2 8.1-3.3 15.9-6.2 23.3l-14.2-.2c-2.2 4.7-4.8 9.1-7.7 13.3l7.3 12.2c-5 6.3-10.7 12.1-17.1 17.1l-12.2-7.3c-4.2 2.9-8.6 5.5-13.3 7.7l.2 14.2c-7.4 3-15.2 5.1-23.3 6.2l-6.9-12.5c-2.5.2-5.1.4-7.7.4s-5.1-.1-7.7-.4l-6.9 12.5c-8.1-1.2-15.9-3.3-23.3-6.2l.2-14.2c-4.7-2.2-9.1-4.8-13.3-7.7l-12.2 7.3c-6.3-5-12.1-10.7-17.1-17.1l7.3-12.2c-2.9-4.2-5.5-8.6-7.7-13.3l-14.2.2c-3-7.4-5.1-15.2-6.2-23.3l12.4-6.9c-.2-2.5-.3-5.1-.3-7.7s.1-5.1.3-7.7l-12.4-6.9c1.2-8.1 3.3-15.9 6.2-23.3l14.2.2c2.2-4.7 4.8-9.1 7.7-13.3l-7.3-12.2c5-6.3 10.7-12.1 17.1-17.1l12.2 7.3c4.2-2.9 8.6-5.5 13.3-7.7l-.2-14.2c7.4-3 15.2-5.1 23.3-6.3l6.9 12.4c2.5-.2 5.1-.4 7.7-.4s5.1.1 7.7.4l6.9-12.4c8.1 1.2 15.9 3.3 23.3 6.3l-.2 14.2c4.7 2.2 9.1 4.8 13.3 7.7l12.2-7.3c6.3 5 12.1 10.7 17.1 17.1l-7.3 12.2c2.9 4.2 5.5 8.6 7.7 13.3l14.2-.2c3 7.4 5.1 15.2 6.2 23.3l-12.4 6.9c.3 2.6.4 5.1.4 7.7'/%3E%3Cpath d='M370.4 98.6c-17.5-30.7-41.4-54.5-71.7-72.1C268.3 8.9 234.8 0 198.4 0S128.5 8.9 98.2 26.5C67.8 44 43.7 67.9 26.2 98.6 8.6 129 0 162.5 0 198.9S8.6 268.6 26.2 299c17.5 30.1 41.6 54 72 71.6s63.9 26.2 100.3 26.2 69.9-8.6 100.3-26.2 54.2-41.4 71.7-71.6c17.5-30.4 26.4-63.7 26.4-100.1-.1-36.4-8.9-69.9-26.5-100.3m-19.8 127.1c-1.6 8.8-3.9 17.4-7 25.8l17.7 17.2c-5.6 12.9-12.6 25.1-21 36.4l-23.7-6.8q-8.55 10.2-18.9 18.9l6.7 23.8c-11.1 8.3-23.2 15.3-36.4 20.9L250.9 344c-4.2 1.5-8.4 2.9-12.7 4-4.3 1.2-8.7 2.1-13 2.8l-6 24c-14.2 1.7-28.2 1.6-41.9-.1l-5.9-24c-8.8-1.6-17.4-3.9-25.8-7l-17.2 17.7c-12.9-5.6-25.1-12.6-36.3-21.1l6.8-23.8c-6.8-5.7-13.1-12-18.8-18.9l-23.8 6.8C48 293.3 41 281.1 35.4 268l17.7-17c-1.5-4.2-2.9-8.4-4-12.7-1.2-4.3-2.1-8.7-2.8-13l-24-6.1c-1.7-14.2-1.6-28.3.1-42l24-6c1.6-8.8 3.9-17.4 7-25.8l-17.7-17.2c5.6-12.9 12.6-25.1 21-36.4l23.7 6.8q8.55-10.2 18.9-18.9L92.4 56c11.1-8.3 23.2-15.3 36.4-20.9L146 52.9c4.1-1.5 8.4-2.9 12.7-4 4.3-1.2 8.7-2.1 13-2.8l6-24c14.2-1.7 28.2-1.6 41.9.1l6 24c8.8 1.6 17.4 3.9 25.8 7l17.2-17.7c12.9 5.6 25.1 12.6 36.3 21.1l-6.8 23.8q10.2 8.55 18.9 18.9l23.7-6.8c8.3 11.1 15.3 23.3 20.9 36.4l-17.8 17.2c1.5 4.2 2.9 8.4 4 12.7 1.2 4.4 2.1 8.7 2.8 13.1l24 6c1.7 14.2 1.6 28.3-.1 42z'/%3E%3C/svg%3E");
	  background-size: contain;
	  background-repeat: no-repeat;
	  background-position: center;
	  opacity: 0.2;                /* very faint – adjust 0.08–0.20 as needed */
	  pointer-events: none;         /* doesn't interfere with clicks */
	  z-index: 1;                   /* above image but below any overlays */
	  filter: brightness(0) invert(1);	
	}

	/* Modal hero / lightbox watermark override - upper left, brighter */
	.modal-hero::after,
	#ajiLightbox::after {
	  top: 12px;
	  left: 12px;
	  bottom: auto;
	  right: auto;
	  opacity: 0.45;
	  z-index: 5;
	}

	/* =========================================
	   FINAL CTA BEAUTY SHOT
	========================================= */

	#final-cta {
	  position: relative;
	  background-image: 
		linear-gradient(
		  rgba(71, 85, 105, 0.97),  /* Slate Steel @ 97% */
		  rgba(71, 85, 105, 0.88)   /* Slate Steel @ 88% */
		),
		url('img/models/cta-hero.webp');

	  background-size: cover;
	  background-position: center;
	  background-repeat: no-repeat;

	}

	@media (min-width: 401px) {
	  #final-cta {
	    background-image:
	      linear-gradient(rgba(71, 85, 105, 0.97), rgba(71, 85, 105, 0.88)),
	      url('img/models/cta-hero.webp');
	  }
	}

	@media (min-width: 801px) {
	  #final-cta {
	    background-image:
	      linear-gradient(rgba(71, 85, 105, 0.97), rgba(71, 85, 105, 0.88)),
	      url('img/models/cta-hero.webp');
        padding: 5rem 1rem; /* Add more vertical padding on larger screens */
	  }
	}

	/* Optional: On wider screens, show a bit more of the image (less opaque) on the right side */
	@media (min-width: 992px) {
	  #final-cta {
		background-image: 
		  linear-gradient(to right,
			rgba(71, 85, 105, 0.4) 0%,    /* Left: Image shows through clearly */
			rgba(71, 85, 105, 0.75) 25%,  /* Start Solid Core */
			rgba(71, 85, 105, 0.8) 50%,  /* Center: Solid Blue for Text */
			rgba(71, 85, 105, 0.75) 75%,  /* End Solid Core */
			rgba(71, 85, 105, 0.4) 100%   /* Right: Image shows through clearly */  

		   /* rgba(71, 85, 105, 0.98) 0%,    Solid blue behind text 
			  rgba(71, 85, 105, 0.95) 40%,
			  rgba(71, 85, 105, 0.75) 100%   More transparent on right */
		  ),
		  url('img/models/cta-hero.webp');
	  }
	}


	/* =========================================
	   BENTO GRID SYSTEM FOR UPGRADES
	========================================= */

	.bento-grid {
	  display: grid;
	  grid-template-columns: 1fr; /* Mobile Default */
	  gap: 20px;
	  margin-bottom: 2rem;
	}

	/* Card Styling */
	.bento-card {
	  background: var(--aji-white);
	  border-radius: 12px;
	  overflow: hidden;
	  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
	  display: flex;
	  flex-direction: column;
	  transition: transform 0.2s ease, box-shadow 0.2s ease;
	  border: 1px solid rgba(0,0,0,0.05);
	  cursor: pointer;
	}

	.hero-card {
	  order: -1;
	}

	.bento-card:hover {
	  transform: translateY(-4px);
	  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
	  border-color: var(--aji-slate-steel);
	}

	/* Visuals */
	.bento-visual {
	  width: 100%;
	  aspect-ratio: 4/3; /* Enforces consistent height even if images vary */
	  background: var(--aji-deep-carbon);
	  overflow: hidden;
	  position: relative;
	}

	.bento-visual img,
	.bento-visual video {
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  transition: transform 0.3s ease;
	}

	/* Ensure the canvas fills the bento visual area */
	.pb-bento-canvas {
	  width: 100%;
	  height: 100%;
	  display: block;
	  background-color: #000; /* Matches the renderer background */
	}

	/* Knurl viz canvases — fill container; sized in px by JS so no CSS stretch distortion */
	.pb-knurl-bento-grid .bento-visual canvas,
	.product-modal .modal-gallery-image canvas {
	  width: 100%;
	  height: 100%;
	  display: block;
	}

	/* Knurl bento cards — border matches thickness bentos (default .bento-card border) */

	/* Coming Soon badge overlaid on bento card visual */
	.pb-bento-cs-badge {
	  position: absolute; bottom: 8px; left: 8px; z-index: 3;
	  font-size: .7rem; font-weight: 800; text-transform: uppercase; line-height: 1;
	  padding: 4px 6px; border-radius: 4px; letter-spacing: .04em;
	  background: var(--aji-yellow); color: var(--aji-deep-carbon); border: none;
	  pointer-events: none;
	}

	/* Optional: if you want the wireframe to pop against the card */
	.bento-visual {
	  overflow: hidden;
	  background: #000;
	}

	.bento-card:hover .bento-visual img {
	  transform: scale(1.05); /* Subtle zoom effect */
	}

	/* Content */
	.bento-content {
	  padding: 1.25rem;
	  display: flex;
	  flex-direction: column;
	  flex-grow: 1;
	}

	.bento-title {
	  color: var(--aji-deep-carbon);
	  font-size: 1.25rem;
	  font-weight: 700;
	  margin-bottom: 0.25rem;
	  text-transform: uppercase;
	  letter-spacing: 0.5px;
	}

  .upgrades-catalog-section > .container > .bento-grid:first-of-type .bento-title {
    text-transform: none;
    letter-spacing: 0;
  }

	.bento-tagline {
	  color: #555;
	  font-size: 0.95rem;
	  margin-bottom: 0.75rem;
	  line-height: 1.3;
	}

	.bento-price {
	  margin-top: auto;
	  margin-bottom: 0;
	  font-weight: 600;
	  color: var(--aji-deep-carbon);
	  font-size: 1rem;
	}

	/* --- DESKTOP LAYOUT (The 1+4 Grid) --- */
	@media (min-width: 992px) {
	  .bento-grid {
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: auto auto; /* Two rows */
	  }

	  /* The Hero Card (Discs) takes top row, full width */
	  .hero-card {
		grid-column: 1 / -1; /* Span all 4 columns */
		flex-direction: row; /* Horizontal layout for hero */
		align-items: center;
	  }

	  .hero-card .bento-visual {
		width: 60%;
		aspect-ratio: 2 / 1;
	  }

	  .hero-card .bento-content {
		width: 40%;
		padding: 1.5rem 2.5rem;
	  }

	  .hero-card .bento-title {
		font-size: 2rem;
	  }

	  .hero-card .bento-tagline {
		font-size: 1.2rem;
	  }

	  /* The other cards span 1 column each on the second row */
	  /* No extra CSS needed, grid auto-flow handles it */
	}

    @media (max-width: 991px) {
	
	.bento-visual {
	  aspect-ratio: 2.3/1; /* Enforces consistent height even if images vary */
	}	
	.hero-card .bento-visual {
		width: 100%;
		aspect-ratio: 2.5/1; 
	 }	
	
    }

    @media (max-width: 768px) {
	
	.hero-card .bento-visual {
	  aspect-ratio: 2.2/1; 
	}
	.bento-visual {
	  width: 100%;
	  aspect-ratio: 2.2/1; /* Enforces consistent height even if images vary */
	}
}
	/* --- TABLET LAYOUT --- */
	@media (min-width: 600px) and (max-width: 991px) {
	  .bento-grid {
		grid-template-columns: 1fr 1fr;
	  }
	  .hero-card {
		grid-column: 1 / -1;
	  }

	  .bento-visual::after,
	  .modal-hero::after {
		width: 44px;
		height: 44px;
		bottom: 8px;
		right: 8px;
	  }
		
	}

    @media (max-width: 600px) {
	  .bento-visual::after,
	  .modal-hero::after {
		width: 44px;
		height: 44px;
		bottom: 8px;
		right: 8px;
	  }
	}

	/* --- SMALL DEVICE LAYOUT --- */
	@media (max-width: 360px) {
	  .bento-content {
		padding: 0.5rem;
	  }

	  .bento-title {
		margin-bottom: 0.15rem;
		line-height: 1.15;
	  }

	  .bento-tagline {
		margin-bottom: 0.25rem;
		line-height: 1.2;
	  }

	  .bento-actions {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 0.4rem;
	  }

	  .btn-sm {
		padding: 0.75rem 0.875rem;
		line-height: 1;
	  }
	}


	/* --- NATIVE DIALOG (Modal) STYLES --- */
	dialog.product-dialog {
	  padding: 0;
	  border: none;
	  border-radius: 8px;
	  box-shadow: 0 20px 50px rgba(0,0,0,0.5);

	  /* Sizing */
	  max-width: 800px;
	  width: 90%;
	  background: var(--aji-white);

	  /* CENTERING MAGIC */
	  position: fixed; /* Ensures it sits on top of viewport */
	  inset: 0;        /* Sets Top/Right/Bottom/Left to 0 */
	  margin: auto;    /* Browser calculates center based on inset */
	  z-index: 9999;   /* Ensure it sits on top of everything */
	}

	/* =========================================
	   UPGRADES DIALOGS
	========================================= */

	dialog::backdrop {
	  background: rgba(2, 22, 43, 0.8);
	  backdrop-filter: blur(4px);
	}

	.dialog-content {
	  padding: 2rem;
	  position: relative;
	}

	.dialog-close {
	  position: absolute;
	  top: 10px;
	  right: 15px;
	  width: 36px;
	  height: 36px;
	  border: 2px solid var(--aji-white);
	  border-radius: 50%;
	  background: rgba(255, 255, 255, 0.2);
	  display: flex;
	  align-items: center;
	  justify-content: center;
          padding: 0;
          line-height: 1;
          font-size: 1.2rem;
          color: var(--aji-white);
          cursor: pointer;
          transition: all 0.2s ease;
        }


/* ===== NEW MODAL SHELL ===== */

.product-modal {
  max-width: 900px;
  width: calc(100% - 1rem);
  border: 2px solid var(--aji-slate-steel);
  border-radius: 12px;
  padding: 0;
  outline: none;
}

.product-modal::backdrop {
  background: rgba(0,0,0,0.6);
}

.product-modal[open] {
  margin: auto;
}

.modal-inner {
  display: flex;
  flex-direction: column;
}

/* ===== HERO IMAGE ===== */

.modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery Images */
.modal-gallery-images {
  position: relative;
  width: 100%;
  height: 100%;
}

.modal-gallery-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal-gallery-image.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 2;
}

.modal-gallery-image.exiting {
  opacity: 0;
  transform: translateY(-100%);
  z-index: 1;
}

.modal-gallery-image img,
.modal-gallery-image canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery Dots - vertical on right */
.modal-gallery-dots {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 10;
}

.modal-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-gallery-dot.active {
  background: white;
  height: 24px;
  border-radius: 4px;
}

.modal-gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Photo counter */
.modal-photo-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 10;
  backdrop-filter: blur(4px);
}

/* Make hero tappable */
.modal-hero {
  cursor: pointer;
}

/* Honeypot field - hidden from users but visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.modal-hero .dialog-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 20;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.modal-hero .dialog-close:hover {
  background: var(--aji-red);
  border-color: var(--aji-red);
  transform: scale(1.1);
}

/* ===== HEADER ===== */

.modal-header {
  padding: 0.75rem 1rem 1.25rem;
}

.modal-subtitle {
  margin: 0;
  font-size: 1.0rem;
  color: #475569;	
}

/* ===== BODY ===== */

.modal-body {
  padding: 0.25rem 1rem;
}

.modal-main {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 360px) {
  .modal-subtitle {
    font-size: 0.9rem;
  }
}
/* ===== PRODUCT SPECS CARDS ===== */


/* Minimal styling for modal specs bullet list */
.specs-list {
  margin: 0 0 0.75rem 0;
  padding-left: 1em;
  font-size: 0.97em;
  color: #334155;
  line-height: 1.6;
  list-style: none;
  background: var(--aji-galvanized-steel);
  border-radius: 0.5rem;
  padding: 1rem;
}

.specs-list li { font-size: .97rem; display: flex; gap: 8px; }
.specs-list li strong { color:var(--aji-deep-carbon); min-width: 110px; flex-shrink: 0; }


@media (max-width: 600px) {
  .specs-list {
    font-size: 0.95em;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .specs-list {
    padding-left: 0;
  }
  .specs-list li {
    font-size: 0.8em;
    line-height: 1.3;
    padding-left: 0;
    margin-left: 1em;
  }
  .specs-list li strong { 
    min-width: 90px; 
  }

}

.pricing {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.5rem;
}

/* ===== PRICING TABLE ===== */

.pricing table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: inherit;
}

.pricing th {
  background: #f8fafc;
  font-weight: 600;
  color: #0f172a;
}

.pricing th,
.pricing td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.pricing th:first-child,
.pricing td:first-child {
  text-align: left;
}

.pricing tr:last-child td {
  border-bottom: none;
}

.pricing td {
  color: #334155;
}

.pricing td.na {
  color: #94a3b8;
}


/* ===== CTA ===== */

.modal-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-price-display {
  font-weight: 800;
  color: var(--aji-deep-carbon);
  font-size: 1.1rem;
}

.modal-footer > .btn-primary {
  width: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-footer > .btn-primary:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}




.modal-hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  margin: 0;
  padding: 1rem;
  padding-right: 3em;

  color: var(--aji-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;

  text-align: left;

  /* Legibility without background */
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 1px 2px rgba(0, 0, 0, 0.9);

  z-index: 3;
  pointer-events: none;
}

@media (min-width: 768px) {
  .modal-hero-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 991px) {
  .modal-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .modal-footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .modal-price-display {
    text-align: center;
  }

  .modal-footer > .btn-primary {
    width: 100%;
  }
	
  .modal-hero-title {
    font-size: 1.1rem;
    padding-right: 2.5em;
  } 	
}

@media (min-width: 991px) {

  .spec-value {
    font-size: 0.9rem;
  }

  .pricing table {
    font-size: 0.9rem;
  }
}

/* ===== ULTRA SMALL SCREENS ===== */

@media (max-width: 360px) {
  
  .modal-hero {
    aspect-ratio: 5 / 3;
  }

  .modal-hero-title {
    font-size: 1.0rem;
  } 

  .facts {
    font-size: 0.8rem;
  }

  .modal-gallery-dots {
    right: 0.75rem;
    gap: 0.4rem;
  }

  .modal-gallery-dot {
    width: 7px;
    height: 7px;
  }

  .modal-gallery-dot.active {
    height: 20px;
  }

  .modal-photo-counter {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

		#problem p {
		max-width: 95%; 
		margin: 0 0 1.5rem; 
		}
	}

  @media (max-width: 320px) {

  .modal-hero-title {
    font-size: 0.9rem;
  } 
	  
  #inventory-alert-bar {
     font-size: 0.75rem; /* Or whatever size you want */
  }	  
}

/* ============================================================================
   ORDER FORM STYLES - EXTRACTED FROM orderform.html  
   Namespace: .aji-order-form
   ============================================================================ */

/* Section container (when hidden by default) */
#order-form-section {
  display: none; /* Hidden by default, shown via JS */
  background: var(--aji-pale-yellow); /* Pale yellow background */
}

#order-form-section.visible {
  display: block;
  background: var(--aji-pale-yellow); /* Ensure pale yellow shows when visible */
}

/* Main order form wrapper - all styles scoped within */
.aji-order-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.aji-order-form h2 {
  color: var(--aji-deep-carbon);
  margin: 0 0 0.75rem 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.aji-order-form .lead {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.aji-order-form__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aji-midnight-express);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.aji-order-form__close:hover {
  background: var(--aji-red);
  color: white;
  border-color: var(--aji-red);
  transform: scale(1.1);
}

/* Fieldset styling */
.aji-order-form fieldset {
  position: relative;
  border: 1px solid var(--aji-galvanized-steel);
  border-radius: 8px;
  border-top-right-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--aji-pure-white);
}

.aji-order-form legend {
  padding: 0 0.5rem;
  font-weight: 700;
  color: var(--aji-deep-carbon);
  font-size: 1.1rem;
}

.aji-order-form fieldset > p {
  margin: 0 0 1rem 0;
  padding-right: 3em;
  font-size: 0.95rem;
  color: #666;
}

/* Info icon - upper right */
.aji-order-form .info-icon {
  position: absolute;
  top: -0.5em;
  right: 0.25em;
  width: 32px;
  height: 32px;
  border: 2px solid var(--aji-bright-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--aji-bright-blue);
  background: rgba(1, 111, 185, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
  pointer-events: auto;
}

.aji-order-form .info-icon:hover {
  background: var(--aji-bright-blue);
  color: white;
  transform: scale(1.1);
}

.aji-order-form .info-icon::before {
  content: "i";
}

/* Info Modal - scoped to avoid conflicts with .product-modal */
.aji-order-form-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 22, 43, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.aji-order-form-modal.show {
  display: flex;
}

.aji-order-form-modal__content {
  background: var(--aji-white);
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-top: 6px solid var(--aji-slate-steel);
  overflow: hidden;
  position: relative;
}

.aji-order-form-modal__header {
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.aji-order-form-modal__header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--aji-deep-carbon);
}

.aji-order-form-modal__body {
  padding: 2em;
  overflow-y: auto;
  color: #444;
  line-height: 1.6;
}

.aji-order-form-modal__body h4 {
  color: var(--aji-slate-steel);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.aji-order-form-modal__body p {
  margin-bottom: 1rem;
}

.aji-order-form-modal__body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding: 0;
}

.aji-order-form-modal__body li {
  margin-bottom: 0.5rem;
}

.aji-order-form-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aji-midnight-express);
  cursor: pointer;
  transition: all 0.2s ease;
}

.aji-order-form-modal__close:hover {
  background: var(--aji-red);
  color: white;
  border-color: var(--aji-red);
  transform: scale(1.1);
}

.aji-order-form-modal h4 {
  margin: 1.25rem 0 0.75rem 0;
  color: var(--aji-slate-steel);
  font-size: 1.05rem;
}

.aji-order-form-modal p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #555;
}

.aji-order-form-modal ul, 
.aji-order-form-modal ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  line-height: 1.6;
  color: #555;
}

.aji-order-form-modal li {
  margin-bottom: 0.5rem;
}

.aji-order-form-modal strong {
  color: var(--aji-deep-carbon);
}

.aji-order-form-modal em {
  font-style: italic;
  color: #666;
}

/* Labels */
.aji-order-form label {
  display: block;
  font-weight: 500;
  color: var(--aji-midnight-express);
  cursor: pointer;
}

/* Radio button styling - horizontal layout */
.aji-order-form .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.aji-order-form .radio-group label {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.6rem 1rem;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 6px;
  background: var(--aji-pure-white);
  transition: all 0.2s ease;
  flex: 0 1 auto;
}

.aji-order-form .radio-group label:hover:not(.sold-out) {
  border-color: var(--aji-slate-steel);
  background: #f0f8ff;
}

.aji-order-form .radio-group input[type="radio"] {
  margin: 0 0.5rem 0 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--aji-slate-steel);
}

.aji-order-form .radio-group input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--aji-deep-carbon);
}

.aji-order-form .radio-group label:has(input:checked):not(.sold-out) {
  border-color: var(--aji-slate-steel);
  background: #e6f3ff;
  box-shadow: 0 0 0 1px var(--aji-slate-steel);
}

.aji-order-form .price {
  color: var(--aji-slate-steel);
  font-weight: 600;
  margin-left: 0.35rem;
}

/* Option Card styling for configurator-style selections */
.aji-order-form .option-card {
  display: flex;
  align-items: flex-start;
  padding: 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  margin-bottom: 10px;
}

.aji-order-form .option-card input[type="radio"] {
  margin-top: 2px;
  margin-right: 12px;
  flex-shrink: 0;
}

.aji-order-form .option-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.aji-order-form .option-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--aji-deep-carbon);
}

.aji-order-form .option-description {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.3;
}

.aji-order-form .option-card:hover:not(.sold-out) {
  border-color: var(--aji-slate-steel);
  background: #f9fcff;
  transform: translateY(-1px);
}

.aji-order-form .option-card:has(input:checked):not(.sold-out) {
  border-color: var(--aji-slate-steel);
  background: #e6f3ff;
  box-shadow: 0 0 0 1px var(--aji-slate-steel);
}

.aji-order-form .option-card.sold-out {
  opacity: 0.4;
  cursor: not-allowed;
}

.aji-order-form .option-card.sold-out input {
  pointer-events: none;
}

/* Sold out overlay for radio groups */
.aji-order-form .sold-out {
  opacity: 0.4;
  cursor: not-allowed;
}

.aji-order-form .sold-out input {
  pointer-events: none;
}

.aji-order-form .sold-out input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Badge styling */
.aji-order-form .badge {
  display: inline-block;
  padding: 3px 8px;
  margin-left: 8px;
  background: #e74c3c;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Factory seconds notice */
.aji-order-form .factory-seconds-notice {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #FFF9E6;
  border: 1px solid var(--aji-yellow);
  border-radius: 6px;
  font-size: 0.95rem;
}

.aji-order-form .factory-seconds-notice.show {
  display: block;
}

.aji-order-form .factory-seconds-notice label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0;
}

.aji-order-form .factory-seconds-notice input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--aji-yellow);
}

.aji-order-form .factory-seconds-notice .info-icon {
  position: relative;
  top: auto;
  right: auto;
  display: inline-flex;
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

/* Order form travel/delay notice */
.aji-order-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  background: var(--aji-vapor);
  border-left: 4px solid var(--aji-bright-blue);
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--aji-deep-carbon);
}
.aji-order-notice__icon {
  flex-shrink: 0;
  line-height: 0;
}
.aji-order-notice__text {
  flex: 1;
}
.aji-order-notice__text strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--aji-cool-iron);
}


/* Model thumbnails */
.aji-order-form .model-grid {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.aji-order-form .model-option {
  flex: 0 1 calc(33.333% - 0.5rem);
  cursor: pointer;
}

.aji-order-form .model-option input[type="radio"] {
  display: none;
}

.aji-order-form .model-thumbnail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.5rem;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 6px;
  background: var(--aji-pure-white);
  transition: all 0.2s ease;
}

.aji-order-form .model-option:hover .model-thumbnail {
  border-color: var(--aji-slate-steel);
  background: #f0f8ff;
}

.aji-order-form .model-option input:checked + .model-thumbnail {
  border-color: var(--aji-slate-steel);
  background: #e6f3ff;
  box-shadow: 0 0 0 1px var(--aji-slate-steel);
}

.aji-order-form .model-thumbnail img {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  object-fit: cover;
  position: relative;
}

.aji-order-form .model-thumbnail span {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  color: var(--aji-midnight-express);
  font-weight: 500;
}

.aji-order-form .model-option input:checked + .model-thumbnail span {
  font-weight: 700;
  color: var(--aji-deep-carbon);
}

/* Image container for magnifying glass overlay */
.aji-order-form .model-img-container {
  position: relative;
  display: inline-block;
}

/* Magnifying glass overlay - scaled for thumbnails */
.aji-order-form .magnify-icon {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 5;
  width: clamp(24px, 8%, 36px);
  height: clamp(24px, 8%, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  background: none;
  border: none;
  backdrop-filter: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.aji-order-form .magnify-icon svg {
  width: 85%;
  height: 85%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aji-order-form .magnify-icon:hover {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.75));
  color: #fff;
}

/* Lightbox (uses unique ID - no conflicts) */
#ajiLightbox {
  display: none;
  position: fixed;
  z-index: 6000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 22, 43, 0.95);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#ajiLightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#ajiLightbox.active {
  display: flex;
}

#ajiLightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--aji-white);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aji-white);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: var(--aji-red);
  color: white;
  border-color: var(--aji-red);
  transform: scale(1.1);
}

/* Lightbox gallery dots — vertical on right, same style as modal gallery */
.lightbox-dots {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
}

.lightbox-dot.active {
  background: white;
  height: 24px;
  border-radius: 4px;
}

.lightbox-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* Lightbox photo counter — lower right */
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 20;
  backdrop-filter: blur(4px);
  display: none;
}

/* Checkbox styling */
.aji-order-form input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  accent-color: var(--aji-slate-steel);
  cursor: pointer;
  flex-shrink: 0;
}

/* Photo upload remove button */
.remove-photo {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: 2px solid var(--aji-white);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--aji-white);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.remove-photo:hover {
  background: var(--aji-red);
  border-color: var(--aji-red);
  transform: scale(1.1);
}

/* Text inputs */
.aji-order-form input[type="text"],
.aji-order-form input[type="email"],
.aji-order-form input[type="tel"],
.aji-order-form input[type="number"],
.aji-order-form textarea,
.aji-order-form select {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--aji-galvanized-steel);
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  background: var(--aji-pure-white);
  font-family: inherit;
}

.aji-order-form input[type="text"]:focus,
.aji-order-form input[type="email"]:focus,
.aji-order-form input[type="tel"]:focus,
.aji-order-form input[type="number"]:focus,
.aji-order-form textarea:focus,
.aji-order-form select:focus {
  outline: none;
  border-color: var(--aji-slate-steel);
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.5);
}

.aji-order-form textarea {
  resize: vertical;
  min-height: 70px;
}

.aji-order-form .conditional {
  display: none;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--aji-yellow);
  transition: all 0.28s cubic-bezier(.2,.9,.3,1);
}

.aji-order-form .conditional p {
  margin-top: 0;
}

.aji-order-form .conditional label {
  margin-bottom: 0.75rem;
}

/* Light background for upgrade option containers */
.aji-order-form .conditional .radio-group,
.aji-order-form .conditional #discQuantityContainer {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 6px;
  margin-left: -1rem;
  padding-left: 2rem;
}

.aji-order-form small {
  display: block;
  margin-top: 0.25rem;
  color: #777;
  font-size: 0.85rem;
}

/* Disc quantity selector */
.aji-order-form .disc-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.aji-order-form .disc-row label {
  font-weight: 600;
  color: var(--aji-deep-carbon);
  min-width: 60px;
  margin: 0;
}

.disc-cam-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 0.75rem;
  color: var(--aji-slate-steel);
  opacity: 0.7;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.disc-cam-btn:hover {
  opacity: 1;
}

.aji-order-form .qty-buttons {
  display: flex;
  gap: 0.5rem;
}

.aji-order-form .qty-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 6px;
  background: var(--aji-pure-white);
  cursor: pointer;
  font-weight: 600;
  color: var(--aji-midnight-express);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aji-order-form .qty-btn:hover {
  border-color: var(--aji-slate-steel);
  background: #f0f8ff;
}

.aji-order-form .qty-btn.active {
  border-color: var(--aji-slate-steel);
  background: #e6f3ff;
  color: var(--aji-deep-carbon);
  box-shadow: 0 0 0 1px var(--aji-slate-steel);
}

.aji-order-form .disc-total {
  background: #f0f8ff;
  border: 2px solid var(--aji-slate-steel);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--aji-deep-carbon);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.aji-order-form .suggestion-box {
  background: var(--aji-pale-yellow);
  border: 2px solid var(--aji-yellow);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  color: var(--aji-deep-carbon);
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.aji-order-form .suggestion-box.show {
  display: block;
}

.aji-order-form .estimate-box {
  background: #fff9e6;
  border: 2px solid var(--aji-yellow);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.25rem 0;
  font-weight: 600;
  color: var(--aji-deep-carbon);
  font-size: 1.1rem;
}

.aji-order-form #estimate-breakdown {
  font-size: 0.95rem;
  line-height: 1.6;
}

.aji-order-form .estimate-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.aji-order-form .estimate-line:last-child {
  border-bottom: none;
}

.aji-order-form .estimate-line-label {
  flex: 1;
  font-weight: 500;
}

.aji-order-form .estimate-line-price {
  font-weight: 600;
  white-space: nowrap;
  margin-left: 1rem;
}

.aji-order-form .estimate-subtotal {
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;
}

.aji-order-form .estimate-discount {
  color: #16a34a;
}

.aji-order-form .estimate-total {
  font-size: 1.15rem;
  font-weight: 700;
}

.aji-order-form .strikethrough {
  text-decoration: line-through;
  opacity: 0.6;
}

.aji-order-form .bundle-hint {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--aji-yellow);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--aji-deep-carbon);
}

/* Help/Recommendation Request Box */
.aji-order-form .help-request-box {
  background: #f8f9fa;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  clear: both;
  width: 100%;
}

.aji-order-form .help-request-box legend {
  font-size: 1rem;
  font-weight: 600;
  color: var(--aji-deep-carbon);
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

.aji-order-form .help-request-box textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.aji-order-form .help-request-box textarea:focus {
  outline: none;
  border-color: var(--aji-slate-steel);
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.5);
}

.aji-order-form .help-request-box textarea::placeholder {
  color: #9ca3af;
}

/* Validation Modal */
.validation-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 22, 43, 0.85);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
}

.validation-modal.show {
  display: flex;
}

.validation-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-top: 6px solid var(--aji-gold);
}

.validation-modal-content h3 {
  color: var(--aji-deep-carbon);
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
}

.validation-modal-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.validation-modal-content .btn-primary {
  margin: 0 auto;
  background: var(--aji-yellow);
  color: var(--aji-deep-carbon);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.validation-modal-content .btn-primary:hover {
  background: var(--aji-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Incomplete Fieldset Highlight */
.incomplete-fieldset {
  border-left: 4px solid var(--aji-gold) !important;
  background: rgba(255, 215, 0, 0.05);
  animation: pulse-highlight 2s ease-in-out;
}

@keyframes pulse-highlight {
  0%, 100% { background: rgba(255, 165, 0, 0.05); }
  50% { background: rgba(255, 165, 0, 0.12); }
}

/* Contact form styling */
.aji-order-form #contactFieldset {
  background: var(--aji-white);
  border: 1px solid var(--aji-galvanized-steel);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(2,18,34,0.06);
  margin-top: 12px;
  color: var(--aji-midnight-express);
  clear: both;
}

/* Disabled fieldset styling */
.aji-order-form #contactFieldset[disabled],
.aji-order-form fieldset[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.aji-order-form #contactFieldset[disabled] *,
.aji-order-form fieldset[disabled] * {
  cursor: not-allowed !important;
}

.aji-order-form #contactFieldset[disabled] input,
.aji-order-form #contactFieldset[disabled] select,
.aji-order-form #contactFieldset[disabled] textarea,
.aji-order-form #contactFieldset[disabled] label,
.aji-order-form fieldset[disabled] input,
.aji-order-form fieldset[disabled] select,
.aji-order-form fieldset[disabled] textarea,
.aji-order-form fieldset[disabled] label {
  cursor: not-allowed !important;
}

.aji-order-form .contact-group {
  background: linear-gradient(180deg, rgba(250,250,250,0.98), rgba(255,255,255,0.98));
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
}

.aji-order-form .contact-group .group-title { 
  font-weight:700; 
  color:var(--aji-deep-carbon); 
  margin-bottom:8px; 
}

.aji-order-form #contactFieldset legend {
  font-weight: 700;
  color: var(--aji-deep-carbon);
  padding: 0 6px;
  margin-left: 10px;
  font-size: 1.05rem;
}

.aji-order-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
  margin-bottom: 8px;
}

.aji-order-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.aji-order-form .form-field label {
  font-size: 0.9rem;
  color: var(--aji-deep-carbon);
  font-weight: 600;
}

.aji-order-form .form-field input[type="text"],
.aji-order-form .form-field input[type="email"],
.aji-order-form .form-field input[type="tel"],
.aji-order-form .form-field input[type="number"],
.aji-order-form .form-field input[type="password"],
.aji-order-form .form-field select,
.aji-order-form .form-field textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--aji-galvanized-steel);
  background: #fff;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.aji-order-form .form-field input:focus,
.aji-order-form .form-field select:focus,
.aji-order-form .form-field textarea:focus {
  outline: none;
  border-color: var(--aji-slate-steel);
  box-shadow: 0 6px 18px rgba(1,111,185,0.08);
}

.aji-order-form .field-error {
  color: var(--aji-red);
  font-size: 0.85rem;
  min-height: 18px;
  margin-top: 4px;
}

.aji-order-form .field-hint {
  color: #6b7280;
  font-size: 0.85rem;
}

.aji-order-form .state-province-container {
  display: flex;
  gap: 8px;
  align-items: left;
}

.aji-order-form .state-province-container select,
.aji-order-form .state-province-container input {
  flex: 1 1 auto;
}

.aji-order-form #billing-fields {
  background: linear-gradient(180deg, rgba(3,34,66,0.02), rgba(255,255,255,0));
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.03);
}

.aji-order-form #contactFieldset label[for],
.aji-order-form #contactFieldset .checkbox-field label {
  cursor: pointer;
}

.aji-order-form .checkbox-field { 
  display:flex; 
  align-items:center; 
  gap:8px; 
}

.aji-order-form .checkbox-field input { 
  width:18px; 
  height:18px; 
  flex-shrink: 0; 
}

.aji-order-form #contactFieldset .checkbox-field { 
  grid-column: 1 / -1; 
  padding-left: 0; 
  margin: 0; 
  justify-content: flex-start; 
}

.aji-order-form #contactFieldset .form-field.checkbox-field { 
  flex-direction: row; 
  justify-content: flex-start; 
  align-items: center; 
}

.aji-order-form #contactFieldset .form-field.checkbox-field label { 
  margin: 0 0 0 8px; 
}


/* Form actions */
.aji-order-form .form-actions { 
  text-align: right; 
  margin-top: 10px; 
}

.aji-order-form .btn-primary {
  background: var(--aji-yellow);
  color: var(--aji-deep-carbon);
  border: none;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
  min-width: 140px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.aji-order-form .btn-primary:hover {
  background: var(--aji-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.aji-order-form .btn-primary:active {
  transform: translateY(0);
}

.aji-order-form .btn-primary:disabled {
  background: #ccc;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.aji-order-form .btn-primary:disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

.aji-pb-form #pb-submit-btn:disabled,
.aji-pb-form #pb-submit-btn.pb-disabled {
  background: #ccc;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  pointer-events: none;
}

.aji-pb-form #pb-submit-btn:disabled:hover,
.aji-pb-form #pb-submit-btn.pb-disabled:hover {
  background: #ccc;
  transform: none;
  box-shadow: none;
}

/* Success / Error messages (matching index.html contact form style) */
.aji-order-form #successMessage,
.aji-order-form #errorMessage {
  max-width: 720px;
  margin: 2em auto 0 auto;
  clear: both;
  background: var(--aji-white);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 18px 40px rgba(2,18,34,0.08);
  text-align: center;
  color: var(--aji-deep-carbon);
  z-index: 2;
  display: none;
}

.aji-order-form #successMessage.show,
.aji-order-form #errorMessage.show {
  display: block;
}

.aji-order-form #successMessage .icon, 
.aji-order-form #errorMessage .icon {
  width:64px; 
  height:64px; 
  border-radius:50%; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  font-size:2rem; 
  margin-bottom:12px;
}

.aji-order-form #successMessage .icon { 
  background: var(--aji-green); 
  color: #fff; 
}

.aji-order-form #errorMessage .icon { 
  background: var(--aji-red); 
  color: #fff; 
}

/* btn-secondary on the pale-yellow order form background needs dark treatment */
.aji-pb-form .btn-secondary {
  color: var(--aji-slate-steel);
  border-color: var(--aji-slate-steel);
}
.aji-pb-form .btn-secondary:hover {
  background: var(--aji-slate-steel);
  color: var(--aji-white);
}
/* Order form dismiss buttons now use default .btn-secondary styling for consistency */

.aji-order-form .required { 
  color: var(--aji-red); 
  font-weight:700; 
}

.aji-order-form input.error, 
.aji-order-form select.error, 
.aji-order-form textarea.error {
  border-color: var(--aji-red);
  background-color: #fff5f5;
}

/* ========================================================================= 
   RESPONSIVE / MOBILE STYLES
   ========================================================================= */

@media (max-width: 480px) {
  .aji-order-form {
    padding: 0.75rem 0.5rem;
  }

  .aji-order-form h2 {
    font-size: 1.5rem;
  }

  .aji-order-form fieldset {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }

  .aji-order-form .info-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }

  .aji-order-form .radio-group {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .aji-order-form .radio-group label {
    padding: 0.4rem 0.6rem;
    font-size: 0.88rem;
  }

  .aji-order-form .option-title {
    font-size: 0.95rem;
  }

  .aji-order-form .option-description {
    font-size: 0.8rem;
  }

  .aji-order-form #brandFieldset .radio-group {
    flex-wrap: nowrap;
  }

  .aji-order-form #brandFieldset .radio-group label {
    padding: 0.4rem 0.5rem;
    font-size: 0.88rem;
    flex: 1 1 auto;
  }

  .aji-order-form .model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .aji-order-form .model-thumbnail {
    flex-direction: column;
    align-items: center;
    padding: 0.4rem;
  }

  .aji-order-form .model-thumbnail img {
    width: 100%;
    height: auto;
  }

  .aji-order-form .model-thumbnail span {
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    text-align: center;
  }

  .aji-order-form .conditional .radio-group {
    padding: 0.4rem 0.5rem;
    margin-left: -1rem;
    padding-left: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .aji-order-form .conditional #discQuantityContainer {
    padding: 0.4rem 0.5rem;
    margin-left: -1rem;
    padding-left: 1rem;
  }

  .aji-order-form .disc-row {
    flex-wrap: nowrap;
    gap: 1em;
    margin-bottom: 0.5rem;
  }

  .aji-order-form .disc-row label {
    min-width: 45px;
    font-size: 0.85rem;
  }

  .aji-order-form .qty-buttons {
    gap: 0.3rem;
  }

  .aji-order-form .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
    padding: 0;
  }

  .aji-order-form .factory-seconds-notice {
    font-size: 0.85rem;
  }

  .aji-order-form .factory-seconds-notice label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .aji-order-form .factory-seconds-notice input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
  }

  .aji-order-form .factory-seconds-notice .info-icon {
    flex-shrink: 0;
    margin-left: 0.25rem;
  }

  .aji-order-form .estimate-box { 
    float: none; 
    display: block; 
    width: 100%; 
    margin-left: 0; 
  }

  .aji-order-form .help-request-box {
    padding: 0.75rem;
  }

  .aji-order-form .help-request-box textarea {
    min-height: 120px;
  }

  .aji-order-form .form-row {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 6px;
    margin-bottom: 6px;
  }

  .aji-order-form .form-field {
    gap: 4px;
    margin-bottom: 0;
  }

  .aji-order-form .contact-group {
    margin-bottom: 0.6rem;
    padding: 6px 8px;
  }

  .aji-order-form .group-title {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
  }

  .aji-order-form .checkbox-field input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
  }

  .aji-order-form #contactFieldset .checkbox-field {
    margin-bottom: 0.5rem;
  }

  .aji-order-form .form-actions { 
    text-align: center; 
    margin-top: 1rem; 
    margin-bottom: 1rem; 
  }

  .aji-order-form .form-actions .btn-primary { 
    width: 100%; 
    font-size: 1rem; 
    padding: 0.85rem 1.5rem; 
  }
  .aji-pb-form .form-actions { text-align:center; margin-top:1rem; margin-bottom:1rem; }
  .aji-pb-form .form-actions .btn { width:100%; font-size:1rem; padding:0.85rem 1.5rem; }	
}

@media (max-width: 390px) {
  .aji-order-form .model-grid {
    gap: 0.25rem;
  }

  .aji-order-form .model-thumbnail {
    padding: 0.25rem 0.1rem;
  }
}

@media (max-width: 360px) {
  .aji-order-form {
    padding: 0.5rem 0.25rem;
  }

  .aji-order-form-modal__content {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .aji-order-form-modal h3 {
    font-size: 1.05rem;
  }

  .aji-order-form-modal h4 {
    font-size: 0.95rem;
  }

  .aji-order-form-modal p, 
  .aji-order-form-modal ul, 
  .aji-order-form-modal ol {
    font-size: 0.9rem;
  }

  .aji-order-form > h2 {
    padding-left: 1em;
    padding-right: 1em;
  }

  .aji-order-form > p.lead {
    padding-left: 1em;
    padding-right: 1em;
    font-size: 0.92rem;
  }

  .aji-order-form .form-row {
    row-gap: 0;
    margin-bottom: 0;
  }

  .aji-order-form .form-field {
    gap: 2px;
  }

  .aji-order-form .contact-group {
    padding: 5px;
    margin-bottom: 0.5rem;
  }

  .aji-order-form .group-title {
    margin-bottom: 0.3rem;
    font-size: 0.88rem;
  }

  .aji-order-form #contactFieldset .checkbox-field {
    margin-bottom: 0.4rem;
  }

  .aji-order-form .model-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }

  .aji-order-form .model-thumbnail {
    flex-direction: column;
    align-items: center;
    padding: 0.3rem 0.15rem;
  }

  .aji-order-form .model-thumbnail img {
    width: 100%;
    height: auto;
  }

  .aji-order-form .model-thumbnail span {
    font-size: 0.75rem;
  }

  .aji-order-form .disc-row {
    flex-wrap: nowrap;
    gap: 0.75em;
  }

  .aji-order-form .disc-row label {
    min-width: 40px;
    font-size: 0.8rem;
  }

  .aji-order-form .qty-buttons {
    gap: 0.25rem;
  }

  .aji-order-form .qty-btn {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

@media (max-width: 320px) {
  .aji-order-form {
    padding: 0.5rem 0.25rem;
  }

  .aji-order-form fieldset {
    padding: 0.75rem 0.5rem;
  }

  .aji-order-form .radio-group label {
    font-size: 0.85rem;
    padding: 0.45rem 0.6rem;
  }

  .aji-order-form .model-grid {
    gap: 0.2rem;
  }

  .aji-order-form .model-thumbnail {
    padding: 0.2rem 0.05rem;
  }

  .aji-order-form .model-thumbnail img {
    width: 100%;
    height: auto;
  }

  .aji-order-form .model-thumbnail span {
    font-size: clamp(0.7rem, 2.5vw, 0.8rem);
  }

  .aji-order-form .qty-btn {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}

/* ORDER FORM FONT SCALE (<= 480px) - remove this block to disable */
@media (max-width: 30em) {
  .aji-order-form {
    --of-scale: 0.85;
  }

  /* Form header + intro */
  .aji-order-form h2 {
    font-size: calc(1.5rem * var(--of-scale));
    line-height: 1.2;
  }

  .aji-order-form .lead {
    font-size: calc(1rem * var(--of-scale));
    line-height: 1.5;
  }

  /* Fieldset headings + descriptions */
  .aji-order-form legend {
    font-size: calc(1.1rem * var(--of-scale));
    line-height: 1.2;
  }

  .aji-order-form fieldset > p {
    font-size: calc(0.95rem * var(--of-scale));
    line-height: 1.5;
  }

  .aji-order-form label {
    font-size: calc(1rem * var(--of-scale));
    line-height: 1.4;
  }

  /* Info icon badge */
  .aji-order-form .info-icon {
    font-size: calc(1rem * var(--of-scale));
  }

  /* Radio groups + option cards */
  .aji-order-form .radio-group label {
    font-size: calc(0.88rem * var(--of-scale));
  }

  .aji-order-form .option-title {
    font-size: calc(0.95rem * var(--of-scale));
  }

  .aji-order-form .option-description {
    font-size: calc(0.8rem * var(--of-scale));
    line-height: 1.3;
  }

  .aji-order-form .badge {
    font-size: calc(0.7rem * var(--of-scale));
  }

  /* Model thumbnails */
  .aji-order-form .model-thumbnail span {
    font-size: clamp(
      calc(0.75rem * var(--of-scale)),
      2.5vw,
      calc(0.85rem * var(--of-scale))
    );
  }

  /* Inputs + helper text */
  .aji-order-form input[type="text"],
  .aji-order-form input[type="email"],
  .aji-order-form input[type="tel"],
  .aji-order-form input[type="number"],
  .aji-order-form textarea,
  .aji-order-form select {
    font-size: calc(0.95rem * var(--of-scale));
  }

  .aji-order-form small,
  .aji-order-form .field-hint,
  .aji-order-form .field-error {
    font-size: calc(0.85rem * var(--of-scale));
    line-height: 1.4;
  }

  /* Quantity controls */
  .aji-order-form .disc-row label {
    font-size: calc(0.85rem * var(--of-scale));
  }

  .aji-order-form .qty-btn {
    font-size: calc(0.85rem * var(--of-scale));
  }

  /* Notices + hints */
  .aji-order-form .factory-seconds-notice {
    font-size: calc(0.85rem * var(--of-scale));
    line-height: 1.4;
  }

  .aji-order-form .suggestion-box {
    font-size: calc(0.9rem * var(--of-scale));
    line-height: 1.5;
  }

  .aji-order-form .estimate-box {
    font-size: calc(1.1rem * var(--of-scale));
  }

  .aji-order-form #estimate-breakdown {
    font-size: calc(0.95rem * var(--of-scale));
    line-height: 1.5;
  }

  .aji-order-form .estimate-subtotal {
    font-size: calc(1.05rem * var(--of-scale));
  }

  .aji-order-form .estimate-total {
    font-size: calc(1.15rem * var(--of-scale));
  }

  .aji-order-form .bundle-hint {
    font-size: calc(0.9rem * var(--of-scale));
    line-height: 1.4;
  }

  /* Help request box */
  .aji-order-form .help-request-box legend {
    font-size: calc(1rem * var(--of-scale));
  }

  .aji-order-form .help-request-box textarea {
    font-size: calc(0.95rem * var(--of-scale));
  }

  /* Contact fields */
  .aji-order-form .form-field label {
    font-size: calc(0.9rem * var(--of-scale));
  }

  .aji-order-form .group-title {
    font-size: calc(0.9rem * var(--of-scale));
  }

  /* Primary action button */
  .aji-order-form .btn-primary {
    font-size: calc(1.05rem * var(--of-scale));
  }

  .aji-order-form .form-actions .btn-primary {
    font-size: calc(1rem * var(--of-scale));
  }

  /* Order form info modal */
  .aji-order-form-modal {
    font-size: calc(1rem * var(--of-scale));
    line-height: 1.5;
  }

  .aji-order-form-modal__header h3 {
    font-size: calc(1.5rem * var(--of-scale));
  }

  .aji-order-form-modal__body h4 {
    font-size: calc(1.1rem * var(--of-scale));
  }

  .aji-order-form-modal h4 {
    font-size: calc(1.05rem * var(--of-scale));
  }

  /* Validation modal (order form flow) */
  .validation-modal-content h3 {
    font-size: calc(1.5rem * var(--of-scale));
  }

  .validation-modal-content p {
    font-size: calc(1.05rem * var(--of-scale));
    line-height: 1.5;
  }
}


/* ============================================================
   PB GRIP ORDER FORM -- SCOPED STYLES
   All selectors prefixed .aji-pb-form or .pb-* to avoid conflicts.
   ============================================================ */

/* Section */
/* Info-icon modal close button */
#pb-modal-close-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--aji-midnight-express);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

#pb-modal-close-btn:hover {
  background: var(--aji-red);
  border-color: var(--aji-red);
  color: white;
  transform: scale(1.1);
}

#pb-order-form-section { display:none; background:var(--aji-pale-yellow); width:100%; overflow-x:hidden; position:relative; }
#pb-order-form-section.visible { display:block; }

/* Wrapper */
.aji-pb-form {
  max-width: 800px; margin: 0 auto;
  padding: 2rem 1.5rem; width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Header */
.aji-pb-form__header { position:relative; margin-bottom:1.5rem; }
.aji-pb-form__header h2 { color:var(--aji-deep-carbon); font-size:clamp(1.15rem, 4vw + 0.25rem, 1.75rem); font-weight:700; margin:0 0 .5rem; }
.aji-pb-form__header p  { font-size:.95rem; color:#555; line-height:1.6; margin:0; }
.aji-pb-form__close {
  position:absolute; top:1rem; right:1rem;
  width:36px; height:36px; border:2px solid var(--aji-galvanized-steel);
  border-radius:50%; background:white; display:flex;
  align-items:center; justify-content:center;
  font-size:1.5rem; color:var(--aji-midnight-express); cursor:pointer;
  transition:all .2s ease; padding:0;
}
.aji-pb-form__close:hover { background:var(--aji-red); color:white; border-color:var(--aji-red); transform:scale(1.1); }

/* ── Fieldsets ──────────────────────────────────────────── */
/* KEY FIX: no overflow:hidden — that was clipping the info icon.
   Grid containment is handled by width:100% on children instead. */
.aji-pb-form fieldset {
  position: relative;
  border: 1px solid var(--aji-galvanized-steel);
  border-radius: 8px;
  border-top-right-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: var(--aji-pure-white);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  transition: opacity .25s ease;
}
.aji-pb-form fieldset.pb-disabled { opacity:.4; pointer-events:none; }
.aji-pb-form legend { padding:0 .5rem; font-weight:700; color:var(--aji-deep-carbon); font-size:1.1rem; }
.aji-pb-form .pb-fs-hint { margin:.4rem 0 1rem; padding-right:3em; font-size:.9rem; color:#666; }

/* ── Info icon — matches .aji-order-form .info-icon exactly ─ */
/* position:absolute; top:-0.5em pops it above the fieldset border.
   The fieldset must NOT have overflow:hidden for this to work.     */
.aji-pb-form .info-icon {
  position: absolute;
  top: -0.5em;
  right: 0.1em;
  width: 32px; height: 32px;
  border: 2px solid var(--aji-bright-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: bold;
  color: var(--aji-bright-blue);
  background: rgba(1, 111, 185, 0.08);
  cursor: pointer;
  transition: all .3s ease;
  z-index: 5;
  pointer-events: auto;
  font-style: normal;
}
.aji-pb-form .info-icon::before { content: "i"; }
.aji-pb-form .info-icon:hover { background: var(--aji-bright-blue); color: white; transform: scale(1.1); }
.aji-pb-form fieldset.pb-disabled .info-icon { pointer-events: none; }

/* ── Category filter strip ──────────────────────────────── */
/* Edge-bleed trick: negative margins + matching padding so pills
   reach the fieldset edge without the strip itself overflowing  */









/* ── Model grid ─────────────────────────────────────────── */

@media (min-width:380px) {  }
@media (min-width:480px) {  }
@media (min-width:580px) {  }
@media (min-width:680px) {  }
@media (min-width:760px) {  }

/* Model option */
.aji-pb-form .model-option { position:relative; cursor:pointer; display:block; min-width:0; overflow:hidden; }
.aji-pb-form .model-option input[type="radio"] { display:none; }
.aji-pb-form .model-thumbnail {
  display:flex; flex-direction:column;
  align-items:center; text-align:center;
  gap:.25rem; padding:.4rem .3rem .45rem;
  border:2px solid var(--aji-galvanized-steel); border-radius:6px;
  background:var(--aji-pure-white); transition:all .2s ease;
  position:relative;
  /* Uniform height so all cards match */
  height:100%;
}
.aji-pb-form .model-option:hover:not(.pb-impossible-model) .model-thumbnail {
  border-color:var(--aji-slate-steel); background:#f0f8ff;
}
/* BLUE selected — no checkmark */
.aji-pb-form .model-option input:checked + .model-thumbnail {
  border-color:var(--aji-slate-steel);
  background:#e6f3ff;
  box-shadow:0 0 0 1px var(--aji-slate-steel);
}
/* Image: 2:1 aspect ratio, uniform */
.aji-pb-form .model-img-container { position:relative; width:100%; }
.aji-pb-form .model-thumbnail img {
  width:100%; aspect-ratio:2/1;
  object-fit:cover; border-radius:3px;
  display:block; max-width:100%;
}
/* Model name: 2-line max, uniform height */
.aji-pb-form .model-thumb-name {
  font-size:clamp(.75rem,1.875vw,.9rem);
  color:var(--aji-midnight-express); font-weight:500;
  line-height:1.25;
  display:-webkit-box; -webkit-line-clamp:2;
  -webkit-box-orient:vertical; overflow:hidden;
  min-height:2.5em; /* reserves space for exactly 2 lines */
  width:100%;
}
.aji-pb-form .model-option input:checked + .model-thumbnail .model-thumb-name {
  font-weight:700; color:var(--aji-slate-steel);
}
/* OOS model */

.pb-oos-label {
  font-size:.58rem; font-weight:700; color:var(--aji-red);
  text-transform:uppercase; letter-spacing:.03em;
}
/* Impossible model */
.aji-pb-form .model-option.pb-impossible-model { cursor:not-allowed; opacity:.3; }

/* Green check on selected model */

/* Magnify icon — matches existing .magnify-icon in styles.css */
.aji-pb-form .magnify-icon {
  position:absolute; top:3px; right:3px; z-index:5;
  width:clamp(20px,7%,30px); height:clamp(20px,7%,30px);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.95); background:none; border:none;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.9));
  pointer-events:auto; cursor:pointer; transition:all .2s ease;
  opacity:0.55;
}
.aji-pb-form .model-option:hover .magnify-icon,
.aji-pb-form .pb-thick-card:hover .magnify-icon,
.aji-pb-form .pb-knurl-card:hover .magnify-icon { opacity:1; }
.aji-pb-form .magnify-icon svg {
  width:85%; height:85%; fill:none; stroke:currentColor;
  stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round;
}
.aji-pb-form .magnify-icon:hover { transform:scale(1.15) translateY(-1px); }

/* Knurl images are predominantly black/grey/white so the white icon
   blends in. Give it a small dark pill background so it's always legible. */
.aji-pb-form .pb-knurl-card .magnify-icon {
  background: rgba(0,0,0,0.45);
  border-radius: 50%;
  filter: none;
  opacity: 0.8;
}
.aji-pb-form .pb-knurl-card:hover .magnify-icon {
  background: rgba(0,0,0,0.65);
  opacity: 1;
}

/* Model not listed — Ask Joe button */
.pb-not-listed-btn {
  grid-column: 1/-1;
  width: 100%;
  padding: .65rem 1.25rem;
  background: var(--aji-bright-blue);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease;
  margin-top: .35rem;
  letter-spacing: .01em;
}
.pb-not-listed-btn:hover {
  background: var(--aji-dark-blue);
}





@media(min-width:400px){  }




/* X remove button on selected card */
.pb-model-remove {
  position:absolute; top:3px; right:3px; z-index:6;
  width:18px; height:18px; border-radius:50%;
  background:rgba(0,0,0,.55); color:white; border:none;
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem; font-weight:900; cursor:pointer;
  transition:all .2s ease; line-height:1;
}
.pb-model-remove:hover { background:var(--aji-red); transform:scale(1.15); }


/* ── Category pill strip ───────────────────────────────────────
   No negative margins. pb-cat-wrap clips the scrollable inner.  */
.pb-cat-wrap  { margin:0 0 1rem; width:100%; }
.pb-cat-strip { display:flex; flex-wrap:wrap; gap:.35rem; width:100%; }
.pb-cat-pill {
  padding:.3rem .85rem; border-radius:999px;
  border:1.5px solid var(--aji-galvanized-steel); background:var(--aji-pure-white);
  font-size:.78rem; font-weight:600; color:#555;
  white-space:nowrap; cursor:pointer; transition:all .2s ease;
}
.pb-cat-pill:hover  { border-color:var(--aji-slate-steel); color:var(--aji-slate-steel); }
.pb-cat-pill.active { background:var(--aji-slate-steel); border-color:var(--aji-slate-steel); color:white; }

/* ── Model grid ─────────────────────────────────────────────────
   minmax(0,1fr) is the critical fix: it allows columns to shrink
   below content width. Plain 1fr uses min-width:auto which lets
   card images set a minimum, blowing out the grid width.         */
.pb-model-grid {
  display: grid;
  gap: .55rem;
  width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (min-width:380px) { .pb-model-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width:580px) { .pb-model-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }

/* Collapsed: same column count as thickness/knurl so selected card matches size */
.pb-model-grid.pb-collapsed { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width:400px) { .pb-model-grid.pb-collapsed { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.pb-model-grid.pb-collapsed .model-thumb-name  { font-size:clamp(.75rem,1.875vw,.9rem); min-height:auto; }
.pb-model-grid.pb-collapsed .model-option       { display:none; }
.pb-model-grid.pb-collapsed .model-option.pb-is-selected { display:block; }
.pb-model-grid.pb-collapsed .pb-not-listed-btn  { display:none; }

/* ── Thickness grid ─────────────────────────────────────── */
.pb-thickness-grid {
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:.6rem; width:100%; margin-top:.75rem;
}
@media (min-width:400px) { .pb-thickness-grid { grid-template-columns:repeat(4,1fr); } }

.pb-thick-card {
  position:relative; border:2px solid var(--aji-galvanized-steel);
  border-radius:6px; background:var(--aji-pure-white);
  cursor:pointer; transition:all .2s ease;
  user-select:none; overflow:hidden;
  display:flex; flex-direction:column;
}
.pb-thick-card:hover:not(.pb-impossible) {
  border-color:var(--aji-slate-steel); transform:translateY(-1px);
}
.pb-thick-card.pb-selected {
  border-color:var(--aji-slate-steel);
  background:#e6f3ff;
  box-shadow:0 0 0 1px var(--aji-slate-steel);
}



.pb-thick-card.pb-impossible { opacity:.3; cursor:not-allowed; background:#f5f5f5; }
.pb-thick-card.pb-impossible::after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(135deg,transparent calc(50% - 1px),rgba(0,0,0,.12) calc(50% - 1px),rgba(0,0,0,.12) calc(50% + 1px),transparent calc(50% + 1px));
}
/* Thickness image: 2:1 */
.pb-thick-img-wrap {
  position:relative; width:100%; aspect-ratio:2/1;
  overflow:hidden; background:var(--aji-vapor); flex-shrink:0;
}
.pb-thick-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
/* OOS corner tag */
.pb-oos-corner {
  position:absolute; top:3px; left:3px;
  font-size:.65rem; font-weight:800; text-transform:uppercase; line-height:1;
  padding:3px; border-radius:3px;
  background:var(--aji-alert-red); color:var(--aji-pure-white); border:none;
  pointer-events:none; letter-spacing:.03em; z-index:3;
}
.pb-preorder-corner {
  position:absolute; top:3px; left:3px;
  font-size:.65rem; font-weight:800; text-transform:uppercase; line-height:1;
  padding:3px; border-radius:3px;
  background:var(--aji-yellow); color:var(--aji-deep-carbon); border:none;
  pointer-events:none; letter-spacing:.03em; z-index:3;
}
.pb-thick-body { padding:.45rem .5rem .5rem; text-align:center; }
.pb-thick-meas {
  font-size:clamp(.72rem,2vw,.88rem); font-weight:700;
  color:var(--aji-deep-carbon); line-height:1.1; white-space:nowrap;
}
.pb-thick-card.pb-selected .pb-thick-meas { color:var(--aji-slate-steel); }
.pb-thick-feel {
  font-size:.62rem; font-weight:600; color:var(--aji-slate-steel);
  text-transform:uppercase; letter-spacing:.04em; margin-top:3px; line-height:1.2;
}
.pb-thick-card.pb-selected .pb-thick-feel { color:var(--aji-slate-steel); }
/* Green check */


/* ── Knurl grid ─────────────────────────────────────────── */
.pb-knurl-grid {
  display:grid; grid-template-columns:repeat(2,1fr);
  gap:.6rem; width:100%; margin-top:.75rem;
}
@media (min-width:400px) { .pb-knurl-grid { grid-template-columns:repeat(4,1fr); } }

.pb-knurl-card {
  position:relative; border:2px solid var(--aji-galvanized-steel);
  border-radius:6px; background:var(--aji-pure-white);
  overflow:hidden; cursor:pointer; transition:all .2s ease;
  display:flex; flex-direction:column; user-select:none;
}
.pb-knurl-card:hover:not(.pb-impossible) {
  border-color:var(--aji-slate-steel); transform:translateY(-1px);
}
.pb-knurl-card.pb-selected {
  border-color:var(--aji-slate-steel);
  box-shadow:0 0 0 1px var(--aji-slate-steel);
  background:#e6f3ff;
}



.pb-knurl-card.pb-impossible { opacity:.3; cursor:not-allowed; background:#f5f5f5; }
/* Knurl image: 2:1 */
.pb-knurl-img-wrap {
  position:relative; width:100%; aspect-ratio:2/1;
  overflow:hidden; background:var(--aji-vapor); flex-shrink:0;
}
.pb-knurl-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
.pb-knurl-body { padding:.45rem .5rem .5rem; text-align:center; }
.pb-knurl-name {
  font-size:clamp(.68rem,1.9vw,.82rem); font-weight:700;
  color:var(--aji-deep-carbon); text-transform:uppercase;
  letter-spacing:.02em; line-height:1.1;
}
.pb-knurl-card.pb-selected .pb-knurl-name { color:var(--aji-slate-steel); }
.pb-knurl-feel {
  font-size:.62rem; font-weight:600; color:var(--aji-slate-steel);
  text-transform:uppercase; letter-spacing:.04em; margin-top:3px;
}
.pb-knurl-card.pb-selected .pb-knurl-feel { color:var(--aji-slate-steel); }
/* Green check */


/* ── Context messages ───────────────────────────────────── */
.pb-context-msg { font-size:.85rem; margin-top:.75rem; padding:.5rem .75rem; border-radius:6px; line-height:1.5; display:none; }
.pb-context-msg.show { display:block; }
.pb-ctx-low { background:var(--aji-barley-white); border:1px solid var(--aji-yellow); color:var(--aji-deep-carbon); }
.pb-ctx-fs  { background:#f0fdf4; border:1px solid #86efac; color:#166534; }

/* ── Action buttons ─────────────────────────────────────── */
.pb-actions { display:none; gap:.75rem; margin-bottom:1.25rem; flex-wrap:wrap; }
.pb-actions.show { display:flex; }
.pb-actions .btn { flex:1; min-width:130px; padding:.8rem 1.1rem; font-size:.93rem; }
/* Issue 2 fix — secondary button sits on a light bg, not a dark arrow-section */
.pb-actions .btn-secondary {
  color: var(--aji-slate-steel);
  border-color: var(--aji-slate-steel);
}
.pb-actions .btn-secondary:hover {
  background: var(--aji-slate-steel);
  color: var(--aji-white);
}

/* pb-inline-notify__summary — inline combination label in knurl notify sub text */
.pb-inline-notify__summary { font-weight:600; color:var(--aji-deep-carbon); }

/* ── Order summary table — inspired by index.html pattern ── */
.pb-summary-wrap {
  margin-bottom:1.25rem; display:none;
  background:var(--aji-pure-white);
  border:1px solid var(--aji-galvanized-steel);
  border-radius:8px; border-top-right-radius:20px;
  overflow:hidden;
}
.pb-summary-wrap.show { display:block; }

/* Table */
.pb-summary-table {
  width:100%; border-collapse:collapse;
  table-layout:fixed;
}
.pb-summary-table thead tr {
  background:var(--aji-vapor);
  border-bottom:2px solid var(--aji-galvanized-steel);
}
.pb-summary-table th {
  padding:9px 10px; font-size:.78rem; font-weight:700;
  color:var(--aji-midnight-express); text-transform:uppercase;
  letter-spacing:.05em; text-align:left;
}
.pb-summary-table th:nth-child(2),
.pb-summary-table th:nth-child(3),
.pb-summary-table th:nth-child(4) { text-align:right; }
.pb-summary-table td {
  padding:10px 10px; border-bottom:1px solid var(--aji-galvanized-steel);
  font-size:.86rem; vertical-align:middle;
}
.pb-summary-table tbody tr:last-child td { border-bottom:none; }

/* Col widths: Description / Unit / Qty / Total / × */
.pb-summary-table colgroup col:nth-child(1) { width:42%; }
.pb-summary-table colgroup col:nth-child(2) { width:16%; }
.pb-summary-table colgroup col:nth-child(3) { width:18%; }
.pb-summary-table colgroup col:nth-child(4) { width:16%; }
.pb-summary-table colgroup col:nth-child(5) { width:8%;  }

.pb-td-desc-model { font-weight:700; color:var(--aji-deep-carbon); font-size:.88rem; line-height:1.2; }
.pb-td-desc-specs { font-size:.76rem; color:#666; margin-top:2px; }
.pb-td-preorder-note {
  margin-top:3px;
  font-size:.72rem;
  color:var(--aji-brushed-steel);
  line-height:1.35;
}
.pb-td-unit, .pb-td-total { text-align:right; font-weight:600; color:#333; }
.pb-td-notify-price { text-align:right; font-size:.75rem; color:#888; font-style:italic; }
.pb-notify-tag {
  display:inline-block; font-size:.58rem; font-weight:700; text-transform:uppercase;
  background:var(--aji-deep-carbon); color:white;
  padding:1px 5px; border-radius:3px; letter-spacing:.04em;
  vertical-align:middle; margin-left:4px;
}
.pb-preorder-tag {
  display:inline-block;
  font-size:.58rem;
  font-weight:700;
  text-transform:uppercase;
  background:var(--aji-yellow);
  color:var(--aji-deep-carbon);
  padding:1px 5px;
  border-radius:3px;
  letter-spacing:.04em;
  vertical-align:middle;
  margin-left:4px;
}

/* Qty stepper — hidden native arrows */
.pb-qty-cell { text-align:right; }
.pb-qty-stepper {
  display:inline-flex; align-items:center;
  border:1.5px solid var(--aji-galvanized-steel); border-radius:6px; overflow:hidden;
}
.pb-qty-btn {
  width:26px; height:26px; background:none; border:none;
  font-size:.95rem; color:var(--aji-midnight-express);
  cursor:pointer; transition:background .15s; display:flex;
  align-items:center; justify-content:center;
}
.pb-qty-btn:hover { background:var(--aji-vapor); }
.pb-qty-val {
  width:28px; text-align:center; font-weight:700; font-size:.82rem;
  border:none; border-left:1.5px solid var(--aji-galvanized-steel); border-right:1.5px solid var(--aji-galvanized-steel);
  padding:3px 0; background:white; outline:none;
  /* Hide native number input spinners */
  -moz-appearance:textfield;
}
.pb-qty-val::-webkit-inner-spin-button,
.pb-qty-val::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }

.pb-remove-btn {
  width:26px; height:26px; background:none;
  border:1.5px solid var(--aji-galvanized-steel); border-radius:6px;
  color:#bbb; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:all .2s; padding:0;
}
.pb-remove-btn:hover { border-color:var(--aji-red); color:var(--aji-red); background:#fff5f5; }
.pb-remove-btn svg { width:12px; height:12px; pointer-events:none; }

/* Footer row: + configure left, subtotal right */
/* #8: footer never wraps, both parts shrink on narrow screens */
.pb-summary-footer {
  display:flex; align-items:center; justify-content:space-between;
  padding:.65rem 1rem;
  border-top:2px solid var(--aji-galvanized-steel);
  gap:.4rem; flex-wrap:nowrap; min-width:0;
}

.pb-summary-disclaimer {
  font-size: 0.8rem;
  color: var(--aji-red);
  font-weight: 600;
  text-align: center;
  margin: 0.1rem 0 0.6rem;
  padding: 0 0.5rem;
  line-height: 1.4;
}
.pb-add-another-btn {
  display:flex; align-items:center; gap:.4rem;
  background:none; border:none; color:var(--aji-slate-steel);
  font-size:.82rem;
  font-weight:700; cursor:pointer;
  padding:0; font-family:inherit; transition:color .2s;
  white-space:nowrap; min-width:0; flex-shrink:1;
}
.pb-add-another-btn:hover { color:var(--aji-cool-iron); }
.pb-add-circle {
  width:20px; height:20px; border-radius:50%;
  background:var(--aji-yellow); color:var(--aji-deep-carbon);
  display:flex; align-items:center; justify-content:center;
  font-size:.9rem; flex-shrink:0; line-height:1; transition:background .2s;
}
.pb-add-another-btn:hover .pb-add-circle { background:var(--aji-gold); }
.pb-summary-total {
  font-size:.88rem;
  font-weight:700; color:var(--aji-deep-carbon);
  white-space:nowrap; flex-shrink:0;
}
.pb-summary-total span { color:var(--aji-slate-steel); margin-left:.3rem; }

/* Mobile: 2-row layout for table when too narrow */
@media (max-width:520px) {
  .pb-summary-table { font-size:.78rem; }
  .pb-summary-table th, .pb-summary-table td { padding:7px 6px; }
  .pb-summary-table colgroup col:nth-child(1) { width:100%; }
  /* Description row spans all cols */
  .pb-td-desc { display:block; }
}

/* ── Contact form ───────────────────────────────────────── */
.aji-pb-form .contact-group {
  background:linear-gradient(180deg,rgba(250,250,250,.98),rgba(255,255,255,.98));
  border:1px solid rgba(0,0,0,.04); border-radius:8px; padding:12px; margin-bottom:10px;
}
.aji-pb-form .contact-group .group-title { font-weight:700; color:var(--aji-deep-carbon); margin-bottom:8px; }
.aji-pb-form .form-row {
  display:grid; grid-template-columns:repeat(2,1fr);
  column-gap:12px; row-gap:8px; align-items:start; margin-bottom:8px;
}
@media (max-width:460px) { .aji-pb-form .form-row { grid-template-columns:1fr; } }
.aji-pb-form .form-field { display:flex; flex-direction:column; gap:4px; }
.aji-pb-form .form-field label { font-size:.9rem; color:var(--aji-deep-carbon); font-weight:600; }
.aji-pb-form .form-field input[type="text"],
.aji-pb-form .form-field input[type="email"],
.aji-pb-form .form-field input[type="tel"],
.aji-pb-form .form-field select,
.aji-pb-form .form-field textarea {
  padding:9px 11px; border:1px solid var(--aji-galvanized-steel);
  border-radius:8px; background:#fff; font-size:.95rem;
  font-family:inherit; transition:border-color .16s,box-shadow .16s; width:100%;
}
.aji-pb-form .form-field input:focus,
.aji-pb-form .form-field select:focus,
.aji-pb-form .form-field textarea:focus {
  outline:none; border-color:var(--aji-slate-steel); box-shadow:0 0 0 2px rgba(1,111,185,.1);
}
.aji-pb-form .form-field textarea { resize:vertical; min-height:80px; }
.aji-pb-form .field-error { color:var(--aji-red); font-size:.82rem; min-height:16px; }
.aji-pb-form small { font-size:.82rem; color:#777; }
.aji-pb-form .checkbox-field { display:flex; align-items:flex-start; gap:8px; }
.aji-pb-form .checkbox-field input[type="checkbox"] { width:18px; height:18px; accent-color:var(--aji-slate-steel); margin-top:2px; flex-shrink:0; cursor:pointer; }
.aji-pb-form .checkbox-field label { font-size:.88rem; color:#444; line-height:1.45; cursor:pointer; }
.aji-pb-form .required { color:var(--aji-red); font-weight:700; }
.aji-pb-form input.error, .aji-pb-form select.error { border-color:var(--aji-red); background:#fff5f5; }
.aji-pb-form .form-actions { margin-top:.75rem; text-align:right; }
.aji-pb-form .form-actions .btn { width:auto; min-width:140px; font-size:1.05rem; padding:1rem 2rem; }
.pb-upload-area {
  border:2px dashed var(--aji-galvanized-steel); border-radius:6px; padding:18px;
  text-align:center; cursor:pointer; background:var(--aji-vapor); transition:border-color .2s; margin-top:6px;
}
.pb-upload-area:hover { border-color:var(--aji-slate-steel); }
.pb-upload-area p { font-size:.85rem; color:#666; margin:0; }
.aji-pb-form .photo-upload-browse { color:var(--aji-slate-steel); cursor:pointer; font-weight:600; }

/* Payment preference radios in PB contact form */
.aji-pb-form #pb-contact-form #paymentPreferenceOptions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.aji-pb-form #pb-contact-form #paymentPreferenceOptions label {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.6rem 1rem;
  border: 2px solid var(--aji-galvanized-steel);
  border-radius: 6px;
  background: var(--aji-pure-white);
  transition: all 0.2s ease;
  flex: 0 1 auto;
}

.aji-pb-form #pb-contact-form #paymentPreferenceOptions label:hover {
  border-color: var(--aji-slate-steel);
  background: #f0f8ff;
}

.aji-pb-form #pb-contact-form #paymentPreferenceOptions input[type="radio"] {
  margin: 0 0.5rem 0 0;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--aji-slate-steel);
}

.aji-pb-form #pb-contact-form #paymentPreferenceOptions input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--aji-deep-carbon);
}

.aji-pb-form #pb-contact-form #paymentPreferenceOptions label:has(input:checked) {
  border-color: var(--aji-slate-steel);
  background: #e6f3ff;
  box-shadow: 0 0 0 1px var(--aji-slate-steel);
}

/* Success/error */
.aji-pb-form #pb-successMessage,
.aji-pb-form #pb-errorMessage {
  display:none; text-align:center; padding:2rem; background:var(--aji-pure-white);
  border-radius:10px; margin-top:1rem; box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.aji-pb-form #pb-successMessage.show,
.aji-pb-form #pb-errorMessage.show { display:block; }
.pb-msg-icon { width:64px; height:64px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:2rem; margin-bottom:12px; }
.pb-msg-ok  { background:var(--aji-green); color:white; }
.pb-msg-err { background:var(--aji-red);   color:white; }

/* Pulse animation */
@keyframes pbPulseRing {
  0%   { box-shadow:0 0 0 0   rgba(1,111,185,.4); }
  70%  { box-shadow:0 0 0 10px rgba(1,111,185,0);  }
  100% { box-shadow:0 0 0 0   rgba(1,111,185,0);  }
}
.pb-pulse { animation:pbPulseRing .65s ease; }

/* Mobile */

/* narrow footer squeezes */
@media (max-width:390px) {
  .pb-add-another-btn { font-size:.72rem; gap:.3rem; }
  .pb-add-circle      { width:16px; height:16px; font-size:.75rem; }
  .pb-summary-total   { font-size:.76rem; }
}

/* #7: proportional scaling under 390px — no overflow, no overlap */
@media (max-width:389px) {
  .pb-summary-table { font-size: clamp(.55rem, .3rem + 2.8vw, .73rem); }
  .pb-summary-table th, .pb-summary-table td { padding: 5px 3px; }
  .pb-summary-table colgroup col:nth-child(1) { width:36%; }
  .pb-summary-table colgroup col:nth-child(2) { width:17%; }
  .pb-summary-table colgroup col:nth-child(3) { width:23%; }
  .pb-summary-table colgroup col:nth-child(4) { width:16%; }
  .pb-summary-table colgroup col:nth-child(5) { width:8%;  }
  .pb-qty-btn  { width:19px; height:19px; font-size:.76rem; }
  .pb-qty-val  { width:19px; font-size:.68rem; }
  .pb-remove-btn { width:19px; height:19px; }
  .pb-remove-btn svg { width:9px; height:9px; }
}

@media (max-width:480px) {
  .pb-actions { flex-direction:column; }
}

/* ── Inline OOS notify panel ─────────────────────────────────────────────────
   Shown directly inside model/thickness/knurl fieldsets on OOS selection.
   All three tiers (model, thickness, knurl) use pb-inline-notify structure.   */
.pb-load-error {
  margin: 2rem auto;
  max-width: 520px;
  padding: 1.25rem 1.5rem;
  background: var(--aji-barley-white);
  border: 2px solid var(--aji-yellow);
  border-radius: 8px;
  color: #1a1a1a;
  text-align: center;
  animation: pbFadeIn .25s ease;
}
.pb-load-error strong {
  display: block;
  margin-bottom: .5rem;
  font-size: 1.05rem;
}
.pb-load-error p {
  margin: 0;
  font-size: .95rem;
  opacity: .85;
}
.pb-inline-notify {
  display: none;
  position: relative;
  margin-top: .85rem;
  padding: .9rem 1rem;
  background: #f0f7ff;
  border: 1.5px solid var(--aji-bright-blue);
  border-radius: 8px;
  animation: pbFadeIn .2s ease;
}
.pb-inline-notify.show { display: block; }
@keyframes pbFadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:none; } }
.pb-inline-notify__close {
  position: absolute; top: .6rem; right: .6rem;
  width: 28px; height: 28px;
  border: 2px solid var(--aji-galvanized-steel); border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  color: var(--aji-midnight-express); cursor: pointer;
  transition: all .2s ease; padding: 0;
}
.pb-inline-notify__close:hover {
  background: var(--aji-red); color: white; border-color: var(--aji-red); transform: scale(1.1);
}
.pb-inline-notify__head {
  display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .65rem;
  padding-right: 2rem; /* clear the X close button */
}
.pb-inline-notify__icon {
  width: 28px; height: 28px; flex-shrink: 0; margin-top: 1px;
  color: var(--aji-bright-blue);
}
.pb-inline-notify__title {
  font-size: .92rem; font-weight: 700; color: var(--aji-dark-blue); line-height: 1.3;
}
.pb-inline-notify__sub {
  font-size: .8rem; color: #1e4f80; margin-top: 2px; line-height: 1.4;
}
/* ── Input row — standard height ──────────────────────────────────────────── */
/* .pb-inline-notify__row uses flex so both children stretch to the same height */
.pb-inline-notify__row {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch;
}
/* Standard-height email input — matches footer widget (48px) */
.pb-inline-notify__input-std {
  flex: 1; min-width: 160px;
  height: 48px; min-height: 48px; box-sizing: border-box;
  padding: 0 .75rem; border: 1.5px solid #90c4e8;
  border-radius: 6px; font-size: .9rem; font-family: inherit;
  background: #f8fbff;
  transition: border-color .2s, box-shadow .2s;
}
.pb-inline-notify__input-std:focus {
  outline: none; border-color: var(--aji-bright-blue);
  box-shadow: 0 0 0 2px rgba(1,111,185,.15);
}
/* Standard-height button with spinner support */
.pb-inline-notify__btn-std {
  height: 48px; min-height: 48px; box-sizing: border-box;
  padding: 0 1rem; background: var(--aji-bright-blue); color: white;
  border: none; border-radius: 8px; font-size: 1.05rem; font-weight: 700;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s;
}
.pb-inline-notify__btn-std:hover:not(:disabled) { background: var(--aji-dark-blue); }
.pb-inline-notify__btn-std:disabled { opacity: .65; cursor: not-allowed; }
/* Spinner inside the inline OOS panel buttons */
.pb-inline-notify__spinner {
  width: 15px; height: 15px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: pbInlineNotifySpin .75s linear infinite;
}
@keyframes pbInlineNotifySpin { to { transform: rotate(360deg); } }
.pb-inline-notify__err { font-size: .78rem; color: var(--aji-red); min-height: 16px; margin-top: 3px; }
.pb-inline-notify__fine { font-size: .78rem; color: var(--aji-brushed-steel); margin-top: 6px; line-height: 1.3; }
.pb-inline-notify__success {
  display: none; align-items: center; gap: .6rem;
  padding: .65rem .8rem; background: rgba(40,167,69,.08);
  border: 1px solid rgba(40,167,69,.3); border-radius: 6px; margin-top: .5rem;
}
.pb-inline-notify__success.show { display: flex; }
.pb-inline-notify__already {
  margin-top: 0;
  margin-bottom: .7rem;
}
.pb-inline-notify__success-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: var(--aji-green); color: white;
  display: flex; align-items: center; justify-content: center; font-size: .75rem;
}
.pb-inline-notify__success-text { font-size: .82rem; color: #555; line-height: 1.4; }
.pb-inline-notify__success-text strong { display: block; color: var(--aji-deep-carbon); }

/* ── FS badge on knurl card ────────────────────────────────────────────────── */
.pb-fs-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-barley-white); color: var(--aji-deep-carbon); border: 1px solid var(--aji-yellow);
  pointer-events: none;
}

/* ── OOS model card treatment — distinct but alive, not dead ─────────────── */

.pb-oos-model-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-alert-red); color: var(--aji-pure-white); border: none;
  pointer-events: none;
}

/* ── Unavailable (coming-soon) model card ─────────────────────────────────── */
.pb-coming-soon-model {
  opacity: .65;
}
/* Want This? — speculative, under consideration. Muted style to signal uncertainty. */
.pb-model-uc-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-vapor); color: var(--aji-brushed-steel); border: 1px solid var(--aji-galvanized-steel);
  pointer-events: none;
}
/* Coming Soon — committed, manufactured, pending availability. Yellow = real and on its way. */
.pb-model-coming-soon-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-yellow); color: var(--aji-deep-carbon); border: none;
  pointer-events: none;
}
.pb-coming-soon-thick { opacity: .65; cursor: default; }
/* Coming Soon — thickness level. Same yellow treatment as model-level coming soon. */
.pb-thick-coming-soon-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-yellow); color: var(--aji-deep-carbon); border: none;
  pointer-events: none;
}
/* Under consideration — thickness level. Muted style matches model-level Want This? */
.pb-uc-thick { opacity: .65; cursor: default; }
.pb-thick-uc-badge {
  position: absolute; top: 3px; left: 3px; z-index: 3;
  font-size: .65rem; font-weight: 800; text-transform: uppercase; line-height: 1;
  padding: 3px; border-radius: 3px; letter-spacing: .03em;
  background: var(--aji-vapor); color: var(--aji-brushed-steel); border: 1px solid var(--aji-galvanized-steel);
  pointer-events: none;
}





/* ── ≤390px: reclaim horizontal space on fieldsets only ── */
@media (max-width:390px) {
  .aji-pb-form fieldset { padding:0.75rem; }
  .pb-summary-footer    { padding:.55rem .6rem; }
}

/* 25mm modal notify CSS removed — the 25mm modal now uses a .pb-notify-widget div.
   Styles live in pb-notify-widget.css.
   When 25mm grips go live: delete the widget div from the 25mm modal footer in knurled.html.
   No CSS changes required here. */
/* modal-footer--notify still needed — JS adds it when the notify block is shown */
.modal-footer.modal-footer--notify {
  display: block;
  padding: 1rem;
}
#modal-25mm-notify-block {
  width: 100%;
}
