/* Generic Product Cards */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 25px 0;
}
.product-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.product-card img {
    width: auto;
    max-width: 85%;
    height: 180px; 
    object-fit: contain;
    display: block;
    margin: 20px auto 10px auto;
}
.product-info {
    padding: 15px;
}
.product-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #333;
    transition: color 0.3s ease, transform 0.3s ease;
}
.product-card:hover .product-info h3 {
    color: #007BFF;
    transform: translateX(5px);
}
.product-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}
.download-link {
    display: inline-block;
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}
.download-link:hover {
    text-decoration: underline;
}

/* Generic Reusable Glossy Shine Effect */

.glass-shine {
    font-weight: 800 !important;       /* Forces extra bold */
    font-size: 2.5rem !important;      /* Forces big size */
    color: #007BFF !important;         /* Forces your light brand blue */
    position: relative;
    display: block;            
    overflow: hidden;                  /* Crops the shine to the edges of the text */
    
    /* Centering Magic */
    width: max-content;                
    margin-left: auto !important;      
    margin-right: auto !important;     
    text-align: center !important;
}

/* The Glossy Shine Overlay Layer */
.glass-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;                       /* Starts completely off-screen left */
    width: 60%;                        /* Width of the light ray */
    height: 100%;
    
    /* Soft 3D Glossy Flare */
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    
    transform: skewX(-25deg);          /* Slants the light ray diagonally */
    
    /* Total loop time is 4.5 seconds to allow for a slow sweep and a crisp 1.5s break */
    animation: slowShineFlow 4.5s ease-in-out infinite;
}

/* The Shine Loop (Phases slowly across text, then rests briefly) */
@keyframes slowShineFlow {
    0% {
        left: -150%;
    }
    65% {
        left: 150%;                    /* Moves slowly across the letters */
    }
    100% {
        left: 150%;                    /* Holds for ~1.5 seconds before starting over */
    }
}
/* Upsizing and structuring the Quote Button */
.request-quote-btn {
    font-size: 16px !important;       /* Makes the text slightly larger and bolder */
    font-weight: 600 !important;
    padding: 12px 35px !important;    /* Increases vertical and horizontal spacing to make the box bigger */
    height: auto !important;          /* Overrides default template height limits */
    line-height: 1.5 !important;
    border-radius: 0px !important;     /* Guarantees perfectly sharp, crisp rectangle edges */
    text-transform: uppercase;        /* Keeps the lettering clean and professional */
    transition: all 0.2s ease-in-out !important;
}

/* Optional: Slight pop effect on hover to match your other elements */
.request-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(0, 123, 255, 0.25) !important;
}

/* ==========================================================================
   WHITE GLASS 3-COLUMN MEGA MENU
   ========================================================================== */

.nav-menu .fuzi-mega-parent {
    position: relative !important;
}

/* The Pure White Glass Box */
.fuzi-mega-box {
    position: absolute !important;
    top: 100% !important;
    right: -250px !important; /* Shifted left to re-center the wider box */
    width: 1150px !important; /* Massive width for long titles */
    min-height: 250px !important;
    
    background: rgba(255, 255, 255, 0.95) !important; 
    backdrop-filter: blur(15px) !important;           
    -webkit-backdrop-filter: blur(15px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.8) !important; 
    border-top: 3px solid #007BFF !important; 
    box-shadow: 0px 15px 40px rgba(0,0,0,0.08) !important; 
    display: flex !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease-in-out !important;
    z-index: 99999 !important;
}

.fuzi-mega-parent:hover .fuzi-mega-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* The 3 Equal Columns */
.fuzi-col {
    flex: 1 1 0% !important; 
    width: 33.333% !important; /* Mathematically identical widths */
    padding: 30px 20px !important;
}

/* Glassy Vertical Divider Lines */
.fuzi-mid-col {
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Hiding and Showing Groups */
.fuzi-group {
    display: none !important;
    flex-direction: column !important;
}
.fuzi-group.active {
    display: flex !important;
}

/* Text and Links */
.fuzi-item {
    position: relative !important; /* Allows us to lock the arrow inside */
    display: flex !important;
    align-items: center !important;
    
    /* The 40px right padding creates an invisible barrier so text never hits the arrow */
    padding: 10px 40px 10px 12px !important; 
    
    font-size: 13.5px !important;
    color: #333333 !important; 
    margin-bottom: 5px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
    
    /* Forces long text to wrap to the next line nicely */
    white-space: normal !important; 
    line-height: 1.4 !important;
}

/* Hover Effect: Soft blue highlight block */
.fuzi-item:hover, .fuzi-item.active {
    background: rgba(0, 123, 255, 0.08) !important; 
    color: #007BFF !important;                      
}

/* The minimalist arrow > */
.fuzi-item .arr {
    position: absolute !important;
    right: 15px !important; /* Permanently locked 15px from the right edge */
    top: 50% !important;
    transform: translateY(-50%) !important; /* Perfect vertical centering */
    font-family: sans-serif;
    font-size: 14px;
    opacity: 0.4;
}

/* Brand Logo Layout (Column 3) */
.fuzi-brand-col {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fuzi-brand-col img {
    max-width: 140px !important;
    max-height: 100px !important;
    object-fit: contain !important;
    filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.06)) !important; 
}

/* Force the dropdown arrow next to Products */
.nav-menu .fuzi-mega-parent > a::after {
    content: '\f107' !important; /* FontAwesome down arrow */
    font-family: 'FontAwesome' !important;
    margin-left: -5px !important;
    font-size: 14px !important;
    vertical-align: middle !important;
    opacity: 0.8 !important;
}

/* Force ALL primary buttons to be perfectly square */
.primary-btn {
    border-radius: 0px !important;
}