/* =============================================
   CP4U Header â€” 3-Layer Custom Header
   ============================================= */

/* ---- Remove Astra container side padding on homepage only ---- */
body.home .ast-container,
body.home .ast-container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ---- Kill Astra + WordPress spacing above header ---- */

/* WordPress admin bar pushes body down by 32px — keep that, but kill any extra */
body.ast-hfb-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.ast-desktop {
    padding-top: 0 !important;
}

/* Astra HFB header builder outputs its own <header> above ours — hide it */
/* Scoped to exclude Elementor editor iframe (body.elementor-editor-active) */
body:not(.elementor-editor-active) .ast-hfb-header .site-header,
body:not(.elementor-editor-active) .ast-hfb-header #masthead,
body:not(.elementor-editor-active) .ast-hfb-header .ast-desktop-header,
body:not(.elementor-editor-active) .ast-hfb-header .main-header-bar,
body:not(.elementor-editor-active) .ast-hfb-header .ast-above-header,
body:not(.elementor-editor-active) .ast-hfb-header .ast-below-header,
body:not(.elementor-editor-active) .ast-hfb-header .ast-primary-header,
body:not(.elementor-editor-active) .ast-hfb-header .main-navigation,
body:not(.elementor-editor-active) #masthead {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Remove any margin Astra sets on #page or .hfeed — not in Elementor editor */
body:not(.elementor-editor-active) #page,
body:not(.elementor-editor-active) .hfeed {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Our header: always at top */
#cp4u-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ---- Reset for header layers ---- */
#cp4u-header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#cp4u-header a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   TOP BAR
   ============================================ */
#cp4u-top-bar {
    background: #00b843 !important;
    color: #ffffff !important;
    height: 36px !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    position: relative !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    transition: height 0.2s ease !important;
}

.cp4u-top-inner {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
}

/* Each column: equal 33.33% width */
.cp4u-top-left,
.cp4u-top-center,
.cp4u-top-right {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important;
}

