/* Minification failed. Returning unminified contents.
(25,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(26,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(27,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(28,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(29,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(36,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(47,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-bg'
(51,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-bg'
(80,18): run-time error CSS1030: Expected identifier, found '#Status_IncludeActive'
(80,51): run-time error CSS1031: Expected selector, found ')'
(80,51): run-time error CSS1025: Expected comma or open brace, found ')'
(84,18): run-time error CSS1030: Expected identifier, found '#Status_IncludeActive'
(84,51): run-time error CSS1031: Expected selector, found ')'
(84,51): run-time error CSS1025: Expected comma or open brace, found ')'
(90,18): run-time error CSS1030: Expected identifier, found '#Status_IncludeCompleted'
(90,54): run-time error CSS1031: Expected selector, found ')'
(90,54): run-time error CSS1025: Expected comma or open brace, found ')'
(95,18): run-time error CSS1030: Expected identifier, found '#Status_IncludeCompleted'
(95,54): run-time error CSS1031: Expected selector, found ')'
(95,54): run-time error CSS1025: Expected comma or open brace, found ')'
(110,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
(111,24): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
(121,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent-dark'
(122,24): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent-dark'
(144,17): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
(149,17): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent-dark'
(158,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
(159,24): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
(177,21): run-time error CSS1039: Token not allowed after unary operator: '-ba-price'
(197,28): run-time error CSS1039: Token not allowed after unary operator: '-ba-badge'
(239,17): run-time error CSS1039: Token not allowed after unary operator: '-blue'
(245,17): run-time error CSS1039: Token not allowed after unary operator: '-ba-accent'
 */
/* ==========================================================================
   Alaska5 - Browse page theme colours
   --------------------------------------------------------------------------
   Scoped theme and sidebar overrides for Views/Listing/Browse.cshtml.

   The existing card format is deliberately left alone: card layout, thumbnail
   size, button shape, spacing and pagination markup are all untouched. Only
   four colours change, on the Browse page only:

       theme / accent   #3b45c4   buttons, links, pagination
       price            #e8472b   listing prices on both card types
       badge            #ea4c27   listing image chips and featured slider badge
       page background  #f9f4f4   behind the Browse content region

   Everything is scoped under .browse-page (applied to the results row in
   Browse.cshtml) except the featured badge, which also needs the
   .browse-featured-slider wrapper because that slider renders above the
   results row; no other page is affected, and the page background stops at
   the Browse region rather than the site header and footer.
   ========================================================================== */

:root,
body,
.browse-page {
    --ba-accent: #3b45c4;
    --ba-accent-dark: #2f38a8;
    --ba-price: #e8472b;
    --ba-bg: #f9f4f4;
    --ba-badge: #ea4c27;
}

/* The featured-listings slider renders above the .browse-page results row, so
   the badge colour variable is declared on its wrapper as well. */
.browse-page,
.browse-featured-slider {
    --ba-badge: #ea4c27;
}

/* --------------------------------------------------------------------------
   Page background

   Applied to body and main so the entire Browse page between header and footer
   carries the warm background colour edge-to-edge.
   -------------------------------------------------------------------------- */
body,
main {
    background-color: var(--ba-bg) !important;
}

.browse-page {
    background-color: var(--ba-bg);
    padding-top: 20px;
    padding-bottom: 28px;
}

/* The results toolbar is a Bootstrap .well, which defaults to the cool grey
   #f5f5f5. Left as is it reads as a second, clashing grey next to the warm
   page background, so it is set to white to match the listing cards. */
.browse-page .well.section-title {
    background-color: #fff;
}

/* --------------------------------------------------------------------------
   Accent - links

   Site wide links are #034db1. Subtitles keep their own darker colour.
   Listing titles in list view use the theme accent colour only for active
   listings. Completed listings retain their muted #555 color.
   -------------------------------------------------------------------------- */
/*.browse-page a {
    color: var(--ba-accent);
}

.browse-page a:hover,
.browse-page a:focus {
    color: var(--ba-accent-dark);
}*/

/* Active listings (Active tab): list and grid view listing title uses accent colour */
.browse-page:has(#Status_IncludeActive.btn-primary) .listing .title a {
    color: var(--ba-accent);
}

