
pre {
    background: #F5F5F5;
    border: 1px solid #f36d33;
    border-left: 3px solid #f36d33;
    color: #666;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;


}


div.new_up {
    background: #EFF0DF;
    border: 1px solid #33CC00;
    border-left: 3px solid #33CC00;
    color: #666;
    page-break-inside: avoid;
    font-family: monospace;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1em 1.5em;
    display: block;
    word-wrap: break-word;


}

/* Global Layout & Header Safety Fixes */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

.header {
    max-width: 100vw !important;
}

body .content-grid {
    width: 100% !important;
    max-width: 1184px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow-x: hidden !important;
}

/* Ensure no child can push out the viewport */
.store-detail-page, 
.section-header, 
.section-banner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Global Header Search Bar Responsive Fix */
@media screen and (max-width: 1100px) {
    .header .search-bar {
        max-width: 260px;
        margin: 0 10px;
    }
}

@media screen and (max-width: 860px) {
    .header .search-bar {
        max-width: 180px;
    }
    .header .header-brand-text {
        display: none; /* Hide site title on mobile to save space for icons */
    }
}

@media screen and (max-width: 600px) {
    .header .search-bar {
        max-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    .header .search-bar {
        display: none; /* Hide on very small screens to avoid UI clash, users can search via portal/sidebar */
    }
}