/* Left */
.cp4u-top-left {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.cp4u-top-stars {
    color: rgb(255, 193, 7) !important;
    margin: 0 4px !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
}

.cp4u-top-served,
.cp4u-top-reviews {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Center */
.cp4u-top-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-align: center !important;
    flex-wrap: wrap !important;
    line-height: 1.4 !important;
    /* override the old absolute positioning */
    position: static !important;
    transform: none !important;
    left: auto !important;
}

.cp4u-top-code {
    display: inline-block !important;
    background: #ffffff !important;
    color: #00b843 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    font-style: italic !important;
    padding: 0 6px !important;
    border-radius: 5px !important;
    line-height: 1.5 !important;
}

.cp4u-top-details {
    color: #ffffff !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    font-weight: 400 !important;
}

.cp4u-top-details:hover {
    opacity: 0.8 !important;
    color: #ffffff !important;
}

/* Right (empty spacer) */
.cp4u-top-right {
    display: block !important;
}

/* ============================================
   MIDDLE BAR
   ============================================ */
#cp4u-middle-bar {
    background: #ffffff !important;
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: 1px solid #e5e7eb !important;
    position: relative !important;
    z-index: 999 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cp4u-mid-inner {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

/* Left: Logo */
.cp4u-logo {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    /* On desktop the hamburger is hidden so logo stays leftmost */
}

.cp4u-logo img {
    height: 80px !important;
    width: auto !important;
    display: block !important;
}

/* Center: Nav + Search */
.cp4u-mid-center {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: 1 !important;
    justify-content: center !important;
}

/* Main Nav */
.cp4u-main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.cp4u-main-nav li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-main-nav li a {
    color: #00b843 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    display: block !important;
    border-radius: 6px !important;
    transition: background 0.15s !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.cp4u-main-nav li a:hover {
    background: #e6f7ef !important;
    color: #00b843 !important;
}

/* Search */
.cp4u-search-form {
    display: flex !important;
    align-items: center !important;
    background: #f3f4f6 !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 9999px !important;
    overflow: hidden !important;
    height: 40px !important;
    width: 200px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-search-form input[type="search"] {
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    outline: none !important;
    flex: 1 !important;
    color: #374151 !important;
    height: 100% !important;
    box-shadow: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.cp4u-search-form button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    color: #00b843 !important;
    height: 100% !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.cp4u-search-form button svg {
    width: 16px !important;
    height: 16px !important;
}

/* Right: Contact + Account + Cart */
.cp4u-mid-right {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Spacer */
.cp4u-mid-spacer {
    display: none !important;
}

/* Contact info */
.cp4u-contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    flex-shrink: 0 !important;
    gap: 2px !important;
}

.cp4u-contact-info .open-hours {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #00b843 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.cp4u-contact-info .phone {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

.cp4u-contact-info .phone a {
    color: #111827 !important;
    text-decoration: none !important;
}

/* My Account */
.cp4u-account-wrap {
    position: relative !important;
    flex-shrink: 0 !important;
}

.cp4u-account-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    cursor: pointer !important;
    color: #00b843 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    gap: 3px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    transition: background 0.15s !important;
    user-select: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.cp4u-account-btn:hover {
    background: #e6f7ef !important;
}

.cp4u-account-btn svg {
    width: 24px !important;
    height: 24px !important;
}

.cp4u-account-btn span {
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-account-dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
    min-width: 180px !important;
    z-index: 2000 !important;
    overflow: hidden !important;
}

.cp4u-account-wrap:hover .cp4u-account-dropdown,
.cp4u-account-dropdown.open {
    display: block !important;
}

.cp4u-account-dropdown a {
    display: block !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    color: #374151 !important;
    font-weight: 500 !important;
    transition: background 0.12s !important;
    text-decoration: none !important;
    margin: 0 !important;
}

.cp4u-account-dropdown a:hover {
    background: #e6f7ef !important;
    color: #00b843 !important;
}

/* Cart */
.cp4u-cart-wrap {
    position: relative !important;
    flex-shrink: 0 !important;
}

.cp4u-cart-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    cursor: pointer !important;
    color: #00b843 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    gap: 3px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    transition: background 0.15s !important;
    text-decoration: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.cp4u-cart-btn:hover {
    background: #e6f7ef !important;
    color: #00b843 !important;
}

.cp4u-cart-btn svg {
    width: 24px !important;
    height: 24px !important;
}

.cp4u-cart-btn span {
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-cart-count {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background: #00b843 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

/* ============================================
   BOTTOM BAR â€” Category Nav
   ============================================ */
#cp4u-bottom-bar {
    background: #e6f7ef;
    height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d1d5db;
    position: relative;
    z-index: 998;
    overflow: hidden;
}

.cp4u-bottom-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* WordPress menu output styling */
#cp4u-bottom-bar .cp4u-cat-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
}

#cp4u-bottom-bar .cp4u-cat-nav li {
    margin: 0;
    padding: 0;
    flex-shrink: 1;
    min-width: 0;
}

#cp4u-bottom-bar .cp4u-cat-nav li a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 600;
    color: #295230;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
}

#cp4u-bottom-bar .cp4u-cat-nav li a:hover,
#cp4u-bottom-bar .cp4u-cat-nav li.current-menu-item > a {
    background: #00b843;
    color: #ffffff;
}

/* ============================================
   SAVE10 MODAL
   ============================================ */
#cp4u-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#cp4u-modal-overlay.open {
    display: flex;
}

.cp4u-modal-box {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    padding: 40px 36px 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: cp4u-modal-in 0.22s ease;
}

@keyframes cp4u-modal-in {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cp4u-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #6b7280;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.12s;
}

.cp4u-modal-close:hover {
    background: #f3f4f6;
}

.cp4u-modal-box h2 {
    font-size: 24px;
    font-weight: 800;
    color: #00b843;
    margin-bottom: 12px;
}

.cp4u-modal-box p {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 12px;
}

.cp4u-modal-code {
    display: inline-block;
    background: #e6f7ef;
    border: 2px dashed #00b843;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 22px;
    font-weight: 900;
    color: #00b843;
    letter-spacing: 2px;
    margin: 8px 0 16px;
}

.cp4u-modal-cta {
    display: inline-block;
    background: #00b843;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s;
}

.cp4u-modal-cta:hover {
    opacity: 0.88;
    color: #ffffff;
}

/* ============================================
   STICKY HEADER
   ============================================ */
#cp4u-header.is-sticky #cp4u-top-bar {
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

#cp4u-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

/* ============================================
   MOBILE RIGHT (hamburger + cart) — hidden on desktop
   ============================================ */
.cp4u-mobile-right {
    display: none !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* ============================================
   HAMBURGER BUTTON — hidden on desktop, shown on mobile
   ============================================ */
.cp4u-hamburger {
    display: none !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: background 0.15s !important;
    flex-shrink: 0 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    position: relative !important;
    z-index: 10 !important;
}

.cp4u-hamburger:hover {
    background: #f3f4f6 !important;
}

.cp4u-hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #000000 !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
}
.cp4u-hamburger.open span:nth-child(2) {
    opacity: 0 !important;
}
.cp4u-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
}

/* ============================================
   SIDE DRAWER
   ============================================ */
.cp4u-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 99998;
    transition: opacity 0.25s;
}

