/* --- Header & Navigation --- */
/* --- PRINTSTOP-STYLE HEADER --- */
.printstop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.printstop-header .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.printstop-header .logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

/* Center Pill Search Bar */
.search-container {
    flex-grow: 1;
    max-width: 650px;
    position: relative;
    margin: 0 40px;
}
.search-input {
    width: 100%;
    padding: 11px 20px 11px 44px;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    font-size: 0.95rem;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input:focus {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #9ca3af;
    pointer-events: none;
}

/* Right-Side Action Icons (Stacked) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
}
.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #374151;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
}
.action-btn svg {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
    stroke: #374151;
    transition: stroke 0.2s;
}
.action-btn:hover {
    color: #dc2626;
}
.action-btn:hover svg {
    stroke: #dc2626;
}

/* Cart Badge */
.icon-wrapper {
    position: relative;
}
.cart-count {
    position: absolute;
    top: -5px;
    right: -9px;
    background-color: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 20px;
    border: 2px solid #fff;
    line-height: 1.2;
}
/* =========================================
MEGA MENU NAVIGATION
========================================= */
.mega-nav {
background: var(--white);
border-bottom: 1px solid var(--border-color);
position: relative;
z-index: 900;
}
.mega-nav-list {
max-width: 1400px;
margin: 0 auto;
display: flex;
gap: 0;
padding: 0 var(--spacing-unit);
list-style: none;
}
.mega-nav-item {
position: static;
}
.mega-nav-link {
display: block;
padding: 0.55rem 1.5rem;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-dark);
cursor: pointer;
transition: color 0.2s, background 0.2s;
white-space: nowrap;
position: relative;
}
.mega-nav-link::after {
content: '';
position: absolute;
bottom: 0;
left: 1.5rem;
right: 1.5rem;
height: 2px;
background: var(--primary-blue);
transform: scaleX(0);
transition: transform 0.25s ease;
}
.mega-nav-item:hover > .mega-nav-link {
color: var(--primary-blue);
}
.mega-nav-item:hover > .mega-nav-link::after {
transform: scaleX(1);
}
/* Mega Menu Dropdown Panel */
.mega-menu {
position: absolute;
top: 100%;
left: 0;
right: 0;
width: 100%;
background: var(--white);
border-top: 1px solid var(--border-color);
box-shadow: 0 8px 30px rgba(0,0,0,0.10);
padding: 2.5rem 0;
opacity: 0;
visibility: hidden;
transform: translateY(-5px);
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
z-index: 999;
}
.mega-nav-item:hover > .mega-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.mega-menu-inner {
max-width: 1400px;
margin: 0 auto;
padding: 0 var(--spacing-unit);
display: grid;
grid-template-columns: repeat(5, 1fr) 1.5fr;
gap: 2rem;
}
/* Mega menu columns */
.mega-col h4 {
font-size: 0.85rem;
font-weight: 700;
color: var(--primary-black);
margin-bottom: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mega-col ul {
list-style: none;
padding: 0;
}
.mega-col ul li {
margin-bottom: 0.5rem;
}
.mega-col ul li a {
font-size: 0.9rem;
color: var(--text-gray);
cursor: pointer;
transition: color 0.2s;
display: inline-flex;
align-items: center;
gap: 0.4rem;
}
.mega-col ul li a:hover {
color: var(--primary-blue);
}
/* Featured promo column */
.mega-featured {
background: #f8f9fa;
border-radius: 10px;
padding: 1.5rem;
display: flex;
flex-direction: column;
gap: 1rem;
justify-content: center;
}
.mega-featured img {
width: 100%;
border-radius: 8px;
object-fit: cover;
max-height: 180px;
}
.mega-featured .see-all-link {
font-weight: 700;
font-size: 1rem;
color: var(--primary-blue);
cursor: pointer;
transition: color 0.2s;
display: inline-flex;
align-items: center;
gap: 0.3rem;
}
.mega-featured .see-all-link:hover {
color: var(--primary-dark-blue);
}
.mega-featured p {
font-size: 0.85rem;
color: var(--text-gray);
line-height: 1.4;
}
/* Mobile menu toggle */
.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
padding: 0.5rem;
color: var(--text-dark);
}

/* --- Footer --- */
footer {
background: #1a1a2e;
color: #ccc;
padding: 4rem var(--spacing-unit) 2rem;
font-size: 0.9rem;
margin-top: 4rem;
}
.footer-grid {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
margin-bottom: 3rem;
}
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }

/* --- Footer Utility Classes --- */
.footer-logo-wrapper { margin-bottom: 1rem; }
.footer-logo-img { max-height: 40px; width: auto; object-fit: contain; }
.footer-social { margin-top: 1rem; display: flex; gap: 1rem; font-size: 1.2rem; }
.footer-social a { color: #ccc; }
.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- MEGA-NAV TIGHTENING --- */
.mega-nav {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 72px;
    z-index: 9998;
    background: #fff;
}
