/**
 * ==============================================================================
 * Progoti Bazar - Legacy Framework Neutralizer (legacy-neutralizer.css)
 * Scope: Shields modern components against Bootstrap 5 & legacy global resets.
 * Architecture: Isolated Legacy Adapter (Leaves pb-frontend.css 100% pure).
 * ==============================================================================
 */

/* ── 1. Top Announcement Bar Legacy Neutralization ── */
.theme-accent-bg {
    box-sizing: border-box !important;
}

.theme-accent-bg p {
    margin: 0 !important;
    padding: 0 !important;
}

.theme-accent-bg a {
    color: #0c0a09 !important;
    text-decoration: none;
}

.theme-accent-bg a:hover {
    text-decoration: underline !important;
}

/* ── 2. Unified Header & Navigation Bootstrap Reboot Neutralizer ── */
header.bg-white,
header.bg-white * {
    box-sizing: border-box !important;
}

header.bg-white h1 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.25rem !important; /* text-xl */
    line-height: 1.25 !important;
    color: var(--primary) !important;
}

@media (min-width: 640px) {
    header.bg-white h1 {
        font-size: 1.5rem !important; /* sm:text-2xl */
    }
}

header.bg-white p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

header.bg-white a {
    text-decoration: none !important;
    color: inherit;
}

header.bg-white a:hover {
    text-decoration: none !important;
}

header.bg-white form {
    margin: 0 !important;
    padding: 0 !important;
}

header.bg-white input[type="text"] {
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
}

header.bg-white input[type="text"]:focus {
    box-shadow: none !important;
    outline: none !important;
    border: 0 !important;
}

header.bg-white button {
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

header.bg-white nav ul,
header.bg-white nav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

header.bg-white nav a {
    text-decoration: none !important;
}

header.bg-white nav a:hover {
    text-decoration: none !important;
}

/* ── 3. Neutralize Legacy Cart Badge & Button Padding ── */
.header-cart-count {
    box-sizing: border-box !important;
    margin: 0 !important;
}