.cp4u-drawer-overlay.open {
    display: block;
}

.cp4u-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
}

.cp4u-drawer.open {
    transform: translateX(0);
}

.cp4u-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.cp4u-drawer-logo img {
    height: 40px !important;
    width: auto !important;
    display: block !important;
}

.cp4u-drawer-close {
    background: none !important;
    border: none !important;
    font-size: 26px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: background 0.12s !important;
}

.cp4u-drawer-close:hover {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

/* Drawer Search */
.cp4u-drawer-search {
    padding: 14px 20px;
    border-bottom: 1px solid #f3f4f6;
}

.cp4u-drawer-search form {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
    height: 40px;
}

.cp4u-drawer-search input[type="search"] {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    font-size: 13px !important;
    outline: none !important;
    color: #374151 !important;
    height: 100% !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.cp4u-drawer-search button {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    color: #00b843 !important;
    height: 100% !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Drawer Nav */
.cp4u-drawer-nav {
    list-style: none !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}

.cp4u-drawer-nav li {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.cp4u-drawer-nav li a {
    display: block !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    text-decoration: none !important;
    transition: background 0.12s, color 0.12s !important;
}

.cp4u-drawer-nav li a:hover {
    background: #f0fdf7 !important;
    color: #00b843 !important;
}

/* Drawer Section Title */
.cp4u-drawer-section-title {
    padding: 14px 20px 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #9ca3af !important;
}

/* Drawer Categories */
.cp4u-drawer-cats {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-drawer-cats li {
    margin: 0 !important;
    padding: 0 !important;
}

.cp4u-drawer-cats li a {
    display: block !important;
    padding: 10px 20px 10px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: background 0.12s, color 0.12s !important;
    border-bottom: 1px solid #f9fafb !important;
}

.cp4u-drawer-cats li a:hover {
    background: #f0fdf7 !important;
    color: #00b843 !important;
}

/* Drawer Bottom */
.cp4u-drawer-bottom {
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp4u-drawer-account,
.cp4u-drawer-phone {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111827 !important;
    text-decoration: none !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: #f3f4f6 !important;
    transition: background 0.12s !important;
}

.cp4u-drawer-account:hover,
.cp4u-drawer-phone:hover {
    background: #e6f7ef !important;
    color: #00b843 !important;
}

.cp4u-drawer-account svg,
.cp4u-drawer-phone svg {
    flex-shrink: 0 !important;
    color: #00b843 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* 1280px: shrink nav padding slightly */
@media (max-width: 1280px) {
    .cp4u-main-nav li a {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    .cp4u-search-form {
        width: 180px !important;
    }
}

/* 1024px: hide contact info, tighter gaps */
@media (max-width: 1024px) {
    .cp4u-contact-info {
        display: none !important;
    }
    .cp4u-main-nav li a {
        padding: 8px 8px !important;
        font-size: 13px !important;
    }
    .cp4u-search-form {
        width: 160px !important;
    }
    .cp4u-mid-inner {
        gap: 12px !important;
        padding: 0 24px !important;
    }
}

/* 900px: switch to mobile layout */
@media (max-width: 900px) {
    /* Hide desktop center + right */
    .cp4u-mid-center,
    .cp4u-mid-right {
        display: none !important;
    }

    /* Show mobile right (cart icon only, hamburger moves to left) */
    .cp4u-mobile-right {
        display: flex !important;
    }

    /* Middle bar: hamburger | logo (center) | cart — 3-column grid */
    .cp4u-mid-inner {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px !important;
        align-items: center !important;
        padding: 0 16px !important;
        gap: 0 !important;
        height: 68px !important;
    }

    /* Hamburger: show and place in first column (left) */
    .cp4u-hamburger {
        display: flex !important;
        order: -1 !important;
        justify-self: start !important;
    }

    /* Logo moves to center column */
    .cp4u-logo {
        justify-self: center !important;
        grid-column: 2 !important;
    }

    /* Mobile right (cart) in third column (right) */
    .cp4u-mobile-right {
        grid-column: 3 !important;
        justify-self: end !important;
        gap: 0 !important;
    }

    /* Hide the cart label text on mobile, keep just the icon */
    .cp4u-mobile-right .cp4u-cart-btn span {
        display: none !important;
    }

    .cp4u-mobile-right .cp4u-cart-btn {
        padding: 8px !important;
        flex-direction: row !important;
    }

    #cp4u-middle-bar {
        height: 68px !important;
    }

    /* Logo smaller on mobile */
    .cp4u-logo img {
        height: 44px !important;
    }

    /* Top bar: stack to single centered line */
    #cp4u-top-bar {
        height: auto !important;
        min-height: 0 !important;
    }

    .cp4u-top-inner {
        flex-direction: column !important;
        height: auto !important;
        padding: 6px 16px !important;
        gap: 2px !important;
        align-items: center !important;
    }

    .cp4u-top-left,
    .cp4u-top-center,
    .cp4u-top-right {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .cp4u-top-right {
        display: none !important;
    }

    /* Bottom bar: scrollable */
    #cp4u-bottom-bar {
        height: auto !important;
        padding: 8px 0 !important;
        overflow-x: auto !important;
    }

    .cp4u-bottom-inner {
        justify-content: flex-start !important;
        padding: 0 12px !important;
    }

    #cp4u-bottom-bar .cp4u-cat-nav {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 2px !important;
    }

    #cp4u-bottom-bar .cp4u-cat-nav::-webkit-scrollbar {
        display: none !important;
    }

    #cp4u-bottom-bar .cp4u-cat-nav li a {
        font-size: 12px !important;
        padding: 5px 10px !important;
        white-space: nowrap !important;
    }
}

/* 480px: extra small phones */
@media (max-width: 480px) {
    .cp4u-logo img {
        height: 38px !important;
    }

    #cp4u-middle-bar,
    .cp4u-mid-inner {
        height: 60px !important;
    }

    .cp4u-top-served,
    .cp4u-top-reviews {
        font-size: 11px !important;
    }

    .cp4u-top-center {
        font-size: 11px !important;
    }

    .cp4u-top-code {
        font-size: 13px !important;
    }
}

/* Prevent body scroll when drawer is open */
body.cp4u-drawer-open {
    overflow: hidden !important;
}


