html,
body,
body * {
    font-family: 'Nunito', sans-serif !important;
}

.cb-header,
.cb-header * { box-sizing: border-box; }

.cb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 116px;
    border-top: 4px solid #e71a3b;
    background: #f7f7f7;
    color: #0033c6;
    font-family: 'Nunito', sans-serif;
}

.cb-header__inner {
    position: relative;
    left: 15px;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.cb-header__main {
    display: flex;
    align-items: center;
    height: 74px;
}

.cb-header button, .cb-header a, .cb-header input { font: inherit; }
.cb-header button, .cb-header a { color: inherit; }
.cb-header button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.cb-header a { text-decoration: none; }

.cb-menu-toggle { display: none; flex: 0 0 20px; width: 20px; height: 20px; }

.cb-logo {
    display: flex;
    flex: 0 0 160px;
    align-items: center;
    width: 160px;
    height: 21px;
}

.cb-logo img { display: block; width: 160px; height: auto; }

.cb-accessibility {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: 32px;
    transform: translateX(-1px);
}

.cb-icon {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.cb-icon--solid {
    fill: currentColor;
    stroke: none;
}

.cb-accessibility .cb-icon { width: 20px; height: 20px; }

.cb-search {
    flex: 1 1 auto;
    min-width: 220px;
    height: 42px;
    margin-left: 29px;
    margin-right: 4px;
}

.cb-search form { position: relative; width: 100%; height: 100%; }

.cb-search input {
    width: 100%;
    height: 42px;
    padding: 0 50px 0 23px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: 0;
    background: #fcfcfc;
    color: #333;
    font-size: 14px;
    letter-spacing: .1px;
}

.cb-search input::placeholder { color: #666; opacity: 1; }

.cb-search button {
    position: absolute;
    top: 0;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 42px;
    color: #5f5f5f;
}

.cb-search .cb-icon { width: 22px; height: 22px; stroke-width: 1.8; }

.cb-cep {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    height: 42px;
    margin-left: 25px;
    white-space: nowrap;
    font-size: 16px;
    letter-spacing: .1px;
    transform: translateX(-4px);
}

.cb-cep .cb-icon { width: 22px; height: 16px; }

.cb-cep:focus-visible {
    border-radius: 3px;
    outline: 2px solid #171717;
    outline-offset: 2px;
}

.cb-cep__selected {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}

.cb-cep__selected[hidden],
.cb-cep__empty[hidden] { display: none; }

.cb-cep__selected small {
    color: #0033c6;
    font-size: 14px;
    font-weight: 400;
}

.cb-cep__selected strong {
    display: block;
    max-width: 205px;
    overflow: hidden;
    color: #0033c6;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.cb-location-open { overflow: hidden; }

.cb-location-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 120px 8px 24px;
    font-family: 'Nunito', sans-serif;
}

.cb-location-modal[hidden] { display: none; }

.cb-location-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 14, 62, .48);
    cursor: default;
}

.cb-location-dialog {
    position: relative;
    width: 400px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #0033c6;
    border-radius: 5px 5px 0 0;
    background: #f7f7f7;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
    color: #646464;
}

.cb-location-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 8px 0 23px;
    background: #063bca;
    color: #fff;
}

.cb-location-dialog__header h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.cb-location-close {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 6px;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.cb-location-close svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.cb-location-dialog__body { padding: 23px 23px 29px; }

.cb-location-dialog__body p {
    margin: 0 0 22px;
    color: #737373;
    font-size: 16px;
    line-height: 1.45;
}

.cb-location-dialog label {
    display: block;
    margin-bottom: 4px;
    color: #666;
    font-size: 12px;
}

.cb-location-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 125px;
    gap: 8px;
}

.cb-location-fields input {
    width: 100%;
    height: 51px;
    padding: 0 16px;
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    outline: 0;
    background: #fafafa;
    color: #303030;
    font: 15px 'Nunito', sans-serif;
}

