/* BellaprintUSA Master Stylesheet - Clean & Professional */
:root {
    --zoo-blue: #2A5C99;
    --zoo-cyan: #00AEEF;
    --zoo-yellow: #FFFF99;
    --zoo-gray-bg: #F2F2F2;
    --zoo-border: #EEEEEE;
    --header-h: 36px;
    --nav-h: 40px;
    --font-size-base: 14px;
    --font-size-btn: 14px;
    --font-size-nav: 13px;
    --container-w: 1200px;
}

* { padding: 0; margin: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: white; color: #333; line-height: 1.5; }

.container { 
    max-width: var(--container-w); 
    margin: 0 auto; 
    padding: 0 15px; 
}

/* 1. Header (Utility Bar) */
.utility-bar {
    background-color: var(--zoo-blue);
    height: var(--header-h);
    color: white;
    display: flex;
    align-items: center;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo { display: flex; align-items: center; gap: 8px; }
.logo-pro { font-weight: 800; font-size: 18px; letter-spacing: -0.5px; line-height: 1; }
.logo-pro span { color: var(--zoo-cyan); }

.search-container { 
    position: relative; 
    width: 320px; 
    display: flex; 
    align-items: center; 
}
.search-bar {
    width: 100%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 35px 8px 12px; /* Increased vertical padding */
    color: #FFFFFF; /* Pure white for visibility */
    font-size: 13px;
    outline: none;
    border-radius: 4px;
    transition: background 0.2s;
}
.search-bar::placeholder {
    color: rgba(255,255,255,0.8); /* Highly visible light placeholder */
}
.search-bar:focus { background: rgba(255,255,255,0.25); }
.search-icon { 
    position: absolute; 
    right: 10px; 
    width: 16px; 
    height: 16px; 
    stroke: var(--zoo-cyan);
    pointer-events: none;
}

.utility-nav { display: flex; gap: 18px; align-items: center; }
.utility-nav a { color: white; text-decoration: none; font-size: 13px; opacity: 0.9; }
.utility-nav a:hover { opacity: 1; color: var(--zoo-cyan); }
.lang-toggle-btn { 
    font-weight: bold; 
    color: var(--zoo-cyan) !important; 
    border: 1px solid var(--zoo-cyan); 
    padding: 2px 6px; 
    border-radius: 4px; 
}

/* 2. Main Navigation (ZooPrinting Inspired - Suspended Style) */
.main-nav {
    background: #f8f8f8;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ccc;
    min-height: 42px;
    display: flex;
    align-items: center;
    z-index: 1000;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-list { display: flex; width: 100%; list-style: none; justify-content: center; }
.nav-list li { 
    flex: 0 0 auto; 
    position: relative; 
    border-right: 1px solid #ddd; 
}
.nav-list li:first-child { border-left: 1px solid #ddd; }

.nav-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    text-decoration: none;
    color: #444;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.2s;
    white-space: nowrap;
    padding: 0 30px; /* High-density spacing */
}
.nav-list li a:hover { background: #fff; color: var(--zoo-blue); }

/* Mega Menu Dropdown */
.nav-list li:hover .mega-menu { display: grid; }
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -1px;
    width: 650px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2000;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
}

/* Wide variant for 4 columns */
.mega-menu.wide {
    width: 850px;
    grid-template-columns: repeat(4, 1fr);
}
.mega-menu a {
    display: block !important;
    height: auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
    border: none !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    font-weight: normal !important;
    text-transform: none !important;
    color: #444 !important;
}
.mega-menu a:hover { background: #f5f5f5 !important; color: var(--zoo-cyan) !important; }

/* 3. Hero & Content */
.hero-banner {
    background: #FAFAFA;
    border: 1px solid #DDD; /* Full border for a more "contained" look */
    border-radius: 8px;
    padding: 50px 60px; /* Increased horizontal padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.hero-text h1 { font-size: 34px; margin-bottom: 10px; color: var(--zoo-blue); }
.hero-text p { font-size: 18px; color: #666; }

.hero-badge {
    background: var(--zoo-yellow);
    color: #444;
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #E6E699;
}
.hero-badge .title { display: block; filter: brightness(1.2); font-size: 13px; text-transform: uppercase; font-weight: bold; }
.hero-badge .value { display: block; font-size: 18px; font-weight: 800; margin-top: 4px; }

/* Directory Grid */
.product-directory {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    padding: 20px 0;
}
.dir-block { border: 1px solid #DDD; background: white; border-radius: 4px; overflow: hidden; }
.dir-block h3 { background: var(--zoo-blue); color: white; padding: 10px; font-size: 14px; text-transform: uppercase; }
.dir-block ul { list-style: none; padding: 10px; }
.dir-block ul li { padding: 5px 0; border-bottom: 1px dotted #EEE; }
.dir-block ul li a { text-decoration: none; color: #444; font-size: 13px; }
.dir-block ul li a:hover { color: var(--zoo-cyan); }

/* Components */
.btn-zoo {
    background: var(--zoo-blue);
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: opacity 0.2s;
}
.btn-zoo-cyan { background: var(--zoo-cyan); }
.btn-zoo:hover { opacity: 0.9; }

/* Search Dropdown Override */
#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #DDD;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 3000;
    display: none;
}
#search-results.active { display: block; }
.search-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #EEE;
}
.search-item .cat { font-size: 10px; color: var(--zoo-cyan); font-weight: bold; text-transform: uppercase; }
.search-item .name { font-size: 14px; }

/* 4. Footer */
footer { background: #F8F8F8; border-top: 3px solid var(--zoo-blue); padding: 40px 0 20px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer-col h4 { color: var(--zoo-blue); font-size: 15px; margin-bottom: 15px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { text-decoration: none; color: #666; font-size: 14px; }
.footer-col ul li a:hover { color: var(--zoo-blue); }

/* Mobile Support (Simplified) */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; height: auto; padding: 15px; gap: 15px; }
    .search-container { width: 100%; }
    .nav-list { flex-direction: column; }
    .nav-list li a { border-right: none; border-bottom: 1px solid #DDD; justify-content: flex-start; padding-left: 15px; }
    .hero-banner { flex-direction: column; text-align: center; gap: 30px; }
    .product-directory { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
