/* ==========================================================================
   FrozBerries Desktop Header — v2.0.0
   ========================================================================== */

:root {
    --fb-primary: #C40044;
    --fb-font-stack: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --fb-top: 0px;
    --fb-sticky-height: 58px;
}

/* Visibility Logic */
@media (max-width: 991px) {
    .frozberries-desktop-header {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .fb-offcanvas-menu {
        display: none !important;
    }
}

/* Global Header Reset */
.frozberries-desktop-header {
    display: block;
    font-family: var(--fb-font-stack);
}

.frozberries-desktop-header.fb-header-duplicate {
    display: none !important;
}

body.fb-header-fixed {
    padding-top: var(--fb-sticky-height) !important;
}

/* Offer Bar */
.fb-desktop-offer-bar {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--fb-primary);
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 9998;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.fb-offer-content {
    display: flex;
    gap: 20px;
    align-items: center;
    max-width: 1300px;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
}

.fb-desktop-offer-bar .highlight {
    color: #fff59d;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 4px;
}

.fb-desktop-offer-bar i {
    margin-right: 6px;
}

/* Sticky Header Shell */
.fb-sticky-shell {
    position: relative;
    z-index: 9999;
    background: #ffffff;
    overflow: visible;
}

.fb-sticky-shell.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--fb-top);
    width: 100%;
    z-index: 100000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Main Header Row */
.fb-header-row {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    box-sizing: border-box;
    z-index: 10000;
    gap: 24px;
}

.fb-sticky-shell.is-fixed .fb-header-row {
    display: none !important;
}

.fb-header-left img {
    max-height: 80px;
    transition: all 0.3s ease;
}

/* Search and Location Selection */
.fb-header-center {
    flex: 1;
    max-width: 760px;
    position: relative;
    /* Above #fb-nav (9999). At equal z-index the nav bar wins because it comes
       later in the page, and it covered the first live-search result. */
    z-index: 10005;
}

.fb-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: visible;
}

.fb-location-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--fb-primary);
    border-radius: 25px;
    padding: 0 18px;
    height: 50px;
    min-width: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--fb-primary);
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

.fb-location-select i {
    color: var(--fb-primary);
    font-size: 15px;
    flex: 0 0 auto;
}

.fb-state-select {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: 0;
    font: inherit;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    color: var(--fb-primary);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding: 0 20px 0 0;
    margin: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12'><path fill='%23C40044' d='M6 9L2 4h8z'/></svg>") no-repeat right center;
    background-size: 10px;
    text-overflow: ellipsis;
}

/* Header Right Side */
.fb-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10001;
}

.fb-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fb-primary);
    text-decoration: none;
    transition: all 0.25s ease;
}

.fb-wishlist i {
    font-size: 18px;
    color: #ffffff;
    line-height: 1;
}

.fb-wishlist:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Navigation Bar */
.frozberries-nav-bar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--fb-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 56px;
    z-index: 10000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.fb-sticky-shell.is-fixed .frozberries-nav-bar {
    height: 58px;
    padding-left: 60px;
    padding-right: 60px;
    background: linear-gradient(135deg, #b91543 0%, #c40044 52%, #a9003b 100%);
    box-shadow: 0 10px 28px rgba(196, 0, 68, 0.18), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
.fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
.fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
    min-height: 58px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    font-size: 13px !important;
}

#fb-nav {
    position: relative;
    z-index: 9999;
}
.frozberries-menu,
.frozberries-menu * {
    overflow: visible;
}

.frozberries-menu {
    min-width: 0;
    width: 100%;
}

.fb-sticky-shell.is-fixed .fb-sticky-menu-list,
.fb-sticky-shell.is-fixed .frozberries-menu > ul,
.fb-sticky-shell.is-fixed #fb-nav ul.porto-hb-menu,
.fb-sticky-shell.is-fixed #fb-nav ul.main-menu {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.fb-sticky-shell.is-fixed .fb-sticky-menu-list > li,
.fb-sticky-shell.is-fixed .frozberries-menu > ul > li,
.fb-sticky-shell.is-fixed #fb-nav ul.porto-hb-menu > li,
.fb-sticky-shell.is-fixed #fb-nav ul.main-menu > li {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

.fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item,
.fb-nav-search-item {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    min-width: 320px !important;
    margin: 0 0 0 18px !important;
    list-style: none !important;
}

@media (max-width: 1500px) {
    .fb-sticky-shell.is-fixed .frozberries-nav-bar {
        padding-left: 28px;
        padding-right: 28px;
    }

    .fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
        padding-left: 5px !important;
        padding-right: 5px !important;
        font-size: 12px !important;
    }

    .fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item,
    .fb-nav-search-item {
        flex-basis: auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 280px !important;
        margin-left: 10px !important;
        margin-right: 0 !important;
    }
}

/* ── Order Bar ── */
.fb-order-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.fb-order-text {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-right: 4px;
}

.fb-order-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.fb-order-delivery {
    background: #ffffff;
    color: var(--fb-primary);
}

.fb-order-delivery:hover {
    background: #fff59d;
    color: var(--fb-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.fb-order-pickup {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.fb-order-pickup:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.fb-order-btn i {
    font-size: 12px;
}

/* ==========================================================================
   CUSTOM SEARCH BAR — Woolworths-Inspired Clean Design
   ========================================================================== */

/* Search wrapper — fills available space */
.fb-search-wrap {
    position: relative !important;
    flex: 1 !important;
    min-width: 0 !important;
    z-index: 9999 !important;
}

/* Form layout */
.fb-search-form {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 2px solid #E5E7EB !important;
    border-radius: 28px !important;
    height: 50px !important;
    padding: 0 6px 0 22px !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    box-shadow: none !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.fb-sticky-shell.is-fixed .fb-search-form {
    height: 42px !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    padding: 0 5px 0 18px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(81, 0, 28, 0.16) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Focus state — brand highlight */
.fb-search-form:focus-within {
    border-color: var(--fb-primary) !important;
    box-shadow: 0 0 0 3px rgba(196, 0, 68, 0.08) !important;
}

/* Input field — aggressive reset */
.fb-search-input,
.fb-search-form input[type="text"],
.fb-search-form input[name="s"] {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #1F2937 !important;
    font-family: var(--fb-font-stack) !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 46px !important;
    line-height: 46px !important;
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.fb-sticky-shell.is-fixed .fb-search-input,
.fb-sticky-shell.is-fixed .fb-search-form input[type="text"],
.fb-sticky-shell.is-fixed .fb-search-form input[name="s"] {
    height: 38px !important;
    line-height: 38px !important;
    font-size: 14px !important;
}

.fb-search-input::placeholder {
    color: #9CA3AF !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

/* Search button — aggressive reset to kill Porto blue */
.fb-search-btn,
.fb-search-form button,
.fb-search-form button[type="submit"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    transition: background 0.2s ease !important;
    flex-shrink: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: visible !important;
    position: relative !important;
}

.fb-sticky-shell.is-fixed .fb-search-btn,
.fb-sticky-shell.is-fixed .fb-search-form button,
.fb-sticky-shell.is-fixed .fb-search-form button[type="submit"] {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    background: #c40044 !important;
    background-color: #c40044 !important;
    box-shadow: 0 5px 14px rgba(196, 0, 68, 0.25) !important;
}

.fb-sticky-shell.is-fixed .fb-search-btn i,
.fb-sticky-shell.is-fixed .fb-search-form button i,
.fb-sticky-shell.is-fixed .fb-search-form button .fas,
.fb-sticky-shell.is-fixed .fb-search-form button .fa-search {
    color: #ffffff !important;
    font-size: 14px !important;
}

.fb-search-btn:hover,
.fb-search-form button:hover {
    background: #FEF2F7 !important;
    background-color: #FEF2F7 !important;
}

/* Search icon — force gray, no blue */
.fb-search-btn i,
.fb-search-form button i,
.fb-search-form button .fas,
.fb-search-form button .fa-search {
    font-size: 17px !important;
    color: #6B7280 !important;
    transition: color 0.2s ease !important;
    text-indent: 0 !important;
    position: relative !important;
}

.fb-search-form:focus-within .fb-search-btn i,
.fb-search-form:focus-within button i {
    color: var(--fb-primary) !important;
}

.fb-sticky-shell.is-fixed .fb-search-btn:hover,
.fb-sticky-shell.is-fixed .fb-search-form button:hover {
    background: #a9003b !important;
    background-color: #a9003b !important;
}

.fb-sticky-shell.is-fixed .fb-search-btn i,
.fb-sticky-shell.is-fixed .fb-search-form button i,
.fb-sticky-shell.is-fixed .fb-search-form button .fas,
.fb-sticky-shell.is-fixed .fb-search-form button .fa-search,
.fb-sticky-shell.is-fixed .fb-search-form:focus-within .fb-search-btn i,
.fb-sticky-shell.is-fixed .fb-search-form:focus-within button i {
    color: #ffffff !important;
    font-size: 14px !important;
}

/* ==========================================================================
   LIVE SEARCH RESULTS DROPDOWN
   ========================================================================== */
.fb-search-results {
    display: none !important;
    position: absolute !important;
    top: 54px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    z-index: 9999999 !important;
    max-height: 460px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 8px 0 !important;
}

.fb-sticky-shell.is-fixed .fb-search-results {
    top: 48px !important;
    left: auto !important;
    right: 0 !important;
    width: min(720px, calc(100vw - 120px)) !important;
    min-width: 0 !important;
}

.fb-sticky-shell.is-fixed .fb-search-item {
    gap: 16px !important;
    padding: 12px 20px !important;
}

.fb-sticky-shell.is-fixed .fb-search-item img {
    width: 62px !important;
    height: 62px !important;
}

.fb-sticky-shell.is-fixed .fb-search-item-title {
    font-size: 15px !important;
    max-width: none !important;
}

.fb-search-results.fb-show {
    display: block !important;
    animation: fb-dropdown-in 0.2s ease !important;
}

@keyframes fb-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual result item */
.fb-search-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 18px !important;
    text-decoration: none !important;
    color: #1F2937 !important;
    transition: background 0.15s ease !important;
    cursor: pointer !important;
    border-bottom: 1px solid #F9FAFB !important;
}

.fb-search-item:last-of-type {
    border-bottom: none !important;
}

.fb-search-item:hover {
    background: #FEF2F7 !important;
}

.fb-search-item img {
    width: 52px !important;
    height: 52px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 1px solid #F3F4F6 !important;
    flex-shrink: 0 !important;
    background: #FAFAFA !important;
}

.fb-search-item-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.fb-search-item-title {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1F2937 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    font-family: var(--fb-font-stack) !important;
}

.fb-search-item:hover .fb-search-item-title {
    color: var(--fb-primary) !important;
}

.fb-search-item-price {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--fb-primary) !important;
    margin-top: 3px !important;
    font-family: var(--fb-font-stack) !important;
}

/* View all results link */
.fb-search-viewall {
    display: block !important;
    text-align: center !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--fb-primary) !important;
    text-decoration: none !important;
    border-top: 1px solid #F3F4F6 !important;
    transition: background 0.15s ease !important;
    margin-top: 4px !important;
}

.fb-search-viewall:hover {
    background: #FEF2F7 !important;
    color: var(--fb-primary) !important;
}

/* Loading & empty states */
.fb-search-loading,
.fb-search-empty {
    padding: 24px 16px !important;
    text-align: center !important;
    font-size: 14px !important;
    color: #9CA3AF !important;
    font-family: var(--fb-font-stack) !important;
}

.fb-search-loading i {
    animation: fb-spin 1s linear infinite !important;
    margin-right: 8px !important;
}

@keyframes fb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   REDIRECT OVERLAY — Professional State Selector Modal
   ========================================================================== */
#fb-redirect-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#fb-redirect-overlay.fb-redirect-visible {
    opacity: 1;
    visibility: visible;
}

.fb-redirect-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.fb-redirect-modal {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    width: 460px;
    max-width: 92vw;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#fb-redirect-overlay.fb-redirect-visible .fb-redirect-modal {
    transform: scale(1) translateY(0);
}

/* Header */
.fb-redirect-header {
    background: linear-gradient(135deg, #C40044 0%, #a80038 50%, #8b002e 100%);
    padding: 28px 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fb-redirect-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10S0 14.5 0 20s4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.fb-redirect-logo {
    position: relative;
    margin-bottom: 14px;
}

.fb-redirect-logo svg {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.fb-redirect-title {
    position: relative;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.fb-redirect-title span {
    color: #fff59d;
}

.fb-redirect-subtitle {
    position: relative;
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
}

/* Body */
.fb-redirect-body {
    padding: 28px 32px 20px;
}

.fb-redirect-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.fb-redirect-from,
.fb-redirect-to {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.fb-redirect-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9CA3AF;
}

.fb-redirect-value {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    background: #F3F4F6;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    white-space: nowrap;
}

.fb-redirect-to .fb-redirect-value {
    background: #FEF2F7;
    border-color: #F9A8D4;
    color: #C40044;
}

.fb-redirect-arrow {
    flex-shrink: 0;
    animation: fb-arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes fb-arrow-pulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(4px);
        opacity: 0.6;
    }
}

/* URL Preview */
.fb-redirect-url-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    color: #059669;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Map URL Preview — blue theme */
.fb-redirect-url-preview.fb-redirect-url-map {
    background: #EFF6FF;
    border-color: #93C5FD;
    color: #2563EB;
}

/* Progress Bar */
.fb-redirect-progress-wrap {
    height: 4px;
    background: #E5E7EB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.fb-redirect-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #C40044, #FF6B8A);
    border-radius: 4px;
    transition: width 4s linear;
}

.fb-redirect-countdown {
    text-align: center;
    font-size: 12px;
    color: #9CA3AF;
    margin: 0;
}

.fb-redirect-countdown strong {
    color: #C40044;
    font-size: 14px;
}

/* Footer */
.fb-redirect-footer {
    padding: 0 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fb-redirect-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    font-family: inherit;
}

.fb-redirect-btn-primary {
    background: linear-gradient(135deg, #C40044, #E6004F);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(196, 0, 68, 0.35);
}

.fb-redirect-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(196, 0, 68, 0.45);
    transform: translateY(-1px);
}

.fb-redirect-btn-secondary {
    background: transparent;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
}

.fb-redirect-btn-secondary:hover {
    color: #C40044;
    background: #FEF2F7;
}

/* ── Sticky bar spacing (2.4.0) ──────────────────────────────────────────
   Once scrolled, items had 5-7px padding and no gap, so the highlighted
   Promotion pill and hover backgrounds touched their neighbours, while
   ~500px sat empty to the right of the search box. Give the items room and
   push the search to the right edge. */
.fb-sticky-shell.is-fixed .fb-sticky-menu-list,
.fb-sticky-shell.is-fixed .frozberries-menu > ul,
.fb-sticky-shell.is-fixed #fb-nav ul.porto-hb-menu,
.fb-sticky-shell.is-fixed #fb-nav ul.main-menu {
    gap: 6px !important;
}

.fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
.fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
.fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 13px !important;
}

/* The #fb-nav ID is needed: an older rule, '#fb-nav ul.main-menu > li',
   pins every item to flex:0 0 auto and outranks class-only selectors, which
   is why 2.4.0's 380px never applied and the box shrank to ~200px. */
.fb-sticky-shell.is-fixed #fb-nav ul.main-menu > li.fb-nav-search-item,
.fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item {
    flex: 0 0 440px !important;
    width: 440px !important;
    max-width: 440px !important;
    min-width: 0 !important;
    margin-left: auto !important;
}

@media (max-width: 1500px) {
    .fb-sticky-shell.is-fixed .fb-sticky-menu-list,
    .fb-sticky-shell.is-fixed .frozberries-menu > ul,
    .fb-sticky-shell.is-fixed #fb-nav ul.porto-hb-menu,
    .fb-sticky-shell.is-fixed #fb-nav ul.main-menu { gap: 2px !important; }

    .fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 12px !important;
    }

    .fb-sticky-shell.is-fixed #fb-nav ul.main-menu > li.fb-nav-search-item,
    .fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item { flex-basis: 320px !important; width: 320px !important; max-width: 320px !important; }
}

@media (max-width: 1280px) {
    .fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .fb-sticky-shell.is-fixed #fb-nav ul.main-menu > li.fb-nav-search-item,
    .fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item { flex-basis: 260px !important; width: 260px !important; max-width: 260px !important; }
}

/* ── Dropdown arrow on menu items with a sub-menu (2.4.1) ────────────────
   This header renders its own menu, so Porto's caret CSS never applies and
   "Products" gave no hint that it opens a mega menu. Chevron flips on hover
   and keyboard focus. Drawn with borders, so no icon font is needed. */
#fb-nav .frozberries-menu > ul > li.menu-item-has-children > a::after {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: none !important;
    opacity: .85;
    transform: translateY(-3px) rotate(45deg);
    transition: transform .2s ease;
}
#fb-nav .frozberries-menu > ul > li.menu-item-has-children:hover > a::after,
#fb-nav .frozberries-menu > ul > li.menu-item-has-children:focus-within > a::after {
    transform: translateY(0) rotate(-135deg);
}

/* ── Legibility (2.4.3) ──────────────────────────────────────────────────
   Account pill first line ("Hi, <name>" / "Log in or Sign up") was 12px,
   weight 400, in 80%-opacity white on #D01F43: about 3.3:1, under the 4.5:1
   small-text minimum, so it read as faint. Solid white, 500 weight.
   The account menu's own <style> comes from the [fb_account_menu] snippet;
   the extra .fb-header-right class outranks it without editing the snippet.
   Search placeholder #9ca3af on white was 2.54:1; #6b7280 is 4.83:1. */
.fb-header-right .fb-account-line1 {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #fff !important;
    letter-spacing: .01em;
}
.fb-header-right .fb-account-line2 { font-size: 14px !important; }

.fb-search-form input::placeholder,
.fb-search-input::placeholder {
    color: #6b7280 !important;
    opacity: 1 !important;
}

/* 2.4.4: shown above the products when the search had no exact match. */
.fb-search-note {
    padding: 10px 14px;
    margin: 0 0 4px;
    border-bottom: 1px solid #f3dbe3;
    background: #fff5f8;
    color: #3b1020;
    font-size: 13px;
    line-height: 1.4;
}

/* ── Mega menu (2.4.5) ──────────────────────────────────────────────────
   Products is a Porto "wide" menu set to 4 columns but holds 3 (Frozen,
   Chilled, Dry), so a quarter sat empty and the links were plain text with
   big gaps. Now: icon headings, tighter hover-highlighted links, a
   "Shop all ..." link per column and two shortcut cards in the free column
   (added by fb-desktop-header.js). Applies to the sticky bar too. */
#fb-nav li.has-sub.wide > .popup { box-shadow: 0 24px 48px -12px rgba(30, 10, 20, .22) !important; border-radius: 0 0 16px 16px !important; overflow: hidden; }
#fb-nav li.has-sub.wide > .popup > .inner { padding: 26px 30px 24px !important; background: #fff !important; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1.1fr); gap: 8px 28px; align-items: start; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub { width: auto !important; padding: 0 !important; float: none !important; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub > a:first-child { display: flex !important; align-items: center; gap: 10px; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase; color: #111 !important; padding: 0 0 12px !important; margin: 0 0 8px !important; border-bottom: 2px solid #f6dbe4 !important; background: none !important; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub > a:first-child::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 15px; color: #c40044; width: 30px; height: 30px; border-radius: 9px; background: #fdf0f4; display: inline-flex; align-items: center; justify-content: center; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub:nth-child(1) > a:first-child::before { content: '\f2dc'; } /* snowflake: Frozen */
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub:nth-child(2) > a:first-child::before { content: '\f76b'; } /* thermometer: Chilled */
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub:nth-child(3) > a:first-child::before { content: '\f466'; } /* box: Dry */
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub > ul.sub-menu { padding: 0 !important; margin: 0 !important; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub > ul.sub-menu > li > a { display: block !important; font-size: 14.5px !important; line-height: 1.3 !important; padding: 7px 10px !important; margin: 0 -10px !important; border-radius: 8px; color: #333 !important; background: none !important; transition: background .15s, color .15s; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu > li.sub > ul.sub-menu > li > a:hover { background: #fdf0f4 !important; color: #c40044 !important; }
#fb-nav li.has-sub.wide ul.porto-wide-sub-menu li.current-menu-item > a { color: #c40044 !important; font-weight: 700 !important; background: #fdf0f4 !important; }
#fb-nav .fz-mm-all { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px !important; font-weight: 700 !important; color: #c40044 !important; padding: 4px 0 !important; background: none !important; text-transform: none !important; letter-spacing: 0 !important; }
#fb-nav .fz-mm-all:hover { text-decoration: underline; }
#fb-nav .fz-mm-promo { display: flex; flex-direction: column; gap: 12px; }
#fb-nav .fz-mm-card { display: block !important; padding: 18px 18px 16px !important; border-radius: 14px; text-decoration: none !important; line-height: 1.35 !important; text-transform: none !important; letter-spacing: 0 !important; }
#fb-nav .fz-mm-card strong { display: block; font-size: 16px; font-weight: 800; margin-bottom: 4px; }
#fb-nav .fz-mm-card span { display: block; font-size: 13px; opacity: .9; }
#fb-nav .fz-mm-card em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 13px; font-weight: 700; }
#fb-nav .fz-mm-card.is-hot { background: linear-gradient(135deg, #e23c4a, #c40044) !important; color: #fff !important; }
#fb-nav .fz-mm-card.is-soft { background: #fdf0f4 !important; color: #3b1020 !important; border: 1px solid #f6dbe4; }
#fb-nav .fz-mm-card.is-soft em { color: #c40044; }
#fb-nav .fz-mm-all::before,
#fb-nav .fz-mm-card::before { content: none !important; display: none !important; }

/* ── 2.4.6: sticky search fits, calmer Specials highlight ────────────────
   1. The sticky search was a fixed 440px. With every menu item at 14px
      padding the row needs ~1540px but the container is 1400px, so the box
      ran off the right edge and its button was cut. It now shrinks (never
      below 240px) and the items are a little tighter.
   2. The bar is 100vw inside a fixed shell that excludes the scrollbar, so it
      poked ~15px past the right edge. Fixed mode uses the shell's width.
   3. The child theme gives "Promotion / Specials" a pulsing glow, its own
      padding (4px shorter than its neighbours) and, in the sticky bar, a
      full-height block. Replaced with a still pill, centred like the rest. */
.fb-sticky-shell.is-fixed .frozberries-nav-bar {
    width: 100% !important;
    margin-left: 0 !important;
}

.fb-sticky-shell.is-fixed #fb-nav ul.main-menu > li.fb-nav-search-item,
.fb-sticky-shell.is-fixed .fb-sticky-menu-list > li.fb-nav-search-item {
    flex: 0 1 440px !important;
    min-width: 240px !important;
}

@media (min-width: 1501px) {
    .fb-sticky-shell.is-fixed .fb-sticky-menu-list,
    .fb-sticky-shell.is-fixed .frozberries-menu > ul,
    .fb-sticky-shell.is-fixed #fb-nav ul.porto-hb-menu,
    .fb-sticky-shell.is-fixed #fb-nav ul.main-menu { gap: 4px !important; }

    .fb-sticky-shell.is-fixed #fb-nav .main-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .porto-hb-menu > li > a,
    .fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a {
        padding-left: 11px !important;
        padding-right: 11px !important;
    }
}

#fb-nav .frozberries-menu > ul > li > a[href*="promotion"] {
    animation: none !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
    position: relative !important;
    z-index: 0;
}
#fb-nav .frozberries-menu > ul > li > a[href*="promotion"]::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 50%;
    height: 34px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.38);
    z-index: -1;
    transition: background-color .2s ease;
}
#fb-nav .frozberries-menu > ul > li > a[href*="promotion"]:hover::after,
#fb-nav .frozberries-menu > ul > li > a[href*="promotion"]:focus-visible::after {
    background: rgba(255, 255, 255, 0.24);
}
.fb-sticky-shell.is-fixed #fb-nav .frozberries-menu > ul > li > a[href*="promotion"] {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ── 2.4.7: bigger menu text, Specials glow back ─────────────────────────
   Porto sizes the menu at 0.8571em (12px), small for a bar with this much
   room (items used ~1030px of 1400). 14px on wide screens, 13px on
   1200-1366px laptops; below 1200px the row is already nearly full at 12px,
   so it is left alone. Scoped to the non-sticky header: the sticky bar keeps
   its own sizes (it shares the row with the search). The Specials pill gets
   a soft glow again, on the pill only, so it no longer changes the item's
   size; off for reduced motion. */