.cb-location-fields input:focus { border-color: #0033c6; box-shadow: 0 0 0 2px rgba(0, 51, 198, .12); }
.cb-location-fields input[aria-invalid=true] { border-color: #b42318; }

.cb-location-fields button {
    height: 49px;
    align-self: center;
    border: 0;
    border-radius: 4px;
    background: #063bca;
    color: #fff;
    font: 800 16px 'Nunito', sans-serif;
    cursor: pointer;
}

.cb-location-fields button:disabled { cursor: wait; opacity: .72; }

.cb-location-error {
    margin-top: 8px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.cb-account-cluster {
    display: flex;
    flex: 0 0 237px;
    align-items: center;
    height: 42px;
    margin-left: 24px;
    border-radius: 4px;
    background: #ebebeb;
    transform: translateX(-3px);
}

.cb-header .cb-account {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: 9px;
    height: 42px;
    padding-left: 24px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 800;
}

.cb-account .cb-icon { width: 20px; height: 18px; }

.cb-favorites {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    transform: translateX(-13px);
}

.cb-favorites .cb-icon { width: 20px; height: 20px; }

.cb-cart {
    position: relative;
    display: flex;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 42px;
    margin-left: 11px;
    transform: translateX(-2px);
}

.cb-cart .cb-icon { width: 26px; height: 26px; }
.cb-cart .cart-badge { position: absolute; top: -1px; right: -5px; }

.cb-nav {
    display: flex;
    align-items: center;
    height: 40px;
    white-space: nowrap;
    font-size: 14px;
}

.cb-nav__group { display: flex; align-items: center; gap: 20px; }
.cb-nav__group--right { gap: 22px; margin-left: auto; font-size: 14px; }

.cb-nav__departments { display: flex; align-items: center; gap: 5px; }
.cb-nav__departments .cb-icon { width: 18px; height: 18px; stroke-width: 1.8; }

.cb-nav__coupon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 8px;
    border-radius: 12px;
    background: #ca1717;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1150px) and (min-width: 769px) {
    .cb-accessibility, .cb-nav__group--right { display: none; }
    .cb-search { margin-left: 24px; }
    .cb-account-cluster { flex-basis: 196px; margin-left: 18px; }
}

@media (max-width: 768px) {
    .cb-header { height: 166px; }
    .cb-header__inner { left: 0; padding: 0 9px; }

    .cb-header__main {
        display: grid;
        grid-template-columns: 25px minmax(0, 1fr) 27px 27px 29px;
        grid-template-rows: 64px 42px 56px;
        column-gap: 13px;
        height: 162px;
    }

    .cb-menu-toggle {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 42px;
        transform: translate(1px, 1px);
    }

    .cb-menu-toggle .cb-icon { width: 21px; height: 21px; stroke-width: 1.8; }

    .cb-logo {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        width: 140px;
        height: 21px;
        transform: translateY(2px);
    }

    .cb-logo img { width: 140px; }

    .cb-accessibility {
        grid-column: 5;
        grid-row: 3;
        align-self: center;
        justify-self: end;
        width: 21px;
        height: 21px;
        margin: 0 1px 0 0;
        transform: translateX(-4px);
    }

    .cb-accessibility .cb-icon { width: 20px; height: 20px; }

    .cb-search {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        height: 42px;
        margin: 0;
        margin-right: 0;
    }

    .cb-search input { padding-left: 23px; font-size: 14px; }
    .cb-search button { right: 14px; }

    .cb-cep {
        grid-column: 1 / 5;
        grid-row: 3;
        align-self: center;
        height: 38px;
        margin: 0;
        gap: 8px;
        font-size: 16px;
        transform: none;
    }

    .cb-cep .cb-icon { width: 22px; height: 16px; }
    .cb-cep__selected strong { max-width: calc(100vw - 76px); font-size: 14px; }

    .cb-location-modal { padding-top: 4px; }
    .cb-location-dialog { width: 400px; }
    .cb-account-cluster { display: contents; }

    .cb-account {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        width: 27px;
        height: 42px;
        padding: 0;
        transform: translate(-4px, 1px);
    }

    .cb-account span { display: none; }
    .cb-account .cb-icon { width: 20px; height: 18px; }

    .cb-favorites {
        grid-column: 4;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        width: 27px;
        height: 42px;
        transform: translate(-4px, 1px);
    }

    .cb-favorites .cb-icon { width: 20px; height: 20px; }

    .cb-cart {
        grid-column: 5;
        grid-row: 1;
        align-self: center;
        justify-self: end;
        width: 29px;
        height: 42px;
        margin: 0;
        transform: translate(-4px, 1px);
    }

    .cb-cart .cb-icon { width: 26px; height: 26px; }
    .cb-nav { display: none; }
}

/* Mobile location modal centered */
@media (max-width: 768px){
    .cb-location-modal{
        align-items:center!important;
        justify-content:center!important;
        padding:16px!important;
    }
    .cb-location-dialog{
        width:min(400px,calc(100vw - 32px))!important;
        max-height:calc(100vh - 32px);
        overflow:auto;
    }
}

/* Mobile header delivery truck icon fix */
@media (max-width: 768px) {
    .cb-header .cb-cep > .cb-icon {
        width: 24px !important;
        height: 18px !important;
        min-width: 24px !important;
        overflow: visible !important;
        transform: none !important;
    }

    .cb-header .cb-cep > .cb-icon path {
        fill: currentColor !important;
        stroke: none !important;
    }
}

/* Stable delivery truck icon */
.cb-header .cb-delivery-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    color: #0033c6 !important;
    fill: currentColor !important;
    stroke: none !important;
    overflow: visible !important;
}

.cb-header .cb-delivery-icon path {
    fill: currentColor !important;
    stroke: none !important;
}

@media (max-width: 768px) {
    .cb-header .cb-cep .cb-delivery-icon {
        width: 24px !important;
        height: 24px !important;
        align-self: center !important;
    }
}

/* Mobile header icon sizing and spacing */
@media (max-width: 768px) {
    .cb-header__inner {
        padding: 0 14px !important;
    }

    .cb-header__main {
        grid-template-columns: 24px minmax(0, 1fr) 24px 24px 28px !important;
        column-gap: 13px !important;
    }

    .cb-menu-toggle {
        width: 24px !important;
        transform: none !important;
    }

    .cb-menu-toggle .cb-icon {
        width: 22px !important;
        height: 22px !important;
        stroke-width: 1.9 !important;
    }

    .cb-account,
    .cb-favorites,
    .cb-cart {
        width: 24px !important;
        height: 42px !important;
        transform: none !important;
        justify-self: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cb-account .cb-icon,
    .cb-favorites .cb-icon {
        width: 22px !important;
        height: 22px !important;
    }

    .cb-cart {
        width: 28px !important;
        justify-self: end !important;
    }

    .cb-cart .cb-icon {
        width: 25px !important;
        height: 25px !important;
    }

    .cb-cart .cart-badge {
        top: 5px !important;
        right: -5px !important;
        min-width: 14px !important;
        height: 14px !important;
        padding: 0 3px !important;
        font-size: 9px !important;
        line-height: 14px !important;
    }

    .cb-accessibility {
        width: 22px !important;
        height: 22px !important;
        margin: 0 !important;
        transform: none !important;
    }

    .cb-accessibility .cb-icon {
        width: 22px !important;
        height: 22px !important;
    }
}

@media (max-width: 380px) {
    .cb-header__inner {
        padding: 0 12px !important;
    }

    .cb-header__main {
        column-gap: 10px !important;
    }

    .cb-logo,
    .cb-logo img {
        width: 136px !important;
    }
}
