
body {
    font-family: 'Poppins', sans-serif;
}

.card {
    box-shadow: none;
    border-radius: unset;
}

.card-initial {
    -webkit-box-shadow: var(--falcon-box-shadow) !important;
    box-shadow: var(--falcon-box-shadow) !important;
    border-radius: .375rem !important;
}

.btn-primary, btn-success, .btn-danger, .btn-warning, .btn-secondary {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.btn {
    transition: opacity 0.15s ease;
}

.btn:active {
    opacity: 0.65;
}

.chat-indicator-position {
    position: relative !important;
    top: -18px;
    right: 0;
}

.bottom-chat-indicator-position::before {
    position: absolute !important;
    right: 19px !important;
}

.nav-link {
    /*
    padding-left: 1rem !important;
    width: calc(100% + 1rem);

     */
}

.navbar-pwa .notification-indicator::before {
    top: -20px;
    right: -2px;
    z-index: 1;
}


.notification-indicator-danger::before {
    background-color: #f46569 !important;
}

#sideMenu_suggestions.notification-indicator::before,
#sideMenu_shop.notification-indicator::before {
    top: 10px;
    right: auto;
    left: 10px;
}

#btn_mobile_suggestion.notification-indicator::before,
#btn_mobile_shop.notification-indicator::before {
    top: 4px;
    right: 20px;
}

/* The unviewed-orders dot on the shop's Sell tab. The nav items in the side menu
   and the bottom bar take the theme's placement unchanged, but a tab is a
   different shape: `.nav-link` is not positioned, so the theme's absolute dot
   would anchor to some ancestor and land nowhere near the word, and
   `.nav-justified` makes the tab far wider than its label so a right-hand offset
   would strand it at the edge.

   So the tab lays its own content out and the dot rides along as a flex item
   after the label — no offsets to guess, and it stays put in any translation. */
/* The Sell tab carries two signals: how many parcels are still to pack (green
   count) and whether anything arrived since the seller last looked (red dot).
   Flex so both sit on the label line instead of the corner of a justified tab. */
#shop_tab_sell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.su-tabcount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--falcon-success, #00d27a);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* Same pill in the shop's other colour: red is news you have not seen, green is
   work still to do. */
.su-tabcount--news {
    background: var(--falcon-danger, #e63757);
}

.su-tabcount[hidden] {
    display: none;
}

/* The dot sits on the top right corner of the word, as it does on the Shop icon
   in the side menu and on the bell; the count follows it. */
#shop_tab_sell.notification-indicator::before {
    position: static;
    order: 1;
    align-self: flex-start;
    width: 8px;
    height: 8px;
    margin: 1px 0 0 -5px;
    border: none;
}

#shop_tab_sell .su-tabcount {
    order: 2;
}

.notification-indicator-footprints::before {
    top: -11px !important;
    right: 4px !important;
    z-index: 1;
}

.notification-indicator-chat::before {
    top: -19px;
    right: 2px;
    z-index: 1;
}

/* Top-bar icon row. Connections and Cart were added to a row that was already
   near the width of a phone, and each icon carried its own hand-set padding, so
   the spacing came out uneven and the row wrapped onto a second line over the
   page content. One box and one gap for the whole row instead.
   Do NOT constrain the glyph width here: an explicit width scales the whole SVG
   down, which is what made these two look shorter than their neighbours. The
   `shrink-6` transform they share with the bell already brings the painted glyph
   inside the box. */
@media (max-width: 1199.98px) {
    .navbar-pwa {
        gap: 6px;
    }

    /* Every icon gets the same box regardless of how wide its glyph draws, so the
       spacing is even by construction instead of by per-icon padding. The avatar
       keeps its own size. */
    .navbar-pwa > .nav-item > a:not(.nav-link) {
        width: 34px;
        height: 34px;
        padding: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* One box for every glyph in the row. Set as a real font-size, not a transform:
       a transform shrinks the drawing but leaves the layout box at the old size, so
       the glyphs spilled out of their boxes and the dots parted company with them.
       `max-width` only keeps the widest (people, cart) from pushing past the 34px
       box into their neighbours (34px boxes, 25px glyphs since 2026-11-25:
       at 30/22 the row read too small on a phone). What each glyph paints inside that box is a
       separate question, settled per icon below. */
    .navbar-pwa > .nav-item > a:not(.nav-link) > .svg-inline--fa {
        /* `!important` because two of these glyphs carry a hand-set margin under an
           id selector in pwa-navbar.css — the per-icon nudging this row replaces. */
        margin: 0 !important;
        font-size: 25px !important;
        height: 25px;
        max-width: 30px;
    }

    /* Shoe prints are drawn on their side (`.rotate-icon`), and the quarter turn
       swaps the box: sized like its neighbours it painted 26px tall against their
       22 and was the one icon that looked out of scale. Size it pre-rotation — a
       25-wide, 20-tall box (the glyph's own 640:512) lands on 25px painted. */
    .navbar-pwa > .nav-item > a:not(.nav-link) > .svg-inline--fa.rotate-icon {
        width: 25px;
        height: 20px;
    }

    /* Four of these carry a FontAwesome `shrink-N`, which draws the glyph at 56-62%
       of its box. So an even box is not an even row: beside the pin and the shoe
       prints, which have no shrink and fill theirs, they read as the small ones.
       Scale each back up until it paints at the size of the pin.

       One factor per icon rather than one for the row, because a glyph's presence
       is its ink, not its height: the bell is tall and narrow, the people are short
       and wide, so matching either dimension alone makes one of them the odd one
       out. The factors below bring each to the pin's painted area, which is what
       the eye is actually comparing. Re-derive them by measuring, not by taste:
       the ink of `svg path` against the 18.75x25 the pin paints. */
    .navbar-pwa > .nav-item > a > [data-icon="bell"] {
        transform: scale(1.48);
    }

    .navbar-pwa > .nav-item > a > [data-icon="users"] {
        transform: scale(1.4);
    }

    /* A shade under its share of the area: the plane is one solid diagonal mass,
       and a solid shape reads bigger than an outline of the same size. */
    .navbar-pwa > .nav-item > a > [data-icon="paper-plane"] {
        transform: scale(1.45);
    }

    .navbar-pwa > .nav-item > a > [data-icon="shopping-cart"] {
        transform: scale(1.3);
    }

    /* The avatar was 40px in a 56x62 box while every icon beside it was 30x30, so
       the row ended in a lump and sat off-centre. */
    .navbar-pwa > .nav-item > a.nav-link {
        /* Flex, so the anchor is exactly as tall as the avatar: as an inline box it
           carried a line-height's worth of slack that sat the picture above the
           line the icons share. */
        display: flex;
        align-items: center;
        padding: 0 0 0 4px !important;
    }

    /* `!important` because the size it is fighting is `.avatar-xl`, itself declared
       `!important` in the PWA base template. */
    .navbar-pwa > .nav-item > a.nav-link .avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .navbar-pwa > .nav-item > a.nav-link .avatar img,
    .navbar-pwa > .nav-item > a.nav-link .avatar .avatar-name {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* Same dot as on desktop — the size is the theme's, untouched, and the offsets
       put it where desktop puts it: centred on the glyph's top-right corner, so it
       overlaps the corner rather than floating off it. The offsets have to be
       restated because the ones they replace (up to -20px, one per icon) were
       measured against the old anchors, which were only as tall as a line of text
       while the glyph inside them was twice that. `!important` to beat those, which
       are `!important` themselves. */
    .navbar-pwa > .nav-item > a.notification-indicator::before {
        top: -2px !important;
        right: -2px !important;
    }

    /* On a phone the theme's 16px dot covered half a 30px icon, the plane's tip
       entirely (Andrew, 2026-11-25): a smaller dot, its centre on the top-right
       corner of the glyph's ink rather than of the 34px box, which left it
       floating off the narrow ones. Measured at 390 from each `svg path`: the
       ink stands 4.5-7.6px in from the box's top and right; the people glyph is
       wide and low, so its corner sits lower and further out. */
    .navbar-pwa > .nav-item > a:not(.nav-link).notification-indicator::before {
        width: 11px;
        height: 11px;
        top: -1px !important;
        right: 1px !important;
    }

    .navbar-pwa > .nav-item > #navbarTopConnections.notification-indicator::before {
        top: 2px !important;
        right: -1px !important;
    }

}

/* The narrowest phones (360): six 34px icons, the avatar and the logo fill the
   bar to the pixel, and a 6px gap pushed the row onto a second line. */
@media (max-width: 379.98px) {
    .navbar-pwa {
        gap: 3px;
    }
}

/* Desktop: the cart anchor is a plain inline link, so it is only as tall as a
   line of text while the glyph inside is 40px — a badge pinned to the anchor
   landed halfway down the icon instead of on its corner. Wrap the glyph.
   Desktop only, because on mobile the icon already sits in a box of its own (see
   the row rules above), where a box of its own dropped it a pixel below the line
   its neighbours share and the padding pushed it off centre.

   The spacing below was retuned when the cart moved from the end of the row
   (beside the avatar) into the icons themselves. Measured there: its glyph
   overlapped the bell's box by 2px on the left and left 8px to the plane on the
   right, so it read as belonging to the bell.

   `padding-left` with a matching negative `margin-right` moves the glyph right
   without widening the anchor — the space is taken from the cart's right and
   given to its left, rather than added to a row that has none to spare. The
   remaining slack between the two neighbours is only 6px, so this splits it
   evenly instead of chasing a bigger gap the row cannot give.

   `top` because `inline-flex` centres this one against neighbours that sit on
   the text baseline, which left it riding 3px high. The anchor is already
   `position-relative` for the badge, which comes down with it. */
@media (min-width: 1200px) {
    #navbarTopCart {
        display: inline-flex;
        align-items: center;
        padding-left: 8px !important;
        margin-right: -5px;
        top: 3px;
    }
}

/* Cart count in the top bar. The Certified mark's blue (#2ebcff, sampled from
   certified-sm.png) rather than the shop's pink.

   These offsets are desktop's — the block below restates them for mobile — and
   they are measured against the drawn cart, not against the anchor. The anchor
   is 48x40 while `data-fa-transform="shrink-6"` draws the glyph inside a margin
   of roughly 8px on each side, so pinning the badge to the anchor's own corner
   left it floating 5px right and 6px above the cart, hanging out of the row
   towards the avatar. -2/-1 puts its centre on the corner of the cart itself,
   which is where the dots on the bell and the plane sit relative to theirs. */