@media (min-width: 1200px) {
    .fb-sticky-shell:not(.is-fixed) #fb-nav .frozberries-menu > ul > li > a { font-size: 13px !important; letter-spacing: .02em; }
    .fb-sticky-shell:not(.is-fixed) #fb-nav .frozberries-menu > ul > li > a > i { font-size: 13px !important; margin-right: 7px; }
}
@media (min-width: 1367px) {
    .fb-sticky-shell:not(.is-fixed) #fb-nav .frozberries-menu > ul > li > a { font-size: 14px !important; }
    .fb-sticky-shell:not(.is-fixed) #fb-nav .frozberries-menu > ul > li > a > i { font-size: 14px !important; }
}

@keyframes fbSpecialsGlow {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 14px 3px rgba(255, 255, 255, 0.45); }
}
#fb-nav .frozberries-menu > ul > li > a[href*="promotion"]::after {
    animation: fbSpecialsGlow 1.6s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
    .fb-sticky-shell:not(.is-fixed) #fb-nav .frozberries-menu > ul > li > a[href*="promotion"]::after { animation: none; }
}

/* ── 2.4.9: offer bar shows every area, never broken mid-list ───────────
   The owner wants every free-delivery minimum visible (no dropdown). Before,
   the two groups wrapped wherever they ran out of room ("Melrose Park, 2114"
   and "$200 • Anna Bay..." dropped onto a second line). Now:
   - 1560px and wider: one line, full bar width (12px, 11px below 1680px);
   - narrower: two tidy centred lines, delivery first, pickup second;
   - below 1100px the delivery list may wrap, but nothing is cut off.
   Amounts are bold and the separators lighter so the list scans quickly. */
