@charset "UTF-8";
/* Average Joe Innovations | AJI Order Form v1.1 | Build 2026-02-24 */
      /* =========================================
		 VARIABLES & ROOT
	  ========================================= */
      :root {
        --aji-dark-blue: #011E36;
        --aji-bright-blue: #016FB9;
        --aji-medium-blue: #013A63;
        --aji-light-blue: #A3D9FF;
        --aji-gold: #FFD700;
        --aji-yellow: #FFB800;
        --aji-pale-yellow: #FFF9E6;
        --aji-red: #FD5341;
        --aji-green: #28A745;
        --aji-white: #FAFAFA;
        --aji-pure-white: #FFFFFF;
        --aji-light-gray: #F7F9FB;
        --aji-mid-gray: #E0E5EB;
        --aji-dark-gray: #2D3436;
        --aji-menu: #2589D8;  /*9A9A9A*/
		    --aji-black: #000000;
		    --aji-note: #FFF3CD;  
	 }

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

      html, body {
        font-family: system-ui, sans-serif;
        background: var(--aji-dark-blue);
        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-bright-blue);
        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-bright-blue);
        text-transform: none;
      }

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

      /* =========================================
		 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-bright-blue);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 5px 20px 0px;
        min-height: 60px;
        width: 100%;
      }

      .brand-bar {
        background-color: var(--aji-dark-blue);
        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-bright-blue);
        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-menu);
      }

      .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-dark-blue);
      }

      .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-menu);
      }

      /* 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 {
        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-dark-blue);
        color: var(--aji-white);
      }

      .arrow-section.light {
        background: var(--aji-light-gray);
        color: var(--aji-dark-gray);
      }

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

      .arrow-section.yellow {
        background: var(--aji-yellow);
        color: var(--aji-dark-gray);
      }

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

      .arrow-section.mid-gray {
        background: var(--aji-mid-gray);
        color: var(--aji-dark-gray);
      }

      .arrow-section.pale-yellow {
        background: var(--aji-pale-yellow);
        color: var(--aji-dark-gray);
      }
		
	  .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: 6rem 1rem;
        margin-top: 101px;
      }

      #hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
          linear-gradient(rgba(2, 22, 43, 0.9), rgba(2, 22, 43, 0.75)),
          url('img/theworks_400_222.webp') no-repeat center center;
        background-size: cover;
        z-index: 0;
      }

      @media (min-width: 401px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(2, 22, 43, 0.9), rgba(2, 22, 43, 0.75)),
            url('img/theworks_800_443.webp');
        }
      }

      @media (min-width: 801px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(2, 22, 43, 0.9), rgba(2, 22, 43, 0.75)),
            url('img/theworks_1200_665.webp');
        }
      }

      @media (min-width: 1201px) {
        #hero::before {
          background-image:
            linear-gradient(rgba(2, 22, 43, 0.9), rgba(2, 22, 43, 0.75)),
            url('img/theworks.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: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
      }

      #hero .btn-primary {
        background: var(--aji-yellow);
        color: var(--aji-dark-blue);
        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-dark-blue);
        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;
      }

      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;
      }

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

      .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-dark-blue);
        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-bright-blue);
        border-color: var(--aji-bright-blue);
      }

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

      .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-bright-blue);
        color: var(--aji-white);
      }


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

      .lead-segue {
        color: var(--aji-white);
        text-align: center;
        margin-bottom: 2.5rem;
        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; 
      }

      /* =========================================
		 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-mid-gray);
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--aji-dark-gray);
        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-bright-blue);
        border-radius: 4px;
      }

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

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

	@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-dark-blue);
        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(1, 111, 185, 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-bright-blue); 
      }

      .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-dark-blue);
		  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-dark-blue);
        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-menu);
        color: var(--aji-pure-white);
      }

      #faq .accordion-item.active>.accordion-header {
        background-color: var(--aji-menu);
        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-menu);
        color: var(--aji-pure-white);
      }

      #installation .accordion-item.active>.accordion-header {
        background-color: var(--aji-menu);
        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-bright-blue);
      }

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

      .testimonial-author {
        font-weight: 700;
        color: var(--aji-bright-blue);
        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-dark-blue);
        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-dark-blue);
		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-bright-blue);
	  }

	  #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-dark-blue); /* 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-dark-blue); 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-mid-gray); 
		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-bright-blue); 
		background: #f0f8ff;
	  }

	  .upload-icon { 
		color: var(--aji-bright-blue); 
		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-mid-gray);
		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-dark-blue);
        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-box p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: var(--aji-yellow);
      }

      #newsletterForm {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      #newsletterForm input {
        padding: 12px;
        border-radius: 5px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: white;
        font-family: inherit;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
      }

      #newsletterForm input::placeholder {
        color: rgba(255, 255, 255, 0.4);
      }

      #newsletterForm input:focus {
        outline: none;
        border-color: var(--aji-yellow);
        background: rgba(255, 255, 255, 0.1);
      }

      #newsletterForm .btn-primary {
        box-shadow: none;
      }

      #newsletterForm .btn-primary:hover {
        box-shadow: none;
      }

      /* Newsletter Success/Error Messages */
      .newsletter-message {
        text-align: center;
        padding: 1.5rem 1rem;
      }

      .newsletter-message .message-icon {
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
      }

      .newsletter-message p {
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
      }

      .newsletter-dismiss-btn {
        border: 1px solid var(--aji-yellow);
        color: var(--aji-yellow);
        background: transparent;
        padding: 0.875rem 2rem;
        border-radius: 0.625rem;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
        text-transform: uppercase;
        letter-spacing: 1px;
      }

      .newsletter-dismiss-btn:hover {
        background: var(--aji-yellow);
        color: var(--aji-dark-blue);
      }

      .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-bright-blue);
        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-dark-blue);
      }

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

      .legal-modal-body h3 {
        color: var(--aji-bright-blue);
        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-mid-gray);
        border-radius: 50%;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--aji-dark-gray);
        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-menu);
          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 box: full width */
		  .newsletter-box p {
			font-size: 0.9rem;
			text-align: center;
		  }

		  #newsletterForm input,
		  #newsletterForm button {
			width: 100%;
			max-width: 300px; /* keeps it reasonable */
		  }

		  #newsletterForm {
			flex-direction: column;
			gap: 10px;
			align-items: center;
		  }

		  #newsletterForm input {
			width: 100%;
			max-width: 300px;
		  }
		  
		  /* Newsletter messages on mobile */
		  .newsletter-message {
			padding: 1.25rem 0.75rem;
		  }
		  
		  .newsletter-message p {
			font-size: 0.9rem;
		  }
		  
		  .newsletter-dismiss-btn {
			padding: 0.875rem 2rem;
			font-size: 1rem;
		  }

		  /* 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 */
		  }	  
      }

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

        /* 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-dark-blue);
		  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) {
      #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-mid-gray);
		border-radius: 50%;
		background: white;
		display: flex;
		align-items: center;
		justify-content: center;
		color: var(--aji-dark-gray);
		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 {
		  font-size: 1rem;
		}

		#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;
	  }
		
	  #hero h1 {
		  font-size: 1.6rem;
		}

		#hero .hero-content p {
		  font-size: 0.95rem;
		}

		#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(1, 30, 54, 0.4);
	  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 {
	  content: "";
	  position: absolute;
	  bottom: 12px;                 /* distance from bottom edge */
	  right: 12px;                  /* distance from right edge */
	  width: 60px;                  /* adjust size as needed */
	  height: 60px;                 /* 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 watermark override - upper left, brighter */
	.modal-hero::after {
	  top: 12px;
	  left: 12px;
	  bottom: auto;
	  right: auto;
	  opacity: 0.45;
	  z-index: 5;
	}

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

	#final-cta {
	  position: relative;
	  /* 1. We create a gradient using your Bright Blue color with 90% opacity */
	  /* 2. We put the lineup.jpg behind it */
	  background-image: 
		linear-gradient(
		  rgba(1, 111, 185, 0.97), 
		  rgba(1, 111, 185, 0.88)
		),
		url('img/theworks_400_222.webp');

	  /* Ensure the image covers the whole area */
	  background-size: cover;
	  background-position: center;
	  background-repeat: no-repeat;

	}

	@media (min-width: 401px) {
	  #final-cta {
	    background-image:
	      linear-gradient(rgba(1, 111, 185, 0.97), rgba(1, 111, 185, 0.88)),
	      url('img/theworks_800_443.webp');
	  }
	}

	@media (min-width: 801px) {
	  #final-cta {
	    background-image:
	      linear-gradient(rgba(1, 111, 185, 0.97), rgba(1, 111, 185, 0.88)),
	      url('img/theworks_1200_665.webp');
	  }
	}

	/* 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(1, 111, 185, 0.4) 0%,    /* Left: Image shows through clearly */
			rgba(1, 111, 185, 0.95) 25%,  /* Start Solid Core */
			rgba(1, 111, 185, 0.98) 50%,  /* Center: Solid Blue for Text */
			rgba(1, 111, 185, 0.95) 75%,  /* End Solid Core */
			rgba(1, 111, 185, 0.4) 100%   /* Right: Image shows through clearly */  

		   /* rgba(1, 111, 185, 0.98) 0%,    Solid blue behind text 
			  rgba(1, 111, 185, 0.95) 40%,
			  rgba(1, 111, 185, 0.75) 100%   More transparent on right */
		  ),
		  url('img/theworks.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-bright-blue);
	}

	/* Visuals */
	.bento-visual {
	  width: 100%;
	  aspect-ratio: 4/3; /* Enforces consistent height even if images vary */
	  background: #eee;
	  overflow: hidden;
	  position: relative;
	}

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

	.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-dark-blue);
	  font-size: 1.25rem;
	  font-weight: 700;
	  margin-bottom: 0.25rem;
	  text-transform: uppercase;
	  letter-spacing: 0.5px;
	}

	.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-dark-blue);
	  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;
	  font-size: 1.5rem;
	  color: var(--aji-white);
	  cursor: pointer;
	  transition: all 0.2s ease;
	}

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



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

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