.navbar-cart-badge {
    position: absolute;
    top: -2px;
    right: -1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #2ebcff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

.navbar-cart-badge[hidden] {
    display: none;
}

/* On mobile the cart anchor becomes a 30x30 flex box (rule above), and the badge
   was still offset for the old, text-height anchor — it floated above the icon and
   off its right edge. Pin it to the box's own corner. */
@media (max-width: 1199.98px) {
    .navbar-cart-badge {
        top: -2px;
        right: -2px;
        min-width: 16px;
        height: 16px;
        font-size: 10px;
        border-width: 1.5px;
    }
}

@media (max-width: 768px) {
    .content {
        padding-bottom: 76px;
    }
}

@media (min-width: 768px) {
    #container-main.pwa-container-main {
        padding-top: 96px;
        /*margin-left: -30px;*/
    }

    .options-container {
        display: flex;
        justify-content: flex-end;
    }
}

/* Mobile menu on the bottom */
/* Default: Hide the mobile bottom nav */
.mobile-bottom-nav {
    display: none;
}

/* Show the mobile bottom nav only on mobile devices */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
        /* Above the scrolling feed content (the video mute button is z-index 11)
           so the sound icon never overlaps this fixed footer, but below the
           info/chat panels and modals (1020+) so those still cover it. */
        z-index: 100;
        -webkit-overflow-scrolling: touch;
        backface-visibility: hidden;
        height: 76px !important;
    }

    .mobile-bottom-nav .nav-item {
        width: 76px;
        height: 76px;
        display: flex;
        align-items: start;
        justify-content: center;
        text-align: center;
    }

    .mobile-bottom-nav .nav-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
}

.mobile-bottom-nav .nav-item a {
    color: #9da9bb;
}

.mobile-bottom-nav .nav-item.active a {
    color: #232e3c;
}

/* MAP CSS */
#map, .map-skeleton__map {
    height: calc(100vh - 150px);
    /* border: 2px solid red !important; */
}

@media (max-width: 767px) {
    #pwa_map, .map-skeleton {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    #map, .map-skeleton__map {
        width: 100vw;
        height: calc(100vh - 150px);
        /* border: 2px solid red !important; */
    }

    #settings, #subscription-info, #subscription-manage {
        padding-top: 74px;
    }
}

#markerLayer img {
    border-radius: 21.5px;
    left: 5px !important;
}

#markerLayer div:not(:first-child) {
    width: 52px !important;
    height: 52px !important;
}

.matchMapBorder {
    border: 3px solid #59e159 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0 4px 6px;
    background: #59e159;
    z-index: 1000;
    border-radius: 21.5px;
}

.suggestionMapBorder {
    border: 3px solid dodgerblue !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0 4px 6px;
    background: dodgerblue;
    z-index: 1000;
    border-radius: 21.5px;
}

.eventMapBorder {
    border: 3px solid #e559e5 !important;
    box-shadow: rgba(0, 0, 0, 0.3) 0 4px 6px;
    z-index: 1000;
    border-radius: 21.5px;
}

.matchBorder {
    border: 3px solid #59e159 !important;
    background: #59e159;
    z-index: 1000;
}

.suggestionBorder, .blueBorder {
    border: 3px solid dodgerblue !important;
    background: dodgerblue;
    z-index: 999;
}

#current-location-icon {
    position: absolute;
    bottom: 90px;
    left: 25px;
    cursor: pointer;
    z-index: 1000;
    font-size: 24px;
}

.input-container {
    display: flex;
    align-items: center;
    position: relative;
}

.current-location-label {
    background-color: #fdfdfd;
    border: 1px solid #ced4da;
    padding: 2px 10px;
    margin-top: 5px;
    margin-left: 4px;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
    position: absolute;
}


[id^='id_share_live_location_'] {
    margin-top: 5px;
}

[id^='form_check_id_share_live_location_'] {
    display: inline-block;
}

.tooltip-trigger {
    background: none;
    border: 0;
    padding: 0 3px;
    cursor: pointer;
}

div[style*="border: 2px solid rgb(26, 115, 232)"] {
    border: none !important; /* Removes the blue outline border for map */
}

#id_search_location {
    border-radius: unset;
}

.autocomplete-item {
    padding: 0.5rem;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
}

.autocomplete-item-highlight {
    background-color: #e9e9e9;
}

.autocomplete-dropdown-container {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Initially hidden */
    border-radius: 0 0 2px 2px;
    font-size: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    overflow-y: auto;
}

.autocomplete-dropdown-container li {
    padding: 0 16px !important;
    line-height: 30px;
    cursor: pointer !important;
    white-space: nowrap;
}

.autocomplete-dropdown-container li:hover {
    background-color: #e9e9e9;
}

.autocomplete-dropdown-container li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.search-history-label {
    padding: 0rem 1rem;
    font-weight: bold;
    font-style: italic;
    color: #757575;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

/* Info window close button */
.gm-ui-hover-effect {
    width: unset !important;
    height: 17px !important;
    position: absolute !important;
    right: 2px !important;
}

/* Info window close button */
.gm-ui-hover-effect span {
    margin: 0 !important;
    height: 15px !important;
    width: 15px !important;
}

/* END OF MAP CSS */

/* MATCH AND SUGGESTION LIST CSS */
#suggestions_header, #match_header {
    padding: 1rem 1.25rem;
    margin: 0;
}

#ordering .btn.dropdown-toggle {
    border: none !important;
}

@media (max-width: 767px) {
    .container {
        padding-left: 0;
        padding-right: 0;
        overflow-y: auto;
    }

    /* remove shadows */
    #client_suggestions_card, #client_connections_card {
        box-shadow: none;
    }

    #suggestions_header {
        padding-left: unset;
    }

    /* Simplify elements */
    #client_suggestions_card .btn,
    #client_suggestions_card .form-control {
        border: 1px solid #ddd;
    }

    /* Improve readability */
    #client_suggestions_card, #client_connections_card {
        font-size: 16px;
    }

    /* Enhance interactivity */
    #client_suggestions_card .btn {
        min-width: 44px; /* Minimum recommended tap target size */
        /*padding: 10px; /* Increase padding for easier tapping */
    }
}

@media only screen and (max-width: 767px) {
    #container-main #feed {
        /* min-height: calc(100vh - 135px); */
        overflow-x: hidden !important;
        /* margin-top: 75px; */
    }
}

#notifications {
    height: 100%;
    overflow-y: auto !important;
    max-height: -webkit-fill-available;
}

.truncated-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline;
    max-width: 100%;
}

.fs-33px {
    font-size: 33px;
}

.fs-20px {
    font-size: 20px;
}

.fs-18px {
    font-size: 18px;
}

.fs-17px {
    font-size: 17px;
}

.fs-16px {
    font-size: 16px;
}

.fs-15px {
    font-size: 14px;
}

.fs-14px {
    font-size: 14px;
}

.fs-13px {
    font-size: 13px;
}

.fs-12px {
    font-size: 12px;
}

.fs-11px {
    font-size: 11px;
}

.fs-10px {
    font-size: 10px;
}

.fs-10px {
    font-size: 10px;
}

.fs-dot9rem {
    font-size: .9rem !important;
}

.fs-dot7rem {
    font-size: .7rem !important;
}

.lh-1rem {
    line-height: 1rem;
}

.lh-dot5rem {
    line-height: .5rem;
}

.lh-dot9rem {
    line-height: .9rem;
}

.mt-5px {
    margin-top: 5px;
}

.mt-1px {
    margin-top: 1px;
}

.mt-8px {
    margin-top: 8px;
}

#search-history-container {
    width: calc(80% + 42px);
    left: 2px;
}

#container-main > .text-center > .spinner-border {
    margin-top: 275px !important;
    /*
    width: 4rem !important;
    height: 4rem !important;
     */
}

.mt-15px {
    margin-top: 18px;
}

.btn-md--1 {
    padding: .3rem 1rem;
    font-size: 0.8rem;
    /*border-radius: 0.6rem;*/
}

@keyframes rotating {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinner-colored {
    border: 4px solid transparent;
    border-top-color: #40667C;
    border-right-color: #40667C;
    border-bottom-color: #40667C;
    border-left-color: #DCF1FF;
    border-radius: 50%;
    animation: rotating 1s linear infinite;
}

#dropdown-container {
    overflow: visible;
}

#ordering .dropdown.bootstrap-select {
    width: 100% !important;
}

#ordering .dropdown-item .text {
    width: max-content;
}

/*
Feed
 */
.bg-feed {
    background-color: #DCF1FF;
}

.write-message-box {
    padding-left: 8px;
    padding-right: 8px;
}

.ms-2-5-rem {
    margin-left: 2.5rem !important;
}

#dynamic_carousel_menu_mobile.show {
    inset: -12px auto auto 0 !important;
}

@media (min-width: 768px) {
    .write-message-box {
        padding-left: 12px;
        padding-right: 12px;
        border-width: 0 0 1px 0;
        border-color: #D8E2EE;
        border-style: solid;
        border-bottom-width: 1px;
    }
}


.feed-width {
    max-width: 470px;
    width: 100%;
    margin: 0 auto;
}

.avatar-recently-viewed {
    position: unset !important;
}

.avatar-recently-viewed-desktop {
    height: 4rem !important;
    width: 4rem !important;
}

.heart-container {
    position: relative;
    display: inline-block;
    font-size: 20px;
}

.heart-like {
    font-size: 20px !important;
}

.heart-container img {
    width: 1em;
    height: auto;

}

.post-likes {
    font-weight: 500;
}

.post-action-count {
    font-size: 0.85rem !important;
}

.member-rating-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: inherit;
    text-decoration: none !important;
    color: inherit !important;
}

.ai-badge {
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    border-radius: 0.375rem;
    background-color: #d9f0fb;
    color: #1b74e4;
    vertical-align: middle;
}

.member-rating-badge .fa-star,
.member-rating-badge svg.svg-inline--fa,
.member-rating-badge svg {
    font-size: 0.9em;
    height: 0.9em;
    width: 0.9em;
    vertical-align: -0.1em;
}

.member-star-gold {
    color: #d4a017;
}

.heart-container img.first-heart {
    transform: scale(1);
}

.heart-container img.second-heart {
    position: absolute;
    top: 10px;
    left: 7px;
    z-index: 1;
    transform: scale(0.75);
}

#recently_viewed_string {
    position: relative;
}

.color-black {
    color: #0B1828;
}

.color-blue {
    color: #2A7BE4;
}

.color-light-blue {
    color: #659ce1;
}

.color-green {
    color: #00864E;
}

.color-red {
    color: #E63756;
}

.text-warning {
    color: #C46632 !important;
    font-weight: 600;
    font-size: 16px;
}

.alert-warning {
    background-color: #FEF0E8;
    border-color: #FEF0E8;
    padding: .75rem 1rem;
}

.alert-info-notifications {
    background-color: #f9fafd;
    border-color: #f9fafd;
    color: #000;
    padding: .75rem 1rem;
}

.color-gray-2 {
    color: #4D5969;
}

.color-gray-3 {
    color: #748194;
}