.browse-page:has(#Status_IncludeActive.btn-primary) .listing .title a:hover,
.browse-page:has(#Status_IncludeActive.btn-primary) .listing .title a:focus {
    color: var(--ba-accent-dark);
}

/* Completed listings (Completed tab): listing title must not use accent colour */
.browse-page:has(#Status_IncludeCompleted.btn-primary) .listing .title a,
.browse-page:has(#Status_IncludeCompleted.btn-primary) a{
    color: #555;
}

.browse-page:has(#Status_IncludeCompleted.btn-primary) .listing .title a:hover,
.browse-page:has(#Status_IncludeCompleted.btn-primary) .listing .title a:focus,
.browse-page:has(#Status_IncludeCompleted.btn-primary) a:hover, 
.browse-page:has(#Status_IncludeCompleted.btn-primary) a:focus {
    color: #333;
}

/* --------------------------------------------------------------------------
   Accent - buttons

   Covers the list/grid view toggle, the Active/Completed tabs and the Buy Now,
   Bid Now and Details buttons on both card types. Declared after the link rule
   above so button labels stay white on the filled accent.
   -------------------------------------------------------------------------- */
.browse-page .btn-primary {
    background-color: var(--ba-accent);
    border-color: var(--ba-accent);
    color: #fff;
}

.browse-page .btn-primary:hover,
.browse-page .btn-primary:focus,
.browse-page .btn-primary:active,
.browse-page .btn-primary.active,
.browse-page .btn-primary:active:focus,
.browse-page .open > .btn-primary.dropdown-toggle {
    background-color: var(--ba-accent-dark);
    border-color: var(--ba-accent-dark);
    color: #fff;
}

.browse-page .btn-default {
    color: #333;
}

.browse-page .btn-danger {
    color: #fff;
    background-color: #a31815;
    border-color: #8c1512;
}

/* --------------------------------------------------------------------------
   Accent - pagination

   Shape is unchanged; only the link colour and the current-page fill move to
   the accent, with the disabled state left grey.
   -------------------------------------------------------------------------- */
.browse-page .pagination > li > a,
.browse-page .pagination > li > span {
    color: var(--ba-accent);
}

.browse-page .pagination > li > a:hover,
.browse-page .pagination > li > a:focus {
    color: var(--ba-accent-dark);
}

.browse-page .pagination > .active > a,
.browse-page .pagination > .active > span,
.browse-page .pagination > .active > a:hover,
.browse-page .pagination > .active > span:hover,
.browse-page .pagination > .active > a:focus,
.browse-page .pagination > .active > span:focus {
    background-color: var(--ba-accent);
    border-color: var(--ba-accent);
    color: #fff !important;
}

.browse-page .pagination > li.disabled > a,
.browse-page .pagination > li.disabled > span {
    color: #777;
}

/* --------------------------------------------------------------------------
   Price colour

   List view prices are green and grid view prices are #009933; both move to
   the reference price red. Ended prices keep their muted grey, which needs
   restating here because these selectors are more specific.
   -------------------------------------------------------------------------- */
    .browse-page .listing .price,
    .browse-page .galleryPrice {
        color: var(--ba-price);
    }

.browse-page .listing .price.ended,
.browse-page .listing .price--ended {
    color: #999;
}

.browse-page .galleryPrice--ended {
    color: #555;
}

/* --------------------------------------------------------------------------
   Badge colour

   Both image chips on the listing cards ("Featured" and "Sale") and the badge
   on the featured-listings slider.
   -------------------------------------------------------------------------- */
.browse-page .listing-image-chip,
.browse-featured-slider .badge-featured {
    background-color: var(--ba-badge);
    color: #fff;
}

/* --------------------------------------------------------------------------
   Category and region sidebar

   Keep the existing navigation and links, but give the sidebar the white,
   rounded filter-panel treatment used by the Browse design reference.
   -------------------------------------------------------------------------- */
.browse-page .categories {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px 26px;
}

.browse-page .categories h4 {
    color: #1b1d2a;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 18px;
}

.browse-page .categories .nav-stacked {
    margin: 0;
}

.browse-page .categories .nav-stacked > li > a {
    align-items: center;
    border-radius: 6px;
    color: #333;
    display: flex;
    font-size: 13px;
    justify-content: space-between;
    line-height: 1.4;
    padding: 4px 10px;
    transition: background-color .15s ease, color .15s ease;
}

.browse-page .categories .nav-stacked > li > a:hover,
.browse-page .categories .nav-stacked > li > a:focus {
    background: #f1f3f9;
    color: var(--blue);
}

.browse-page .categories .category-badge__container .badge {
    background-color: #f1f2fb;
    border-radius: 10px;
    color: var(--ba-accent);
    font-weight: 500;
}

.browse-page .categories > .dropdown {
    margin-bottom: 0px;
}

.browse-page .categories > .dropdown > .dropdown-toggle {
    border-color: #ebe7e6;
    border-radius: 6px;
    color: #1b1d2a;
}

@media (max-width: 767px) {
    .browse-page .categories {
        padding: 20px;
    }
}