.fb-offer-content { max-width: none; gap: 0; flex-wrap: nowrap; padding: 0 24px; }
.fb-desktop-offer-bar .fb-group { white-space: nowrap; }
.fb-desktop-offer-bar .fb-group + .fb-group {
    margin-left: 22px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.fb-desktop-offer-bar .fb-offer-area strong { font-weight: 700; color: #fff; }
.fb-desktop-offer-bar .fb-offer-sep { margin: 0 7px; opacity: .55; }

@media (max-width: 1679px) {
    .fb-desktop-offer-bar { font-size: 11px; }
    .fb-desktop-offer-bar .fb-offer-sep { margin: 0 5px; }
    .fb-desktop-offer-bar .fb-group + .fb-group { margin-left: 16px; padding-left: 16px; }
}
@media (max-width: 1559px) {
    .fb-desktop-offer-bar { font-size: 12px; padding: 6px 0; line-height: 1.45; }
    .fb-offer-content { flex-direction: column; row-gap: 2px; }
    .fb-desktop-offer-bar .fb-group--delivery { order: -1; }
    .fb-desktop-offer-bar .fb-offer-sep { margin: 0 6px; }
    .fb-desktop-offer-bar .fb-group + .fb-group { margin-left: 0; padding-left: 0; border-left: 0; }
}
@media (max-width: 1219px) {
    .fb-desktop-offer-bar { font-size: 11px; }
    .fb-desktop-offer-bar .fb-offer-sep { margin: 0 4px; }
}
@media (max-width: 1099px) {
    .fb-desktop-offer-bar .fb-group { white-space: normal; }
}