.color-gray-4 {
    color: #5D6E82;
}

.bg-light-gray {
    background: #EEF3F8;
}

.badge-xl {
    padding: .37em .8em;
}

.right-0 {
    right: 0;
}

.left-0 {
    left: 0;
}

.w-80 {
    width: 80%;
}

.recently-views-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    width: auto;
    align-items: center;
    gap: 15px;
    padding-top: 16px;
    min-height: 80px;
}

.status-icon {
    position: absolute;
    bottom: 9px;
    right: 7px;
    transform: translate(50%, 50%);
    transition: transform 0.5s ease;
}

.status-heart-container img {
    width: 1em;
    height: auto;

}

.status-heart-container img.first-heart {
    transform: scale(1);
}

.status-heart-container img.second-heart {
    position: absolute;
    top: 3px;
    left: 7px;
    z-index: 1;
    transform: scale(0.7);
}

.tab-heart-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 1.5em;
    height: 1em;
}

.tab-heart-container img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tab-heart-container img.first-heart {
    z-index: 1;
}

.tab-heart-container img.second-heart {
    top: 10px;
    left: 18px;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.7);
}

.dropup .dropup-content {
    top: auto;
    bottom: 100%;
    transform: translate3d(0, -100%, 0);
}

.post-author-name {
    font-size: 14px;
    font-weight: 500 !important;
    line-height: 21px;
    color: #0B1828;
}

.post-meta {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

.post-body-text, .no-result-text {
    font-size: 14px;
    font-weight: 400 !important;
    line-height: 21px;
    color: #0B1828;
}

/*
carousel
 */
.carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 29px;
}

.carousel-inner {
    background-color: #0a1422;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* No custom transition here — Bootstrap drives the slide via its own
       .carousel-item-start/.carousel-item-end transforms. A custom one
       fights that and stutters. */
}

/* Bootstrap keeps the active slide AND the incoming/outgoing slides
   visible during the transition. The old CSS only showed .active, so
   the next slide stayed display:none mid-slide and the dark
   .carousel-inner background flashed through as a black frame between
   pictures. Show the transitioning items too. */
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: flex;
}

.carousel-item img,
.carousel-item video,
.collaboration-item img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Fill the letterbox around a contained image with a blurred, scaled copy of
   the same image (set as the .carousel-blur-bg background) instead of the flat
   dark bar, so a set of mismatched aspect ratios looks nicer. */
.carousel-blur-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px);
    transform: scale(1.15);
    z-index: 0;
    pointer-events: none;
}

.carousel-item > img,
.carousel-item > video {
    position: relative;
    z-index: 1;
}

.carousel-indicators [data-bs-target] {
    margin-right: 2px;
    margin-left: 2px;
}

.carousel-indicators {
    bottom: -41px;
}

.carousel-indicators li {
    background-color: #6e88ab !important;
    border-radius: 50%;
    width: 8px !important;
    height: 8px !important;
    display: inline-block;
}

.carousel-indicators li.active {
    background-color: #2A7BE4 !important;
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    width: 35px;
    height: 35px;
    transform: translateY(-50%);
    background: none;
    border: none;
    outline: none;
    z-index: 20;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: block;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

@media only screen and (min-width: 767px) {
    .carousel {
        margin-bottom: 32px;
    }

    .carousel-indicators li {
        width: 11px !important;
        height: 11px !important;
    }

    .carousel-indicators {
        bottom: -45px;
    }

    .carousel-indicators [data-bs-target] {
        margin-right: 3px;
        margin-left: 3px;
    }
}


/* Custom video controllers */

.carousel-video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
    pointer-events: none;
}

.video-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.video-loading-spinner.is-visible {
    display: flex;
}

.info-panel [id^="comment_groups_container_"] {
    padding-bottom: 55px;
}

.video-loading-spinner .spinner-border {
    width: 3em;
    height: 3em;
    border-width: 0.3em;
    animation-duration: 1.4s;
}

.play-pause-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    background: transparent;
    color: white;
    font-size: 3em;
    cursor: pointer;
    z-index: 10;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5); /* background of the progress bar container */
    cursor: pointer;
}

.feed-mute-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11; /* above the play button (10) and progress bar */
}

.progress-bar {
    height: 100%;
}

.post_media_add_dropzone {
    height: 112px;
    width: 100%;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill: none; stroke: %232A7BE4; stroke-width: 4; stroke-dasharray: 12 12'/></svg>");

    input {
        height: 100%;
        opacity: 0;
    }
}


/* uploading overlay */
.upload-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    color: #fff;
    font-size: 1.5rem;
}

/* overlay message */
.upload-message {
    text-align: center;
}

.upload-progress-wrapper {
    width: 280px;
    margin: 12px auto 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.upload-progress-bar {
    height: 100%;
    width: 0;
    background: #2c7be5;
    border-radius: 6px;
    transition: width 0.2s ease;
}

.upload-progress-percent {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    color: #fff; /* text color */
    font-size: 1.5rem;
}

/* overlay message */
.overlay-message {
    text-align: center;
}

.post-card-body {
    /*
    display: flex;
    flex-direction: column;
    align-items: center;
     */
}

.mention {
    color: #2c7be5;
    font-weight: 500;
    text-decoration: none;
}
.mention:hover {
    text-decoration: none;
}
a.mention:hover {
    color: #1a68d1;
}

.mention-autocomplete {
    background-color: #ffffff;
    color: #2a2f5b;
    border: 1px solid #d8e2ef;
    border-radius: 0.375rem;
    padding: 0.25rem 0;
}
.mention-autocomplete-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #2a2f5b;
    text-decoration: none;
    cursor: pointer;
}
.mention-autocomplete-item.active,
.mention-autocomplete-item:hover {
    background-color: #eaf3ff;
    color: #2a2f5b;
    text-decoration: none;
}
.mention-autocomplete-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 0.5rem;
    object-fit: cover;
    flex-shrink: 0;
}
.mention-autocomplete-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #748194;
    color: #ffffff;
    font-weight: 600;
}
.mention-autocomplete-meta {
    flex-grow: 1;
    min-width: 0;
}
.mention-autocomplete-handle {
    font-weight: 600;
    color: #2a2f5b;
    line-height: 1.2;
}
.mention-autocomplete-name {
    font-size: 0.85em;
    color: #748194;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mention-autocomplete-empty {
    padding: 0.5rem 0.75rem;
    color: #748194;
    font-style: italic;
}

.media-item-draft {
    bottom: -13px;
    right: 42px;
    transform: translate(50%, -50%);
    font-size: 0.6em;
    padding: 0.25em 0.4em;
}

.lh-1 {
    line-height: 1;
}

#post_box {
    height: 128px;
    min-height: 0;
    overflow-y: auto;
    resize: vertical;
    transition: height 0.3s;
    padding: 1.5rem 1rem;
}

.h-56 {
    height: 56px !important;
}

@media only screen and (max-width: 767px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

#clear_location:hover {
    cursor: pointer;
}

#recent_views_header {
    background-color: rgb(237 242 249) !important;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.post-edit-header {
    padding: 6px 0;
}

/*
End of Feed
 */

/*

 */
.bg-success-subtle {
    background-color: #d9f8eb !important;
}

.bg-danger-subtle {
    background-color: #fbdbe1 !important;
}

/* Link Preview */
.link-preview {
    padding: 8px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f9f9f9;
}

.link-preview-image-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.link-preview img.preview-image-small {
    max-width: 100px;
    margin-right: 10px;
    border-radius: 8px;
}

.link-preview-content {
    flex: 1;
    text-align: left;
    width: 100%;
}

.link-preview-content h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.link-preview img.preview-image-small {
    max-width: 100px;
    margin-right: 10px;
    border-radius: 8px;
}

.link-preview img.preview-image {
    max-width: 100%;
    border-radius: 8px;
}

.link-preview-img {
    padding: 8px;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: normal;
    background-color: #f9f9f9;
}

.link-preview-img img.preview-image-small {
    max-width: 100px;
    margin-right: 10px;
}

.link-preview-img img.preview-image {
    max-width: 100%;
}

.link-preview-content {
    text-align: left;
}

.link-preview-content h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.link-preview-footer {
    text-align: left;
    margin-top: 10px;
    width: 100%;
}

.link-preview-footer p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.link-preview-footer a {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.link-preview-footer a:hover {
    text-decoration: underline;
}

/* Holds the top-bar icons at their resting grey on hover, against the generic
   `a:hover` that would otherwise turn them Falcon blue.

   `#navbarTopCart` is on the selector rather than wearing
   `notification-indicator-danger` itself: that class is the red-dot mechanism,
   and the cart has no dot — it carries its own blue count badge. It was the one
   icon in the row without this rule, so it was the one icon that went blue under
   the pointer. */
a.notification-indicator-danger:hover,
a#navbarTopCart:hover {
    color: #748194;
}

.preview-image {
    width: 100%;
}

.link-preview-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 3px;
}

.favicon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.site-name {
    font-size: 14px;
    color: #666;
    overflow-wrap: anywhere;
}

.generating-preview {
    display: inline-flex;
    align-items: center;
    color: #0b57d0;
    flex-direction: row-reverse;
}

.spinner-preview {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin-right: 3px;
    animation: spin 1s linear infinite;
    margin-left: 3px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* End of Link Preview */

.search-input-group-inline .input-group-text {
    background-color: #EEF3F8;
    border: 1px solid #ced4da;
    border-right: none;
    padding: 0.58rem 0.8rem 0.57rem 1rem;
    display: flex;
    align-items: center;
}

.no-right-border {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none !important;
}

.no-left-border {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none !important;
}

.search-form-right-side-button {
    margin-right: -14px;
    margin-left: 9px;
}

.search-input-group .form-control {
    border-left: none;
    flex-grow: 1;
    width: auto; /* Ensure the input does not take full width */
}

.clean-icon-button {
    right: 9px;
    top: 53%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    z-index: 1;
    display: inline-block;
    vertical-align: middle;
}

.clean-location-icon-button {
    position: absolute;
    right: 9px;
    top: 20px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
    z-index: 1;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-form-options {
    display: flex;
    min-width: 73px;
    justify-content: end;
}

.search-field {
    background-color: #EEF3F8;
    border: 1px solid #ced4da;
    border-left: none;
    box-shadow: none !important;
    padding-left: 3px;
    flex-grow: 1;
    width: auto;
}

/* For most modern browsers */
.search-field::placeholder {
    color: #748194;
    opacity: 1;
    font-size: 14px;
}

/* For Internet Explorer */
.search-field:-ms-input-placeholder {
    color: #748194;
    font-size: 14px;
}

/* For Microsoft Edge */
.search-field::-ms-input-placeholder {
    color: #748194;
    font-size: 14px;
}

/* Sorting on matches page*/
.icon-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 5px; /* Adjust spacing as needed */
}

/* End of sorting on matches page*/

.avatar-44 {
    height: 2.75rem;
    width: 2.75rem;
}

.avatar-48 {
    height: 3rem !important;
    width: 3rem !important;
}

.avatar-64 {
    height: 4rem !important;
    width: 4rem !important;
}

.avatar-3xl {
    height: 3.75rem;
    width: 3.75rem;
}

#match_group_tabs .nav-link {
    font-weight: 500 !important;
    padding: .5rem .75rem;
}