.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 {
  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 {
  top: 0.5rem;
  right: 1rem;
  z-index: 2;
}

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

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

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

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

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

.modal-main {
  display: grid;
  gap: 0.75rem;
}

/* DESKTOP / TABLET */
@media (min-width: 600px) {
  .modal-main {
    grid-template-columns: 1fr 1.2fr;
  }
}

@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-mid-gray);
  border-radius: 0.5rem;
  padding: 1rem;
}

.specs-list li { font-size: .97rem; display: flex; gap: 8px; }
.specs-list li strong { color:var(--aji-dark-blue); 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-dark-blue);
  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;

  /* Smoky semi-transparent background block with fade-in at top */
  background: linear-gradient(to bottom, rgba(1, 30, 54, 0) 0%, rgba(1, 30, 54, 0.65) 15%, rgba(1, 30, 54, 0.65) 100%);
  backdrop-filter: blur(2px);

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

  z-index: 2;
  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-dark-blue);
  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-mid-gray);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aji-dark-gray);
  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-mid-gray);
  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-dark-blue);
  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.20em;
  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-bright-blue);
  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-dark-blue);
}

.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-bright-blue);
  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-mid-gray);
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--aji-dark-gray);
  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-bright-blue);
  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-dark-blue);
}

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

/* Labels */
.aji-order-form label {
  display: block;
  font-weight: 500;
  color: var(--aji-dark-gray);
  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-mid-gray);
  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-bright-blue);
  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-bright-blue);
}

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

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