#match_group_tabs .badge-soft-dark {
    background-color: #EEF0F2;
    margin-left: 5px;
}

.match-group-square {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
}

#match_group_tabs_wrapper, .recently-views-container, #profile-tab-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative;
}

#match_group_tabs_wrapper .nav-tabs, #profile-tab-wrapper .nav-tabs {
    display: inline-flex;
    min-width: 100%;
    border-bottom: 1px solid var(--falcon-border-color);
    position: relative;
}

/* No second line here (2026-11-16): the row's own border is the line. An
   ::after drawn at bottom: 0 sat on top of that border, a pixel above it, and
   showed through the active tab's red underline as a pale stripe. */

/* The active tab's look is the member-app rule (`.member-ui .nav-tabs`) further
   down; these rows only add their scrolling. */


#match_group_tabs_wrapper::-webkit-scrollbar, #profile-tab-wrapper::-webkit-scrollbar {
    display: none;
}

/* Full-bleed the tab underline on the Discover / Connections cards so the blue
   active strip and the gray bottom line reach the card edges like the feed. The
   wrapper inherits a 1rem gutter inset from its .row parent; zeroing it lets the
   nav-tabs border start at the left edge, while the wrapper overflow-x clips the
   right at the card edge. Tab labels keep their own .nav-link padding, so they
   stay readable. The row separators (.divider) already full-bleed via their own
   negative margins, so they need no override here. */
#client_connections_card #match_group_tabs_wrapper,
#client_suggestions_card #match_group_tabs_wrapper {
    padding-left: 0;
    padding-right: 0;
}

/* Collabs keeps its tabs inside a p-3 card body, so the row is pulled out by that
   padding instead, to reach the card edges the same way. */
#collaborations_card #match_group_tabs_wrapper,
#collaborations_card #collab_tabs_wrapper {
    width: calc(100% + 2rem);
    max-width: none; /* .row > * caps it at 100% */
    margin-left: -1rem;
    margin-right: -1rem;
}

#match_group_tabs, #profile-tab {
    display: flex; /* Use inline-flex to prevent wrapping */
    flex-wrap: nowrap;
    gap: 0;
}

#match_group_tabs .nav-item, #profile-tab .nav-item {
    flex-shrink: 0; /* Prevent items from shrinking */
}


.inline-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative;
}

.inline-tabs-wrapper .nav-tabs {
    display: inline-flex;
    min-width: 100%;
    border-bottom: 1px solid var(--falcon-border-color);
    position: relative;
}

/* No second line here (2026-11-16): the row's own border is the line. An
   ::after drawn at bottom: 0 sat on top of that border, a pixel above it, and
   showed through the active tab's red underline as a pale stripe. */

/* The active tab's look is the member-app rule (`.member-ui .nav-tabs`). */


.inline-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.inline-tabs-wrapper.can-scroll-right {
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, black calc(100% - 32px), transparent);
}

.inline-tabs-wrapper.can-scroll-left {
    -webkit-mask-image: linear-gradient(to left, black calc(100% - 32px), transparent);
    mask-image: linear-gradient(to left, black calc(100% - 32px), transparent);
}

.inline-tabs-wrapper.can-scroll-left.can-scroll-right {
    -webkit-mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
    mask-image: linear-gradient(to right, transparent, black 32px, black calc(100% - 32px), transparent);
}

.inline-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
}

.inline-tabs .nav-item,
#profile-tab-wrapper .nav-item {
    /* Fill the row evenly when the tabs fit (e.g. a profile with no Collab
       tab), but keep natural widths and scroll when they overflow (5+ tabs).
       flex-grow only acts on free space, so the overflow/scroll case is
       unaffected. */
    flex: 1 0 auto;
}

.inline-tabs .nav-link {
    font-weight: 500 !important;
    padding: .5rem .75rem;
    text-align: center;
}

.inline-tabs .badge-soft-dark {
    background-color: #EEF0F2;
    margin-left: 5px;
}

/* Live Collabs tab rows: soft border + a subtle hover lift on the clickable
   (member info panel) variant. */
.live-collab-row {
    border-color: #E3E6ED;
    transition: background-color .12s ease, border-color .12s ease;
}

.live-collab-row.cursor-pointer:hover {
    background-color: #F9FAFD;
    border-color: #D8E2EF;
}


.single-listing-name {
    font-size: 14px;
    color: #0B1828;
    font-weight: 500;
}

.report-broken-link {
    opacity: 0.4;
}

.report-broken-link:hover {
    opacity: 1;
}

#id_fullname.search-field {
    max-width: 100%;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.badge-link .badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.badge-certified {
    background-color: #8dc1de;
    border-color: #8dc1de;
    color: #fff;
}

.certified-sign-wrapper {
    position: absolute;
    bottom: -5px;
    right: 53%;
    transform: translateX(122%);
}

#social_urls_section .jform {
    min-height: 40px;
}

.social-logo {
    width: 20px;
    height: 20px;
}

.social-youtube-logo {
    width: 20px;
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    min-height: 96px;
    padding: 0.5rem 0;
}

.social-numbers {
    display: flex;
    gap: 1rem;
}

.divider {
    width: calc(100% + 2.5rem);
    height: 2px;
    background-color: #EEF3F8;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.divider-thin {
    width: calc(100% + 2.5rem);
    height: 1px;
    background-color: #EEF3F8;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
}

.item-listing-row {
    padding-top: 8px;
    padding-bottom: 8px;
}

@media (max-width: 767px) {
    .item-listing-row {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .single-listing-name {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Truncate the name text itself (not the whole line) so the rating badge stays
       visible after a long name and the name never runs under the action button. */
    .suggestion-item .single-listing-name .listing-name {
        display: inline-block;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }

    /* Uniform width for the suggestion row action buttons (Connect / Approve /
       Sent / Connected) so they line up on one vertical edge across rows whatever
       the label. The labels are single short words, so this width also holds them
       on one line without overlapping the name. */
    .suggestion-item .btn-md--1 {
        min-width: 108px;
        /* Keep the button on one line so the spinner stays inline and the shape
           does not change while a Connect/Approve request is processing. */
        white-space: nowrap;
    }
}

.nav-tabs .nav-link {
    font-weight: 500;
}

/* ── Tabs, member app ───────────────────────────────────────────────────────
   One look for every tab row members see - Home, Collabs, Discover,
   Connections, Shop, profiles, the info panels: grey labels, the active one dark
   with a short red line under its words, on the row's thin grey baseline. The
   red is the logo's (the notification dot uses it too).

   Scoped to `.member-ui` (the PWA shell and the public pages) because this
   stylesheet also loads in the CRM, which keeps Falcon's own tabs.

   The line sits under the label, not across the whole cell, so in rows that
   share the width out (Home, Collabs, Buy/Sell) the link hugs its label and the
   cell centres it. The inset matches the link's side padding, set here once so
   every row has the same one. */
/* One weight of line under every tab row (Andrew, 2026-11-13): Falcon draws
   2px, so the -1px the links overlap it by left a sliver of grey under the red
   on some rows and, rounded at 125% display scaling, a gap on others. */
.member-ui .nav-tabs {
    border-bottom-width: 1px;
}

.member-ui .nav-tabs .nav-item {
    text-align: center;
}

.member-ui .nav-tabs .nav-link,
.member-ui .nav-tabs.nav-justified .nav-item .nav-link,
.member-ui .nav-tabs.nav-fill .nav-item .nav-link {
    position: relative;
    display: inline-block;
    width: auto;
    padding: .5rem .75rem;
    border: 0;
    background: transparent;
    color: var(--falcon-600);
    font-weight: 500;
}

.member-ui .nav-tabs .nav-link:hover {
    color: var(--falcon-900);
}

.member-ui .nav-tabs .nav-link.active {
    border: 0;
    background: transparent;
    color: #0B1828;
    /* !important: several rows pin their links to 500 (fw-500, .inline-tabs; #match_group_tabs below). */
    font-weight: 600 !important;
}

.member-ui #match_group_tabs .nav-link.active {
    font-weight: 600 !important;
}

.member-ui .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: 0; /* the link already overlaps the row's line (margin-bottom: -1px) */
    height: 3px;
    border-radius: 2px;
    background: #FC1535; /* the brand red, as the buttons */
    z-index: 1;
}

/* The underline sits under the label, so a link stretched to its cell (w-100 is
   !important) goes back to the label's width; the cell centres it. */
.member-ui .nav-tabs .nav-item > .nav-link.w-100 {
    width: auto !important;
}

.match-list-jform-group {
    height: 37px;
    margin-bottom: -9px;
}

.loading-spinner-lg {
    width: 2.5rem !important;
    height: 2.5rem !important;
}

.chat-contact {
    height: 4.388rem !important;
}

.fs-1-22 {
    font-size: 1.22rem !important;
}

.certified-sign {
    width: 20px !important;
}

.certified-sm {
    width: 18px !important;
}

.certified-lg {
    width: 35px !important;
}

.certified-sign-menu {
    width: 17px;
    margin-bottom: 4px;
}

.certified-modal-limit {
    width: 100px;
}

.dropdown-menu.dropdown-menu-end {
    width: max-content;
}

.fs-1-3 {
    font-size: 1.3rem !important;
}

.fs-1-5 {
    font-size: 1.5rem !important;
}

.benefit-icon {
    width: 20px;
}

.pt-3px {
    padding-top: 3px;
}

/* Subscription */
#subscription-data {
    background: #F9FAFD;
}

.benefits-cancel-desktop .list-group {
    width: 220px;
    margin: 0 auto;
}

.payment-card-img {
    width: 20px;
}

#loading-desktop {
    height: 68px;
}

.extended-hr {
    margin-left: -20px;
    margin-right: -20px;
    border: 2px solid;
}

.stepper-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stepper-progress-line {
    flex-grow: 1;
    height: 4px;
    background: #EEF3F8;
    margin: 0;
}

.stepper-active {
    background: #2A7BE4;
}

.stepper-pending {
    background: #EEF3F8;
}

.stepper-pending-border {
    border: 2px solid #2A7BE4;
}

.stepper-step {
    display: flex;
    color: #fff;
    font-size: 14px;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.subscription-next-list {
    padding-left: 20px;
}

.subscription-next-list > li::marker {
    color: #0B1828;
}

@media (min-width: 768px) {
    #benefits-list > li {
        background: #F9FAFD;
        margin-bottom: 4px;
    }
}

/* collaborations */
.collab-header-img-container {
    height: 5.35rem;
    width: 5.35rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.collab-header-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.collab-type-badge {
    background-color: #EEF0F2;
    padding: .3em .5em;
}

.collab-type-name {
    padding-left: 2px;
}

.w-20px {
    width: 20px !important;
}

.margin-x-out-1rem {
    margin-left: -1rem;
    margin-right: -1rem;
}

.border-light-1 {
    border-color: #EEF3F8 !important;
}

.creator-collab-main-info {
    width: 100%;
    height: 90px;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.55) 50%, rgba(30, 41, 59, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding-left: 16px;
    color: #FFFFFF;
}

.brand-info-title {
    min-width: 120px !important;
}

.collab_media_add_dropzone {
    height: 112px;
    width: 100%;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill: none; stroke: %23D8E2EE; stroke-width: 4; stroke-dasharray: 12 12'/></svg>");

    input {
        height: 100%;
        opacity: 0;
    }
}

.collab-info-header {
    background-color: #F9FAFD;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    height: 44px;
    display: flex;
    align-items: center;
}

#collab-draft-info-box {
    background-color: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 8px;
    align-items: flex-start !important;
}

#collab-draft-info-box .btn-close {
    margin-top: -4px;
    flex-shrink: 0;
}

#collab_stats {
    background-color: #f9fbfd !important;
    border-radius: 10px;
    margin: 0 12px 4px;
    border: 1px solid #edf1f6;
    padding: 12px !important;
}

#collab-card {
    margin-top: 0 !important;
    border-top: none;
}

#collab-card > .card-body {
    padding-top: 0;
    margin-top: -16px;
}

#collab-card-info .collab-info-header {
    margin-top: 8px !important;
}

#collab-images {
    padding-bottom: 0 !important;
    margin-bottom: -4px;
}

#collab-video {
    padding-bottom: 0 !important;
    margin-bottom: -4px;
}

.w-30 {
    width: 32% !important;
}

.w-33 {
    width: 33% !important;
}

.w-34 {
    width: 34% !important;
}

.w-27pc {
    width: 27% !important;
}

.w-40pc {
    width: 40% !important;
}

.collab-video-item {
    min-height: 100px !important;
    max-height: 250px !important;
}

.info-panel-footer-buttons {
    min-height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
}

.height-72px {
    height: 72px !important;
}

.width-72px {
    width: 72px !important;
}

.info-panel-footer-buttons .btn-primary {
    padding: .3rem .75rem .175rem .75rem !important;
}

.btn-reveal:focus {
    outline: none;
    box-shadow: none;
}

#btn_mobile_market::before {
    top: 4px;
    right: 18px;
}

#sideMenu_market::before {
    top: 14px;
    right: 188px;
}

@media (min-width: 768px) and (max-width: 1200px) {
    #sideMenu_market::before {
        top: 14px;
        right: 172px;
    }
}

.dropdown-item {
    white-space: nowrap !important;
}

/* Social CTA */
.social-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    text-decoration: none;
    font-weight: 600;

    transition: all 0.15s ease;
}

/* compact size */
.social-cta-sm {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
}

.social-cta-sm img {
    width: 18px;
    height: 18px;
}

/* Instagram */
.social-cta.instagram {
    color: #c13584;
    border: 1.5px solid #f0c4d8;
    background: #fff;
}

.social-cta.instagram:hover {
    background: #fdf1f6;
}

/* YouTube */
.social-cta.youtube {
    color: #ff0000;
    border: 1.5px solid #ffd6d6;
    background: #fff;
}

.social-cta.youtube:hover {
    background: #fff1f1;
}

.segmented {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    /* The chips sat flush against the first row of the list under them, so the
       filters read as part of the results rather than as the control above
       them. Less than the 16px they carry on top, which keeps them grouped
       with the search they belong to. */
    padding-bottom: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.segmented::-webkit-scrollbar {
    display: none;
}

.segmented-item {
    border: none;
    background: #EFEFEF;
    color: #262626;
    padding: 6px 16px;
    font-size: 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    flex: 0 0 auto;
    max-width: 100%;
    font-weight: 500;
}

.segmented-item:hover {
    background: #E2E2E2;
}

.segmented-item.active {
    background: #E7F0FF;
    color: #1B74E4;
    font-weight: 500;
}

.segmented-item:focus {
    outline: none;
    box-shadow: none;
}

/* FTS search keyword highlight */
.fts-match-keyword {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a73e8;
    background-color: #e8f0fe;
    display: inline-block;
    padding: 1px 8px;
    border-radius: 3px;
    margin-top: 2px;
}

#preview_post_form {
    padding-bottom: 55px;
}

/* ---- In-feed "Get Certified" ad card (apps/pwa/feed) ---- */
.feed-ad-cert {
    max-width: 470px;
    width: 100%;
    padding: 11px !important;
}
.feed-ad-cert__inner {
    position: relative;
    border-radius: 18px;
    padding: 22px 24px 28px;
    overflow: hidden;
    background-color: #FAFCFE;
}
.feed-ad-cert__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.feed-ad-cert__label {
    position: relative;
    z-index: 1;
    color: #7B8694;
    font-size: 13px;
    font-weight: 500;
}
.feed-ad-cert__body {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 22px;
    margin-top: 14px;
    align-items: center;
}
.feed-ad-cert__icon-col {
    flex: 0 0 132px;
    text-align: center;
}
.feed-ad-cert__badge {
    display: block;
    width: 108px;
    height: 108px;
    margin: 0 auto;
    filter: drop-shadow(0 6px 14px rgba(42, 123, 228, 0.20));
}
.feed-ad-cert__icon-label {
    margin-top: 12px;
    color: #2A7BE4;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.04em;
}
.feed-ad-cert__icon-sub {
    color: #181A1C;
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}
.feed-ad-cert__divider {
    flex: 0 0 1px;
    align-self: stretch;
    background-color: rgba(42, 123, 228, 0.18);
    margin: 6px 0;
}
.feed-ad-cert__text-col {
    flex: 1;
    min-width: 0;
}
.feed-ad-cert__headline {
    color: #181A1C;
    font-weight: 800;
    font-size: 21px;
    line-height: 1.18;
    letter-spacing: -0.01em;
}
.feed-ad-cert__cta-strong {
    display: inline-block;
    margin-top: 10px;
    color: #2A7BE4;
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
}
.feed-ad-cert__cta-strong:hover {
    text-decoration: underline;
    color: #2A7BE4;
}
.feed-ad-cert__sub {
    color: #4F5762;
    font-size: 13.5px;
    line-height: 1.4;
    margin-top: 10px;
}
.feed-ad-cert__more {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    color: #2A7BE4;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}
.feed-ad-cert__more:hover {
    text-decoration: underline;
    color: #2A7BE4;
}
@media (max-width: 480px) {
    .feed-ad-cert__inner {
        padding: 18px 18px 22px;
    }
    .feed-ad-cert__body {
        gap: 14px;
        margin-top: 10px;
    }
    .feed-ad-cert__icon-col {
        flex: 0 0 108px;
    }
    .feed-ad-cert__badge {
        width: 88px;
        height: 88px;
    }
    .feed-ad-cert__icon-label {
        font-size: 17px;
        margin-top: 10px;
    }
    .feed-ad-cert__headline {
        font-size: 17px;
    }
    .feed-ad-cert__cta-strong {
        font-size: 17px;
    }
    .feed-ad-cert__sub {
        font-size: 12.5px;
    }
    .feed-ad-cert__more {
        font-size: 14px;
    }
}

/* Skeleton placeholders shown while a list page loads (feed, matches/suggestions,
   marketplace) and by the feed pull-to-refresh. Kept global (not inline in a page
   template) so the cards are styled before that page's HTML has been injected.
   `.sk` is the shimmering grey block; the wrappers below lay them out to match
   each page so swapping skeletons for real content does not jump. */
#post_list.is-refreshing {
    transition: opacity 0.2s ease;
}

.sk {
    background: #e8ebee;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.sk::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: sk-shimmer 1.3s ease-in-out infinite;
}

@keyframes sk-shimmer {
    100% {
        transform: translateX(100%);
    }
}

.sk-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.sk-avatar-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.sk-line {
    height: 12px;
}

.sk-media {
    width: 100%;
    height: 320px;
    border-radius: 10px;
}

.sk-btn {
    width: 90px;
    height: 34px;
    border-radius: 18px;
    flex-shrink: 0;
}

.sk-thumb {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Feed post card */
.feed-skeleton {
    background: #fff;
    padding: 1rem 1rem 1.25rem;
    border-bottom: 1px solid #edf0f3;
}

/* Matches / suggestions list row */
.list-skeleton {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid #edf0f3;
}

/* Marketplace collab tile */
/* Collabs, the whole page (`AJAX.collabPageSkeleton`). The page card, title,
   tabs and search are Discover's (`.list-skeleton__*`); these are the shapes only
   the collab list has. Sizes are the real ones: the "N left" pill under the
   picture, the Claim button filling the right half of the action row, the
   brand's 72px row picture and its Create button. */
.collab-skeleton__left {
    width: 64px;
    height: 24px;
    margin: 6px auto 0;
    border-radius: 4px;
}

.collab-skeleton__actions {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 8px 8px 0 0;
}

.collab-skeleton__claim {
    width: 50%;
    height: 34px;
    border-radius: 4px;
}

.collab-skeleton__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 0;
}

.collab-skeleton__create {
    width: 82px;
    height: 29px;
    border-radius: 4px;
}

/* Shop catalogue. The page is a Falcon card holding the title, the Buy/Sell tabs
   and then the search control, the chip row, the category tiles and the product
   grid — this repeats those shapes at their own sizes and breaks where the real
   grid breaks (see `.su-lgrid` and `.su-pcard` in _shop_ui_styles.inc.html), so
   swapping it for the catalogue does not move anything on the page. */
.shop-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
}

.shop-skeleton__tabs {
    display: flex;
    gap: 1rem;
}

.shop-skeleton__tabs .sk-line {
    flex: 1;
    height: 14px;
}

.shop-skeleton__search {
    height: 38px;
    border-radius: 6px;
}

.shop-skeleton__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-skeleton__chip {
    width: 104px;
    height: 30px;
    border-radius: 999px;
}

/* By touch the real chip row is one line that scrolls; here it is clipped. */
@media (hover: none), (pointer: coarse) {
    .shop-skeleton__chips {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .shop-skeleton__chip {
        flex: 0 0 auto;
    }
}

/* Featured Brands: round logos with the name under, in a row. */
.shop-skeleton__brands {
    display: flex;
    gap: 24px;
    overflow: hidden;
}

.shop-skeleton__brand {
    flex: 0 0 auto;
    width: 72px;
}

.shop-skeleton__brandic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 6px;
}