.aji-order-form .price {
  color: var(--aji-bright-blue);
  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-dark-blue);
}

.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-bright-blue);
  background: #f9fcff;
  transform: translateY(-1px);
}

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

.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;
}

/* 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-mid-gray);
  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-bright-blue);
  background: #f0f8ff;
}

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

.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-dark-gray);
  font-weight: 500;
}

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

/* 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: 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);
}

/* Checkbox styling */
.aji-order-form input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  accent-color: var(--aji-bright-blue);
  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-mid-gray);
  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-bright-blue);
  box-shadow: 0 0 0 2px rgba(1, 111, 185, 0.1);
}

.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-dark-blue);
  min-width: 60px;
  margin: 0;
}

.disc-cam-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 0 0.75rem;
  color: var(--aji-bright-blue);
  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-mid-gray);
  border-radius: 6px;
  background: var(--aji-pure-white);
  cursor: pointer;
  font-weight: 600;
  color: var(--aji-dark-gray);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.aji-order-form .qty-btn.active {
  border-color: var(--aji-bright-blue);
  background: #e6f3ff;
  color: var(--aji-dark-blue);
  box-shadow: 0 0 0 1px var(--aji-bright-blue);
}

.aji-order-form .disc-total {
  background: #f0f8ff;
  border: 2px solid var(--aji-bright-blue);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--aji-dark-blue);
  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-dark-blue);
  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-dark-blue);
  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-dark-blue);
}

/* 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-dark-blue);
  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-bright-blue);
  box-shadow: 0 0 0 2px rgba(1, 111, 185, 0.1);
}

.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-dark-blue);
  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-dark-blue);
  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-mid-gray);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(2,18,34,0.06);
  margin-top: 12px;
  color: var(--aji-dark-gray);
  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-dark-blue); 
  margin-bottom:8px; 
}

.aji-order-form #contactFieldset legend {
  font-weight: 700;
  color: var(--aji-dark-blue);
  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-dark-blue);
  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-mid-gray);
  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-bright-blue);
  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-dark-blue);
  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);
}

/* 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-dark-blue);
  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; 
}

/* 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; 
  }
}

@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;
  }
}

/* ── Factory Seconds eligible / not-eligible callout boxes ── */
.faq-eligible-callout {
  background: var(--aji-pale-yellow);
  border-left: 4px solid var(--aji-yellow);
  border-radius: 0 6px 6px 0;
  padding: .85rem 1rem .85rem 1rem;
  margin: 1.25rem 0;
}
.faq-eligible-callout p { margin: 0 0 .6rem 0; }
.faq-eligible-callout ul { margin: 0; }

.faq-not-eligible-callout {
  background: #fff5f4;
  border-left: 4px solid var(--aji-red);
  border-radius: 0 6px 6px 0;
  padding: .85rem 1rem;
  margin: 1.25rem 0 0;
}
.faq-not-eligible-callout p { margin: 0; }