.shop-skeleton__brand .sk-line {
    height: 10px;
    margin: 0 auto;
}

/* The tile row scrolls sideways on the real page; here it is simply clipped. */
.shop-skeleton__cats {
    display: flex;
    gap: 12px;
    overflow: hidden;
}

.shop-skeleton__cat {
    flex: 0 0 auto;
    width: 64px;
}

.shop-skeleton__catic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 6px;
}

.shop-skeleton__cat .sk-line {
    height: 10px;
    margin: 0 auto;
}

.shop-skeleton__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.shop-skeleton__card {
    display: flex;
    gap: 16px;
    padding: 14px;
    border: 1px solid #edf0f3;
    border-radius: 16px;
}

.shop-skeleton__media {
    flex: 0 0 auto;
    width: 200px;
    min-height: 200px;
    border-radius: 12px;
}

/* The pair of discount tiles inside the card. */
.shop-skeleton__offer {
    height: 64px;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .shop-skeleton__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .shop-skeleton__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .shop-skeleton__card {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .shop-skeleton__media {
        width: 100%;
        min-height: 0;
        aspect-ratio: 1/1;
    }
}

/* The top deal beside the next one, above the grid (`.su-feat`). */
.shop-skeleton__feat {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.shop-skeleton__card--hero .shop-skeleton__media {
    width: 46%;
    min-height: 280px;
}

.shop-skeleton__narrow {
    min-height: 100%;
    border-radius: 16px;
}

@media (max-width: 992px) {
    .shop-skeleton__feat {
        grid-template-columns: 1fr;
    }

    .shop-skeleton__card--hero .shop-skeleton__media {
        min-height: 0;
    }

    .shop-skeleton__narrow {
        min-height: 160px;
    }
}

@media (max-width: 576px) {
    .shop-skeleton__card--hero .shop-skeleton__media {
        width: 100%;
    }
}

/* Member profile. The card is two columns — the cover and the fields beside the
   tabbed detail, a third against two thirds — and it stacks at 768, which is
   where `#client-profile` stacks (the rule travels with j2.pwa.profile.html). */
.profile-skeleton {
    display: flex;
    background: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
}

.profile-skeleton__header {
    flex: 0 0 33.33%;
}

.profile-skeleton__body {
    flex: 0 0 66.67%;
    padding: 1rem;
}

/* A creator's cover. Brands carry a 120px band instead, and there are a few
   dozen of those against tens of thousands of creators. */
.profile-skeleton__cover {
    height: 400px;
    border-radius: 0;
}

.profile-skeleton__pad {
    padding: 1rem;
}

.profile-skeleton__row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-skeleton__label {
    flex: 0 0 71px;
}

.profile-skeleton__tabs {
    display: flex;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f3;
}

.profile-skeleton__tabs .sk-line {
    flex: 0 0 64px;
    height: 14px;
}

.profile-skeleton__section {
    margin-top: 28px;
}

@media (max-width: 768px) {
    .profile-skeleton {
        flex-direction: column;
    }

    .profile-skeleton__header,
    .profile-skeleton__body {
        flex: 0 0 100%;
    }
}

/* Somebody else's profile (j2.pwa.client_page.html): the banner card with the
   avatar hanging off it, then the detail beside the photos and videos column —
   Bootstrap `col-lg-8` / `col-lg-4`, so it stacks at 992. */
.member-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.member-skeleton__cover {
    height: 206px;
    border-radius: 0;
}

.member-skeleton__id {
    padding: 0 1.25rem 1.5rem;
}

.member-skeleton__avatar {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    margin: -84px 0 1rem;
    border: 5px solid #fff;
}

.member-skeleton__main,
.member-skeleton__aside {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
}

.member-skeleton__aside + .member-skeleton__aside {
    margin-top: 1rem;
}

/* A product. The columns and the two points they fold at are `.su-pd-grid`
   (_shop_ui_styles.inc.html): gallery, detail, and a 320 buy panel, which goes
   across the foot at 1100 and into one column at 700. */
.pdp-skeleton__back {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.pdp-skeleton__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 320px;
    gap: 24px;
    align-items: start;
}

.pdp-skeleton__gallery {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
}

/* The shipping and perk notes under the description. */
.pdp-skeleton__note {
    height: 72px;
    border-radius: 12px;
}

.pdp-skeleton__buy {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 14px;
    padding: 16px;
}

.pdp-skeleton__option {
    height: 76px;
    border-radius: 10px;
}

.pdp-skeleton__cta {
    height: 44px;
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .pdp-skeleton__grid {
        grid-template-columns: 1fr 1fr;
    }

    .pdp-skeleton__buy {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .pdp-skeleton__grid {
        grid-template-columns: 1fr;
    }
}

/* An order list. The row, the money strip over it and the state chips are
   `.su-ordrow`, `.su-pot` and `.su-actionrow` (_shop_ui_styles.inc.html); the
   strip goes to one column on a phone, where the real one does, at 576. */
.orders-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
}

.orders-skeleton__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.orders-skeleton__search {
    height: 36px;
    border-radius: 6px;
}

.orders-skeleton__chips {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.orders-skeleton__chip {
    flex: 0 0 auto;
    width: 110px;
    height: 30px;
    border-radius: 999px;
}

.orders-skeleton__strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.orders-skeleton__box {
    height: 68px;
    border-radius: 14px;
}

.orders-skeleton__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #edf0f3;
    border-radius: 14px;
}

.orders-skeleton__thumb {
    flex: 0 0 auto;
    width: 68px;
    height: 68px;
    border-radius: 12px;
}

@media (max-width: 575.98px) {
    .orders-skeleton__strip {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .orders-skeleton__box {
        height: 44px;
    }

    .orders-skeleton__row {
        gap: 10px;
        padding: 12px;
    }
}

/* The seller's list wears the same chrome loose on the page rather than inside
   one card, and each parcel is a card of its own. */
.orders-skeleton--loose {
    background: none;
    padding: 0;
}

.parcel-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.parcel-skeleton__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.parcel-skeleton__line {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
}

.parcel-skeleton__media {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border-radius: 12px;
}

.parcel-skeleton__gross {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #edf0f3;
}

.parcel-skeleton__addr {
    height: 56px;
    border-radius: 8px;
    margin: 10px 0;
}

/* The line that tells the seller what the parcel is waiting on. */
.parcel-skeleton__note {
    height: 44px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.parcel-skeleton__cta {
    height: 38px;
    width: 160px;
    border-radius: 6px;
}

/* The Sell hub: the store line over a Falcon list group, one row per place the
   seller goes. Rows are 66 high, the height `.list-group-item` comes out at with
   a title, a line under it and the icon tile beside them. */
/* The Certified page's placeholder (AJAX.certifiedSkeleton): `.cert`'s own
   columns, the hero, ten perk tiles two by two, and the offer card. On a phone
   the tiles fold away as the real list does, behind its row. */
.cert-skeleton__hero { height: 300px; border-radius: 0; }
.cert-skeleton__perks { padding: 1.5rem; }
.cert-skeleton__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cert-skeleton__tile { display: flex; gap: .75rem; padding: 1rem; border-radius: .875rem; background: var(--falcon-100, #f9fafd); }
.cert-skeleton__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: .625rem; }
.cert-skeleton__offer { padding: 1.5rem; }
.cert-skeleton__field { height: 44px; border-radius: .75rem; margin-bottom: .75rem; }
.cert-skeleton__split { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cert-skeleton__due { height: 72px; border-radius: .875rem; margin: .5rem 0 1rem; }
.cert-skeleton__btn { height: 48px; border-radius: .75rem; margin-bottom: .75rem; }
@media (max-width: 991.98px) {
    .cert-skeleton__hero { height: 220px; }
    .cert-skeleton__grid { grid-template-columns: minmax(0, 1fr); }
    .cert-skeleton__grid > :nth-child(n+2) { display: none; }
}

.sellhub-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
}

.sellhub-skeleton__store {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0 18px;
    border-bottom: 1px solid #edf0f3;
    margin-bottom: 8px;
}

.sellhub-skeleton__avatar {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.sellhub-skeleton__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f3;
}

.sellhub-skeleton__ic {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.sellhub-skeleton__help {
    height: 12px;
    margin: 18px 0 10px;
}

/* The cart. Lines and summary sit in the page's own Bootstrap columns; what is
   described here is only what is inside them — the line (`.su-cartline`: a 76
   square, 14 of padding, a rule under it) and the summary's money rows. */
.cart-skeleton__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}

.cart-skeleton__panel {
    background: #fff;
    border-radius: 0.375rem;
    padding: 1rem;
}

.cart-skeleton__line {
    display: flex;
    gap: 14px;
    /* A line with a title, a store, the quantity control and the price beside
       them comes out at 143; the pieces below do not add up to it on their own. */
    min-height: 143px;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f3;
}

.cart-skeleton__media {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    border-radius: 10px;
}

.cart-skeleton__qty {
    width: 96px;
    height: 32px;
    border-radius: 6px;
}

.cart-skeleton__money {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cart-skeleton__money--total {
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
}

.cart-skeleton__note {
    height: 56px;
    border-radius: 8px;
}

.cart-skeleton__cta {
    height: 44px;
    border-radius: 6px;
}

/* Checkout. The panels, money rows, notices and button are the cart's — the
   summary really is the same panel — so only the form is described here. */
.checkout-skeleton__field {
    margin-bottom: 1rem;
}

.checkout-skeleton__input {
    height: 36px;
    border-radius: 6px;
}

.checkout-skeleton__chips {
    display: flex;
    gap: 8px;
}

.checkout-skeleton__chip {
    width: 104px;
    height: 34px;
    border-radius: 999px;
}

/* The card field, which Stripe draws taller than our own inputs. */
.checkout-skeleton__card {
    height: 48px;
    border-radius: 6px;
}

.checkout-skeleton__trust {
    display: flex;
    gap: 10px;
}

.checkout-skeleton__trust .sk-line {
    flex: 1;
    height: 10px;
}

/* Settings: one card, a section per heading, a dashed rule between them. */
.settings-skeleton {
    background: #fff;
    border-radius: 0.375rem;
    padding: 20px;
}

.settings-skeleton__title {
    width: 110px;
    height: 20px;
    margin-bottom: 24px;
}

/* 86 from heading to heading, which is the pitch the real sections sit at. */
.settings-skeleton__section {
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed #edf0f3;
}

.settings-skeleton__section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

/* Home, the whole page: the head the page draws above its posts, and the column
   of members beside them on a wider screen. Sizes are the page's own - the 70px
   gap under the phone's app bar, 40px tabs with the 2px underline, a strip of
   48px members 63px apart, the 56px composer - so nothing moves when the page
   lands. */
.feed-skeleton__top {
    background: #fff;
}

/* The gap the page leaves under the fixed app bar on a phone. */
.feed-skeleton__bar {
    height: 70px;
}

.feed-skeleton__tabs {
    display: flex;
    height: 40px;
    border-bottom: 1px solid #edf0f3;
}

.feed-skeleton__tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feed-skeleton__tab .sk-line {
    width: 48px;
}

.feed-skeleton__composer {
    align-items: center;
    height: 89px;
    padding: 0 12px;
    border-bottom: 1px solid #edf0f3;
}

.feed-skeleton__input {
    flex: 1;
    height: 56px;
    border-radius: 6px;
}

.feed-skeleton__strip {
    display: flex;
    align-items: center;
    height: 81px;
    padding-left: 12px;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #edf0f3;
}

.feed-skeleton__chevron {
    flex-shrink: 0;
    width: 16px;
    height: 10px;
    margin-right: 12px;
}

.feed-skeleton__circle {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.feed-skeleton__side {
    background: #fff;
    padding: 8px 0;
}

.feed-skeleton__side-row {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

.feed-skeleton__side-row:first-child {
    height: 68px;
    padding-top: 12px;
}

.feed-skeleton__side-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 10px;
}

.feed-skeleton__side-row .sk-line {
    width: 55%;
}

/* Discover and Connections, the whole page: the card, its title, tabs, search
   and chips over the list. The tabs of Connections run off the edge like the
   real row, which scrolls. */
.list-skeleton__title {
    height: 20px;
    margin: 6px 0 5px;
}

.list-skeleton__tabs {
    display: flex;
    height: 41px;
    overflow: hidden;
    border-bottom: 1px solid #edf0f3;
}

.list-skeleton__tab {
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-skeleton__tab .sk-line {
    width: 60%;
    max-width: 90px;
}

/* The member-app tab: a short red line on the row's bottom edge, under the label
   (`.member-ui .nav-tabs`). */
.feed-skeleton__tab.is-active,
.list-skeleton__tab.is-active {
    position: relative;
}

.feed-skeleton__tab.is-active::after,
.list-skeleton__tab.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0; /* .list-skeleton__tabs clips anything past its bottom line */
    width: 48px;
    height: 2px;
    border-radius: 2px;
    background: #FC1535;
    transform: translateX(-50%);
}

.list-skeleton__search {
    flex: 1;
    height: 36px;
    border-radius: 4px;
}

.list-skeleton__sort {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 0 15px 0 16px;
}

.list-skeleton__chips {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.list-skeleton__chip {
    flex-shrink: 0;
    height: 33px;
    border-radius: 17px;
}

/* In the page card the rows sit on the card's own padding, like the list. */
.list-skeleton-page .list-skeleton {
    padding: 21px 0;
}

/* The map, covered until its first members are drawn. A shimmer over the whole
   area with a few round placeholders where members will stand; it fades out
   rather than cutting, which also covers the frame the markers take to paint. */
.map-frame {
    position: relative;
}

.map-loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    transition: opacity 0.25s ease;
}

.map-loading.is-done {
    opacity: 0;
    pointer-events: none;
}

.map-loading__surface {
    position: absolute;
    inset: 0;
    border-radius: 0;
}

.map-loading__pin {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d9dee3;
}

/* The map page while it is requested: the search bar over the placeholder the
   page itself opens with. Sizes are the real bar - a 36px field 8px in, and the
   filter toggle at the right. */
.map-skeleton__bar {
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0 8px;
}

.map-skeleton__search {
    flex: 1;
    height: 36px;
    margin-right: 16px;
}

.map-skeleton__sliders {
    width: 19px;
    height: 24px;
    margin-right: 8px;
}

/* The map page hides the top bar on phones; so does its placeholder, or the
   bar would sit over the search and drop away when the page arrives. */
@media (max-width: 767px) {
    body:has(.map-skeleton) .navbar-top {
        display: none;
    }
}

/* Every warning and confirm dialog in the app (SweetAlert): one size, so a
   refund question, an unfollow and a delete read alike. A compact box on a
   phone, a little wider on a desktop. Toasts keep their own shape. */
.swal2-popup:not(.swal2-toast) {
    width: 440px;
    max-width: calc(100vw - 2rem);
    padding: 1.5rem 1.5rem 1.25rem;
}
.swal2-popup:not(.swal2-toast) .swal2-icon { width: 4rem; height: 4rem; margin: .5rem auto 0; border-width: .2em; }
.swal2-popup:not(.swal2-toast) .swal2-icon .swal2-icon-content { font-size: 2.5rem; }
.swal2-popup:not(.swal2-toast) .swal2-title { font-size: 1.375rem; padding: .75rem .5rem 0; }
.swal2-popup:not(.swal2-toast) .swal2-html-container { font-size: 1rem; margin: .4rem .5rem 0; }
.swal2-popup:not(.swal2-toast) .swal2-textarea { margin: 1rem .25rem 0; height: 6rem; min-height: 6rem; font-size: .9rem; padding: .5rem .75rem; }
.swal2-popup:not(.swal2-toast) .swal2-input { margin: 1rem .25rem 0; font-size: .95rem; }
.swal2-popup:not(.swal2-toast) .swal2-actions { margin-top: 1.1rem; }
.swal2-popup:not(.swal2-toast) .swal2-styled { font-size: .925rem; padding: .55rem 1.25rem; margin: .25rem; }
.swal2-popup:not(.swal2-toast) .swal2-close { font-size: 1.75rem; }
@media (max-width: 575.98px) {
    .swal2-popup:not(.swal2-toast) { width: 360px; padding: 1.25rem 1.25rem 1rem; }
    .swal2-popup:not(.swal2-toast) .swal2-icon { width: 3.5rem; height: 3.5rem; }
    .swal2-popup:not(.swal2-toast) .swal2-icon .swal2-icon-content { font-size: 2.25rem; }
    .swal2-popup:not(.swal2-toast) .swal2-title { font-size: 1.25rem; padding-top: .6rem; }
    .swal2-popup:not(.swal2-toast) .swal2-html-container { font-size: .95rem; }
    .swal2-popup:not(.swal2-toast) .swal2-textarea { height: 5.5rem; min-height: 5.5rem; font-size: .85rem; }
    .swal2-popup:not(.swal2-toast) .swal2-styled { font-size: .875rem; padding: .5rem 1.1rem; }
}

/* ---------- Store news in the feed (feed/j2.feed_store_post.inc.html) ----------
   A post like any other, with a strip on top saying what it is. The purple is the
   feed shop carousel's, so everything from the shop reads as one family. */
.store-post__strip {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: #f1ecfd;
    color: #6c5ce7;
    font-size: .8125rem;
    font-weight: 500;
}

.dark .store-post__strip {
    background: #241f3a;
    color: #b8adf5;
}

.store-post__when {
    margin-left: auto;
    color: var(--falcon-600);
    font-weight: 400;
    white-space: nowrap;
}

.store-post__ident {
    min-width: 0;
}

/* The header is one link to the store; it reads as a post header, not a link. */
.store-post__head,
.store-post__head:hover {
    color: var(--falcon-1000, #0B1828);
}

.store-post__head .post-meta {
    color: var(--falcon-600);
}

.store-post__logo {
    object-fit: cover;
}

.store-post__product,
.store-post__product:hover {
    display: block;
    color: inherit;
    text-decoration: none;
}

.store-post__headline {
    margin-bottom: .25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--falcon-1000, #0B1828);
}

.store-post__text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .75rem;
    font-size: .875rem;
    color: var(--falcon-800);
}

/* One photo full width; two side by side; three as one large and two stacked. */
.store-post__media {
    display: grid;
    gap: 4px;
    height: 260px;
    border-radius: .75rem;
    overflow: hidden;
}

.store-post__media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    background: var(--falcon-100);
}

.store-post__media--1 { grid-template-columns: 1fr; }
.store-post__media--2 { grid-template-columns: 1fr 1fr; }
.store-post__media--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.store-post__media--3 img:first-child { grid-row: 1 / span 2; }

@media (min-width: 768px) {
    .store-post__media { height: 320px; }
}

.store-post__deal {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .75rem 0 .25rem;
    padding: .625rem .75rem;
    border-radius: .75rem;
    background: #f1ecfd;
    color: #6c5ce7;
    text-decoration: none;
}

.store-post__deal:hover {
    color: #6c5ce7;
    text-decoration: none;
}

.dark .store-post__deal {
    background: #241f3a;
    color: #b8adf5;
}

.store-post__deal-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6c5ce7;
    color: #fff;
}

.store-post__deal-title {
    display: block;
    font-weight: 700;
    font-size: .875rem;
    color: var(--falcon-1000, #0B1828);
}

.store-post__deal-sub {
    display: block;
    font-size: .75rem;
    color: var(--falcon-700);
}

/* The call to get certified: Start your free trial, Subscribe, Get Certified.
   The red of the profile builder's Next and Done (--pb-red in pwa-profile.css),
   not Bootstrap's crimson btn-danger. */
.btn-gs-red,
.btn-gs-red:focus {
    background-color: #f04848;
    border-color: #f04848;
    color: #fff;
}

.btn-gs-red:hover,
.btn-gs-red:active {
    background-color: #d93b3b;
    border-color: #d93b3b;
    color: #fff;
}

/* ---------- Certified page: the offer (j2.pwa.subscription.html, _mobile) ----------
   Two columns from 992px: the pitch and the perks, the trial beside them. One
   column under that, the offer card last. The mobile app's page is the same
   markup without the card form. */
.cert {
    --cert-red: #f04848;
    --cert-blue: #2a7be4;
    --cert-ink: var(--falcon-1000, #0b1828);
    --cert-tile: var(--falcon-100, #f9fafd);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

@media (min-width: 992px) {
    .cert {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }

    .cert__offer {
        position: sticky;
        top: 1rem;
    }
}

@media (min-width: 1300px) {
    .cert {
        grid-template-columns: minmax(0, 1fr) 400px;
    }
}

.cert__main,
.cert__offer {
    background: var(--falcon-card-bg, #fff);
    border-radius: 1rem;
    box-shadow: var(--falcon-box-shadow-sm, 0 1px 3px rgba(0, 0, 0, .06));
    overflow: hidden;
}

.cert__offer {
    padding: 1.5rem;
}

/* Hero */
/* Its own width decides the layout, not the window's: beside the offer card
   on a desktop it is as narrow as on a phone. So the wash and the clipping
   are on .cert-hero, the container, and the layout on .cert-hero__in. */
.cert-hero {
    overflow: hidden;
    container-type: inline-size;
    background:
        radial-gradient(120% 90% at 85% 0, rgba(240, 72, 72, .22) 0, rgba(240, 72, 72, 0) 60%),
        linear-gradient(135deg, #fff4f4 0, #ffe3e6 55%, #f5f8ff 100%);
}

.dark .cert-hero {
    background:
        radial-gradient(120% 90% at 85% 0, rgba(240, 72, 72, .25) 0, rgba(240, 72, 72, 0) 60%),
        linear-gradient(135deg, #2b1a1f 0, #231a22 55%, #1a2230 100%);
}

.cert-hero__in {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 260px;
    padding: 1.5rem 0 0 1.5rem;
}

.cert-hero__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    max-width: 46%;
    padding-bottom: 1.5rem;
}

.cert-hero__kicker {
    margin-bottom: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--cert-red);
}

.cert-hero__title {
    margin: 0 0 .5rem;
    font-size: clamp(1.75rem, 5.5cqi, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--cert-ink);
}

.cert-hero__sub {
    margin: 0;
    max-width: 24rem;
    font-size: clamp(.9375rem, 2.4cqi, 1.25rem);
    color: var(--falcon-700, #5e6e82);
}

/* Two profile pages on phones, the hero's full height on its right, cut by
   its bottom edge as the art is; the left edge fades into the wash. The copy
   keeps to its 46%, so the two never meet. */
.cert-hero__phones {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    max-width: 56%;
    object-fit: cover;
    object-position: left top;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
    mask-image: linear-gradient(to right, transparent 0, #000 14%);
}

/* Narrower than 600px there is no room beside the copy: the phones go under
   it, full width, cut by the bottom edge, fading in from the top. */
@container (max-width: 599.98px) {
    .cert-hero__in {
        display: block;
        min-height: 0;
        padding: 1.25rem 0 0;
    }

    .cert-hero__copy {
        max-width: none;
        padding: 0 1.25rem 1rem;
    }

    .cert-hero__title {
        font-size: clamp(1.75rem, 9cqi, 2.5rem);
    }

    .cert-hero__sub {
        font-size: .9375rem;
    }

    .cert-hero__phones {
        position: static;
        display: block;
        width: 100%;
        max-width: none;
        height: 46cqi;
        object-position: center top;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
    }
}

/* A phone has no picture (Andrew, 2026-11-16): the pitch alone on the wash,
   so the offer starts higher. The web page and the app's alike. */
@media (max-width: 767.98px) {
    .cert-hero__phones {
        display: none !important;
    }

    .cert-hero__copy {
        padding-bottom: 1.75rem;
    }

    .cert-hero__in {
        padding-top: 1.75rem;
    }
}

/* Benefits */
.cert__benefits {
    padding: 1.5rem;
}

.cert__benefits-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.cert__benefits-head img {
    width: 36px;
    height: 36px;
}

.cert__benefits-head h2 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--cert-ink);
}

.cert__benefits-note {
    margin-left: auto;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--falcon-600, #748194);
}

.cert-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: .625rem;
}

@media (min-width: 768px) {
    .cert-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.cert-benefit {
    display: flex;
    gap: .875rem;
    padding: 1rem;
    border-radius: .875rem;
    background: var(--cert-tile);
}

.cert-benefit__ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: .75rem;
    background: var(--falcon-card-bg, #fff);
    font-size: 1.25rem;
}

.cert-benefit__ic img {
    width: 24px;
    height: 24px;
}

.cert-benefit__ic--blue { color: var(--cert-blue); }
.cert-benefit__ic--red { color: var(--cert-red); }

/* The handle, eye and chat glyphs are single-colour SVGs; tint by the tile. */
.cert-benefit__ic--red img:not([src*="certified"]) {
    filter: invert(45%) sepia(75%) saturate(2800%) hue-rotate(335deg) brightness(100%) contrast(95%);
}

.cert-benefit__title {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--cert-ink);
}

.cert-benefit__text {
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--falcon-700, #5e6e82);
}

/* Offer card */

.cert-offer__kicker {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--falcon-600, #748194);
}

.cert-offer__headline {
    font-size: 2.25rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--cert-ink);
}

.cert-offer__per {
    font-size: 1rem;
    font-weight: 600;
    color: var(--falcon-700, #5e6e82);
}

.cert-offer__sub {
    margin-top: .25rem;
    font-size: 1rem;
    color: var(--falcon-700, #5e6e82);
}

.cert-offer__rule {
    margin: 1.25rem 0;
}

.cert-offer__pay-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .25rem .75rem;
    margin-bottom: .75rem;
}

.cert-offer__pay-head > .fw-600 {
    white-space: nowrap;
}

.cert-offer__secure {
    font-size: .75rem;
    color: var(--falcon-600, #748194);
}

.cert-offer__field {
    display: flex;
    align-items: center;
    gap: .625rem;
    min-height: 48px;
    padding: 0 .875rem;
    border: 1px solid var(--falcon-300, #d8e2ef);
    border-radius: .625rem;
    background: var(--falcon-input-bg, #fff);
    color: var(--falcon-600, #748194);
}

.cert-offer__field + .cert-offer__field,
.cert-offer__field + .cert-offer__split {
    margin-top: .625rem;
}

.cert-offer__field--saved {
    color: var(--cert-ink);
}

.cert-offer__el {
    flex: 1 1 auto;
    min-width: 0;
}

.cert-offer__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .625rem;
}

.cert-offer__due {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: .75rem;
    background: var(--cert-tile);
}

.cert-offer__due-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .9375rem;
    color: var(--falcon-700, #5e6e82);
}

.cert-offer__due-row--big {
    margin-bottom: .25rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cert-ink);
}

.cert-offer__cta,
.cert-offer__cta:hover,
.cert-offer__cta:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: .875rem;
    background: var(--cert-red);
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
}

.cert-offer__cta:hover {
    background: #d93b3b;
}

.cert-offer__cta:disabled {
    opacity: .8;
}

.cert-offer__legal {
    margin: 1rem 0 .75rem;
    font-size: .8125rem;
    line-height: 1.4;
    text-align: center;
    color: var(--falcon-700, #5e6e82);
}

.cert-offer__legal a {
    text-decoration: underline;
    color: inherit;
}

/* The web page's terms line: a footnote under the trust row (size from fs--2). */
.cert-offer__legal--foot {
    margin: .625rem 0 0;
    text-align: center;
    color: var(--falcon-600, #748194);
}

.cert-offer__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: .375rem;
    margin-top: .875rem;
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

/* Thin rules between the items, as Andrew's render has it (2026-11-16). The
   offer column (360-400px) cannot hold all three on one line at a size that
   reads, so Stripe takes a line of its own under the other two, centred and
   without a rule, rather than wrapping wherever the width happens to fall. */
.cert-offer__trust span {
    padding: 0 .75rem;
}

.cert-offer__trust span:nth-child(2) {
    border-left: 1px solid var(--falcon-border-color);
}

.cert-offer__trust span:nth-child(3) {
    flex-basis: 100%;
    justify-content: center;
}

/* Each on one line, its glyph beside it (Andrew, 2026-11-13): when the column
   is narrow the whole item wraps, never the words under a glyph. Font Awesome
   swaps the <i> for an <svg>, so both are named. */
.cert-offer__trust span {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    white-space: nowrap;
    line-height: 1.25;
}

.cert-offer__trust i,
.cert-offer__trust svg {
    flex: 0 0 auto;
    font-size: 1rem;
    color: var(--falcon-700, #5e6e82);
}

/* Stripe's own wordmark in its colour, in place of a card glyph. */
.cert-offer__trust .cert-offer__stripe,
.cert-offer__trust svg.fa-stripe {
    font-size: 2rem;
    height: 1em;
    margin: -.4em 0;
    color: #635bff;
}

/* The fold-away row for the perks, phones only. */
.cert__benefits-toggle {
    display: none;
    align-items: center;
    gap: .875rem;
    width: 100%;
    padding: .875rem 1rem;
    border: 0;
    border-radius: .875rem;
    background: #fdeaea;
    text-align: left;
    color: var(--cert-ink);
}

.dark .cert__benefits-toggle {
    background: rgba(240, 72, 72, .15);
}

.cert__benefits-toggle > img {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
}

.cert__benefits-toggle > .min-w-0 {
    flex: 1 1 auto;
}

.cert__benefits-toggle-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.cert__benefits-toggle-sub {
    display: block;
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

.cert__benefits-toggle > i {
    flex: 0 0 auto;
    transition: transform .2s;
}

.cert__benefits-toggle[aria-expanded="true"] > i {
    transform: rotate(180deg);
}

/* Under 992px the page is one column in the order of the phone design: hero,
   who, the folded perks, then the trial and the card. The two boxes dissolve
   (display: contents) so their children can be ordered as one list. */
@media (max-width: 991.98px) {
    .cert--fold .cert__main,
    .cert--fold .cert__offer {
        display: contents;
    }

    .cert--fold {
        gap: 0;
        background: var(--falcon-card-bg, #fff);
        border-radius: 1rem;
        overflow: hidden;
    }

    .cert--fold .cert-hero { order: 1; }
    .cert--fold .cert__benefits { order: 3; padding: 1.25rem 1rem 0; }
    .cert--fold .cert-offer__body { order: 4; padding: 1.25rem 1rem 1.5rem; }

    /* Both pages fold, the web's and the app's (since 2026-11-16). */
    .cert--fold .cert__benefits-head {
        display: none;
    }

    .cert--fold .cert__benefits-toggle {
        display: flex;
    }

    .cert--fold .cert__benefits .cert-benefits {
        display: none;
        margin-top: .625rem;
    }

    .cert--fold .cert__benefits.is-open .cert-benefits {
        display: grid;
    }

    .cert:not(.cert--fold) .cert__benefits {
        padding: 1rem;
    }

    .cert:not(.cert--fold) .cert__benefits-note {
        display: none;
    }
}

/* The mobile app's page has no card form: the button sits under the perks. */
.cert-offer__price-note {
    margin-top: .5rem;
    text-align: center;
    font-size: .8125rem;
    color: var(--falcon-700, #5e6e82);
}

@media (max-width: 767.98px) {
    #subscription-info.cert-page {
        padding-top: 69px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .cert,
    .cert__main,
    .cert__offer {
        border-radius: 0;
    }

    .cert:not(.cert--fold) .cert__offer {
        padding: 1.25rem 1rem;
    }

/* Location Deal Breaker on the profile: the label and its switch on one line.
   The switch carries Bootstrap's own top margin and line box, which WebKit
   lays out lower than Chrome does, so the row was nudged by hand and still
   sat low on iPhones. Both sides centre on the row instead. */
.deal-breaker-row .form-check {
    display: flex;
    align-items: center;
    min-height: 0;
    margin: 0;
}

.deal-breaker-row .form-check-input {
    margin-top: 0;
}
