/* 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 '-'
(30,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(34,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(35,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(39,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(50,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-bg'
(54,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(64,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand'
(69,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand-dark'
(78,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(85,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(89,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(94,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand'
(98,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(138,30): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(210,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(219,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(229,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(231,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(318,24): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand'
(343,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(356,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand'
(369,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-panel'
(370,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(371,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(378,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(385,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-accent'
(395,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(403,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-accent'
(415,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(420,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(426,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-accent'
(431,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(440,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(448,24): run-time error CSS1039: Token not allowed after unary operator: '-ld-brand'
(454,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(455,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(556,62): run-time error CSS1030: Expected identifier, found '.'
(556,66): run-time error CSS1031: Expected selector, found ')'
(556,66): run-time error CSS1025: Expected comma or open brace, found ')'
(567,62): run-time error CSS1030: Expected identifier, found '.'
(567,66): run-time error CSS1031: Expected selector, found ')'
(567,66): run-time error CSS1025: Expected comma or open brace, found ')'
(577,62): run-time error CSS1030: Expected identifier, found '.'
(577,66): run-time error CSS1031: Expected selector, found ')'
(577,66): run-time error CSS1025: Expected comma or open brace, found ')'
(614,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(632,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-panel'
(633,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(634,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(641,24): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(650,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(651,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(656,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(664,17): run-time error CSS1039: Token not allowed after unary operator: '-blue'
(673,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(674,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(720,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(730,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(735,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(745,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(750,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(773,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(774,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(815,24): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(855,28): run-time error CSS1039: Token not allowed after unary operator: '-ld-soft'
(856,34): run-time error CSS1039: Token not allowed after unary operator: '-ld-line'
(857,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-ink'
(874,17): run-time error CSS1039: Token not allowed after unary operator: '-ld-muted'
(884,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(889,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(907,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(912,25): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius-sm'
(975,34): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(975,64): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(982,38): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(982,68): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(1016,34): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
(1022,34): run-time error CSS1039: Token not allowed after unary operator: '-ld-radius'
 */
/* ==========================================================================
   Alaska5 - Listing Details page theme
   --------------------------------------------------------------------------
   Classea-inspired theme for the listing detail page, i.e.
   Views/Listing/Details.cshtml plus the Views/Listing/ListingDetail.cshtml
   partial it renders (which in turn pulls in the type specific
   Auction/Classified/FixedPrice detail and action box partials, so every
   listing type on the page is covered).

   Everything is scoped under .listing-details-page, applied to the #LID
   container rendered by Details.cshtml, so the Event/Lot detail page - which
   reuses several of the same partials - is not affected.

   The markup, sections, conditions and behaviour are all kept as they are.
   Only surfaces change: page background, white rounded cards, the brand
   palette, pill headings and button shapes. The two detail columns are
   re-laid-out with flex so the description card sits under the image card
   instead of being pushed to the right by their floats.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
.listing-details-page {
    --ld-brand: #3646c6;
    --ld-brand-dark: #2a38a8;
    --ld-accent: #f0522d;
    --ld-bg: #f9f3f2;
    --ld-ink: #1d1f2b;
    --ld-muted: #7a7d8a;
    --ld-line: #ececf0;
    --ld-soft: #f6efe6;
    --ld-panel: #fbfbfd;
    --ld-radius: 28px;
    --ld-radius-sm: 12px;
}

body {
    --ld-bg: #f9f3f2;
}

/* --------------------------------------------------------------------------
   Page shell

   The wrapper is the #LID container inside the layout container. Negative
   side margins let the page background bleed to the container edges while the
   matching padding keeps the Bootstrap .row gutters aligned as before.
   -------------------------------------------------------------------------- */
body, main {
    background-color: var(--ld-bg) !important;
}

.listing-details-page {
    color: var(--ld-ink);
    font-size: 13px;
    margin-left: -15px;
    margin-right: -15px;
    padding: 24px 15px 48px;
}

/* Links follow the brand colour. Titles and prices keep their own colours,
   declared further down with equal or higher specificity. */
.listing-details-page a {
    color: var(--ld-brand);
}

.listing-details-page a:hover,
.listing-details-page a:focus {
    color: var(--ld-brand-dark);
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.listing-details-page .breadcrumb {
    background-color: transparent;
    border-radius: 0;
    color: var(--ld-muted);
    font-size: 12px;
    margin: 0 0 18px;
    padding: 0;
}

.listing-details-page .breadcrumb > li + li:before {
    color: var(--ld-muted);
}

.listing-details-page .breadcrumb a {
    color: var(--ld-muted);
}

.listing-details-page .breadcrumb a:hover,
.listing-details-page .breadcrumb a:focus {
    color: var(--ld-brand);
}

.listing-details-page .breadcrumb > .active {
    color: var(--ld-ink);
}

/* --------------------------------------------------------------------------
   Listing closed / status messages
   -------------------------------------------------------------------------- */
.listing-details-page .alert {    
    font-size: 16px;
}

/*.listing-details-page .awe-rt-ListingClosedMessage {
    background-color: #fff;
    border-left: 3px solid var(--ld-accent);
}*/

.listing-details-page .alert-xs {
    font-size: 12px;   
}

/* --------------------------------------------------------------------------
   Cards

   The title, gallery, action panel and description regions each become a
   white rounded card, mirroring the reference product card / detail card
   split.

   The Bootstrap columns already carry a 15px grid gutter, so each card is
   painted inside a transparent border of that width (background-clip:
   padding-box). That insets the card by the gutter without touching the grid,
   keeps every card edge aligned with the gallery box and the closed-listing
   alert, and turns the neighbouring gutters into the 30px gaps between cards.
   The radius is raised by the same 15px so the visible corner stays at
   --ld-radius.
   -------------------------------------------------------------------------- */
.listing-details-page .detail__galleryColumn,
.listing-details-page .detail__biddingColumn,
.listing-details-page .detail__detailsColumn {
    background-clip: padding-box;
    background-color: #fff;
    border: 15px solid transparent;
    border-radius: calc(var(--ld-radius) + 15px);
    padding: 24px;
}

.listing-details-page .detail__galleryColumn,
.listing-details-page .detail__detailsColumn {
    background-color: transparent;
    border-color: transparent;
    border-radius: 0;
}

/* --------------------------------------------------------------------------
   Watch row - sits above the title header row, aligned to the right
   -------------------------------------------------------------------------- */
.listing-details-page .detail__watchRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Featured / Sale tags - pinned to the left of the row, watch control stays right */
.listing-details-page .detail__watchRow__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-right: auto;
}

/* Scoped so it does not override Bootstrap's .badge elsewhere on the page */
.listing-details-page .detail__watchRow .badge {
    display: inline-block;
    padding: 6px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #f0592a;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.listing-details-page .detail__watchRow__watch {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   Title header row (inside gallery column)
   -------------------------------------------------------------------------- */

/* Title block only - watch controls moved to detail__watchRow above */
.listing-details-page .detail__headerRow {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.listing-details-page .detail__headerRow__title {
    flex: 1 1 auto;
    min-width: 0;
}

.listing-details-page h1.detail__title {
    color: var(--ld-ink);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.3px;
    line-height: 1.3;
    margin: 0 0 6px;
}

.listing-details-page h2.detail__subtitle {
    color: var(--ld-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 4px;
}

/* "Add to watch list" control renders as a soft chip. */
.listing-details-page .addOrRemoveWatchlist .btn {
    background-color: #fff;
    border: 1px solid var(--ld-line);
    border-radius: 999px;
    color: var(--ld-ink);
    font-size: 11px;
    margin-top: 0;
    padding: 7px 14px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .listing-details-page .addOrRemoveWatchlist .btn:hover,
    .listing-details-page .addOrRemoveWatchlist .btn:focus,
    .listing-details-page .addOrRemoveWatchlist .btn:active {
        background: #f1f3f9 !important;
    }

.listing-details-page .addOrRemoveWatchlist .btn::after {
    content: none !important;
    display: none !important;
}

.listing-details-page .icon__button--watchList {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    flex-shrink: 0;
    color: currentColor;
    transition: color .15s ease;
    margin-top: 0px !important;
}

/* Watched listing on details page - green eye */
.listing-details-page .addOrRemoveWatchlist[data-iswatching="True"] .icon__button--watchList,
.listing-details-page .addOrRemoveWatchlist[data-iswatching="True"] .btn:hover .icon__button--watchList,
.listing-details-page .addOrRemoveWatchlist[data-iswatching="True"] .btn:focus .icon__button--watchList {
    color: #218f23;
}

.listing-details-page .goToWatchListLink {
    display: inline-block;
    font-size: 11.8px;
    margin-top: 2px;
}

/* "View all images" link in the corner of the gallery → Button Fourth style */
.listing-details-page .detail__allImages {
    background-color: #1f2228;
    border-radius: 999px;
    bottom: 14px;
    padding: 7px 14px;
    right: 14px;
    transition: background-color .15s;
    cursor: pointer;
}

.listing-details-page .detail__allImages:hover,
.listing-details-page .detail__allImages:focus {
    background-color: #6b7280;
}

.listing-details-page .detail__allImages a,
.listing-details-page .detail__allImages a:hover,
.listing-details-page .detail__allImages a:focus {
    color: #ffffff;
    font-size: 12.8px;
    text-decoration: none;
}

/* Placeholder shown when the listing has no image. */
.listing-details-page .no-photo {
    border-radius: 10px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Photo gallery strip (inside the description card)
   -------------------------------------------------------------------------- */

.listing-details-page .detail__imageThumbnails > div {
    background-color: #fff;    
    padding: 4px;
    transition: border-color .15s;
}

.listing-details-page .detail__imageThumbnails > div:hover {
    border-color: var(--ld-brand);
}

.listing-details-page .detail__imageThumbnails img {
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Status label
   -------------------------------------------------------------------------- */
.listing-details-page .detail__status-label {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-bottom: 12px;
    /* AWE_Bootstrap3.css floats this label over the action panel; the themed
       column stacks it in the flow, above the countdown timer, and pins it to
       the top-right of the panel. flex-end follows the writing direction, so
       the RTL layout mirrors it to the left edge automatically. */
    position: static;
}

.listing-details-page .detail__status-label .label {
    background-color: #f1f2f5;
    border-radius: 999px;
    color: var(--ld-muted);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
}

.listing-details-page .detail__status-label .label-success {
    background-color: #e9f7ef;
    color: #1e7a45;
}

.listing-details-page .detail__status-label .label-info,
.listing-details-page .detail__status-label .label-primary {
    background-color: var(--ld-brand);
    color: #fff;
}

.listing-details-page .detail__status-label .label-warning {
    background-color: #fff3e0;
    color: #a35a00;
}

/* --------------------------------------------------------------------------
   Countdown timer
   -------------------------------------------------------------------------- */
.listing-details-page .detail__countdownTimer {
    background-color: var(--ld-panel);
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius-sm);
    margin-bottom: 16px;
    padding: 12px;
    text-align: center;
}

.listing-details-page .detail__countdownTimer .countdownLabel {
    color: var(--ld-muted);
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-details-page .detail__countdownTimer .countdownTime {
    color: var(--ld-accent);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.2px;
}

/* --------------------------------------------------------------------------
   Price block
   -------------------------------------------------------------------------- */
.listing-details-page .detail__priceLabels {
    color: var(--ld-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.listing-details-page .detail__price--current, .ak-price {
    color: var(--ld-accent);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.4px;
}

.listing-details-page .detail__bidsContainer,
.listing-details-page .detail__highBidder {
    font-size: 11px;
}

.listing-details-page .reserve-not-met {
    color: var(--ld-muted);
    font-size: 10px;
}

.listing-details-page .detail__minbid {
    color: var(--ld-muted);
    font-size: 11px;
    margin-top: 8px;
}

.listing-details-page .detail__minbid .awe-rt-MinimumBid {
    color: var(--ld-accent);
    font-weight: 700;
}

.listing-details-page .detail__fee {
    color: var(--ld-muted);
}

/* --------------------------------------------------------------------------
   Forms

   Bid amount / quantity fields reuse the Bootstrap input-group markup.
   -------------------------------------------------------------------------- */
.listing-details-page .form-control {
    border: 1px solid var(--ld-line);
    border-radius: 10px;
    box-shadow: none;
    font-size: 13px;
    height: 46px;
}

.listing-details-page .form-control:focus {
    border-color: var(--ld-brand);
    box-shadow: none;
}

.listing-details-page .input-group-addon {
    background-color: #fff;
    border: 1px solid var(--ld-line);
    color: var(--ld-muted);
    font-size: 12px;
}

.listing-details-page textarea.form-control {
    height: auto;
    min-height: 120px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.listing-details-page .btn {
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 20px;
    transition: background-color .15s, border-color .15s, color .15s;
}

.listing-details-page .btn-xs {
    font-size: 11px;
    padding: 6px 12px;
}

/* Primary calls to action - place bid, buy now (fixed price) → Button Primary */
.listing-details-page .btn-primary,
.listing-details-page .btn-success {
    background-color: #3a4bc7;
    border-color: #3a4bc7;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.listing-details-page .btn-primary:hover,
.listing-details-page .btn-primary:focus,
.listing-details-page .btn-primary:active,
.listing-details-page .btn-success:hover,
.listing-details-page .btn-success:focus,
.listing-details-page .btn-success:active {
    background-color: #4a63e8;
    border-color: #4a63e8;
    color: #fff;
    text-decoration: none;
}

/* Inject arrow icon after btn-success / btn-primary text */
.listing-details-page .btn-success::after,
.listing-details-page .btn-primary::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}

/* Destructive buttons keep the danger surface; without this the page-wide
   anchor colour above repaints their label, e.g. the Q&A delete link. */
.listing-details-page .btn-danger {
    color: #fff;
}

.listing-details-page .btn-danger:hover,
.listing-details-page .btn-danger:focus,
.listing-details-page .btn-danger:active {
    color: #fff;
}

/* Quick Bid (#PlaceQuickBid) → Button Third style */
.listing-details-page #PlaceQuickBid.btn-danger {
    background-color: #eb4d26;
    border-color: #eb4d26;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.listing-details-page #PlaceQuickBid.btn-danger:hover,
.listing-details-page #PlaceQuickBid.btn-danger:focus,
.listing-details-page #PlaceQuickBid.btn-danger:active {
    background-color: #f5704f;
    border-color: #f5704f;
    color: #fff;
}

.listing-details-page #PlaceQuickBid.btn-danger::after {
    content: none !important;
    display: none !important;
}

/* Secondary buttons → Button Secondary style with Arrow */
.listing-details-page .btn-default:not(.addOrRemoveWatchlist .btn) {
    background-color: #ffffff;
    border: 1px solid #3a4bc7;
    color: #3a4bc7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.listing-details-page .btn-default:not(.addOrRemoveWatchlist .btn):hover,
.listing-details-page .btn-default:not(.addOrRemoveWatchlist .btn):focus,
.listing-details-page .btn-default:not(.addOrRemoveWatchlist .btn):active {
    background-color: #f7f7fb;
    border-color: #3a4bc7;
    color: #3a4bc7;
    text-decoration: none;
}

/* Inject arrow icon after btn-default text */
.listing-details-page .btn-default:not(.addOrRemoveWatchlist .btn)::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233a4bc7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.listing-details-page .btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.listing-details-page .detail__submit-wrapper .form-group {
    margin-bottom: 12px;
}

#SubmitBid {
    color: #ffffff !important;
    background-color: #3a4bc7 !important;
    border-color: #3a4bc7 !important;
}

#SubmitBid:hover, #SubmitBid:focus, #SubmitBid:active {
    color: #fff !important;
    background-color: #4a63e8 !important;
    border-color: #4a63e8 !important;
}

/* "Or" divider between the bid form and Buy It Now. */
.listing-details-page .text-or {
    align-items: center;
    color: var(--ld-muted);
    display: flex;
    font-size: 10px;
    gap: 10px;
    letter-spacing: .08em;
    margin: 4px 0 12px;
    text-transform: uppercase;
}

.listing-details-page .text-or::before,
.listing-details-page .text-or::after {    
    content: "";
    flex: 1;
    height: 1px;
}

/* Ended / unsuccessful listing summaries. */
.listing-details-page .panel {
    background-color: var(--ld-panel);
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius-sm);
    box-shadow: none;
    margin-bottom: 16px;
}

.listing-details-page .panel .list-group-item {
    background-color: transparent;
    border-color: var(--ld-line);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Options menu (owner/admin) and contextual status
   -------------------------------------------------------------------------- */
.listing-details-page .detail__option-menu {
    background-color: #fff;
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius-sm);
    overflow: hidden;
}

.listing-details-page .detail__option-menu__link {
    color: var(--ld-muted);
    font-size: 11px;
    padding: 10px 6px;
}

.listing-details-page .detail__option-menu__link:hover,
.listing-details-page .detail__option-menu__link:focus {
    background: #f1f3f9;
    color: var(--blue);
}

.listing-details-page .detail__option-menu__label {
    font-size: 11.8px;
    text-transform: none;
}

.listing-details-page .detail__context__container .dropdown-menu {
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius-sm);
    box-shadow: 0 12px 28px rgba(29, 31, 43, .12);
    padding: 6px;
}

.btn__detail__contactuser, .btn__detail__feedback, .btn__detail__offers, .btn__detail__draft, .btn__detail__invoices, .btn__detail__checkout {
    color: #fff !important;
}

    .btn__detail__contactuser:hover, .btn__detail__contactuser:focus, .btn__detail__contactuser:active,
    .btn__detail__feedback:hover, .btn__detail__feedback:focus, .btn__detail__feedback:active,
    .btn__detail__invoices:hover, .btn__detail__invoices:focus, .btn__detail__invoices:active {
        background-color: #1e8bab !important;
    }

    .btn__detail__offers:hover, .btn__detail__offers:focus, .btn__detail__offers:active,
    .btn__detail__draft:hover, .btn__detail__draft:focus, .btn__detail__draft:active,
    .btn__detail__checkout:hover, .btn__detail__checkout:focus, .btn__detail__checkout:active {
        background-color: #0a770a !important;
    }

.btn__detail__fees svg {
    fill: #fff;
}

.btn__detail__fees {
    color: #fff !important;
    background-color: #eb4d26 !important;
}

    .btn__detail__fees:hover, .btn__detail__fees:focus, .btn__detail__fees:active {
        background-color: #e93d12 !important;
    }

/* --------------------------------------------------------------------------
   Description card
   -------------------------------------------------------------------------- */
.listing-details-page .detail__detailsColumn {
    font-size: 13px;
    line-height: 1.9;
}

/* Section headings match mockup: plain bold text, no pill background. */
.listing-details-page .detail__detailsColumn .detail__sectionHeading {
    background-color: transparent;
    border-radius: 0;
    color: var(--ld-ink);
    display: block;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.1px;
    margin: 0 0 12px;
    padding: 0;
}

.listing-details-page .detail__sectionBody.description {
    color: var(--ld-ink);
    line-height: 2;
}

.listing-details-page .detail__sectionBody.description img {
    border-radius: var(--ld-radius-sm);
    height: auto;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Side panel data (seller, payment, shipping, general info)
   -------------------------------------------------------------------------- */
.listing-details-page .detail__additionalData {
    background-color: transparent;
    color: var(--ld-ink);
    font-size: 13px;
}

.listing-details-page .detail__additionalData .detail__sectionHeading {
    color: var(--ld-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.listing-details-page .detail__additionalData .detail__section + .detail__section {
    margin-top: 1.5rem;
}

.report-abuse .btn-danger {
    padding: 8px 10px;
    border-radius: 4px;
    outline: none !important;
}

.report-abuse .btn-danger .glyphicon-flag {
    font-size: 14.8px;
}

/* Seller summary card. */
.listing-details-page .detail__section.detail__sellerInfo {
    background-color: #fff;
    border: 1px solid var(--ld-line);
    border-radius: var(--ld-radius-sm);
    padding: 10px;
}

.listing-details-page .detail__section.detail__sellerInfo .detail__sectionHeading {
    /*margin-top: 0;*/
}

/* The seller card sits in the narrow side column on tablet/desktop widths,
   where Bootstrap's .btn white-space: nowrap pushed the label (and the
   ::after arrow) outside the button outline. Let the label wrap and trim the
   horizontal padding so the button always stays inside the card. */
.listing-details-page .detail__section.detail__sellerInfo .btn {
    height: auto;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
}

/* Keep the contact icon and the injected arrow at full size when the label
   wraps onto a second line. */
.listing-details-page .detail__section.detail__sellerInfo .btn svg,
.listing-details-page .detail__section.detail__sellerInfo .btn::after {
    flex: 0 0 auto;
}

.listing-details-page .detail__user-summary {
    font-size: 12px;
}

/* Section bodies are mostly <p> and <hr>; both are neutralised so the panels
   stay flat and readable. */
.listing-details-page .detail__additionalData p {
    margin-bottom: 10px;
}

.listing-details-page .detail__additionalData hr {
    border-color: var(--ld-line);
    margin: 12px 0;
}

.listing-details-page .detail__additionalData .btn {
    font-size: 12.8px;
    padding: 9px 14px;
}

.ak-history {
    display: inline-flex;
    align-items: center;
    gap: 4px; /* replaces &nbsp; */
    line-height: 1; /* removes extra line-height offset */
}

    .ak-history svg {
        display: block; /* removes baseline alignment gap */
        flex-shrink: 0;
        position: relative;
        top: 1px;
    }

    .ak-history:hover svg {
        transform: translateX(4px);
    }

.detail__pdf {
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Custom fields
   -------------------------------------------------------------------------- */
.listing-details-page .detail__cfUnit {
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.listing-details-page .detail__cfName {
    background-color: var(--ld-soft);
    border-right: 1px solid var(--ld-line);
    color: var(--ld-ink);
    font-size: 12.8px;
    font-weight: 500;
    padding: 8px 12px;
}

.listing-details-page .detail__cfValue {
    background-color: #fff;
    font-size: 12.8px;
    padding: 8px 12px;
}

.listing-details-page .detail__custom-fields li {
    font-size: 12px;
}

.listing-details-page .detail__field-name {
    color: var(--ld-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
}

/* --------------------------------------------------------------------------
   Video, map and Q&A
   -------------------------------------------------------------------------- */
.listing-details-page .detail__video--full {
    border-radius: var(--ld-radius-sm);
    overflow: hidden;
}

.listing-details-page .mapContainer--listing {
    border-radius: var(--ld-radius-sm);
    overflow: hidden;
}

.listing-details-page .mapFrame--listing {
    border: 0;
    display: block;
    width: 100%;
}

.listing-details-page .ListingQA {
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Bottom banners ("related" strip)
   -------------------------------------------------------------------------- */
.listing-details-page .banner.bottom {
    border-radius: var(--ld-radius-sm);
    overflow: hidden;
}

.listing-details-page .banner.bottom img {
    border-radius: var(--ld-radius-sm);
    height: auto;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Two column body - gallery + info side by side, description underneath

   Replacing the float based placement with flex keeps the reference layout
   (image left, action panel right, description card below) and lets each card
   size to its own content.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .listing-details-page .detail__mainRow {
        display: grid !important;
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr) !important;
        grid-template-rows: auto 1fr !important;
        align-items: start !important;
    }

    /* Bootstrap's .row clearfix pseudo elements would otherwise become grid
       items and offset the first column. */
    .listing-details-page .detail__mainRow::before,
    .listing-details-page .detail__mainRow::after {
        display: none !important;
    }

    .listing-details-page .detail__galleryColumn {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        /* Top half of the unified left card */
        padding-bottom: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .listing-details-page .detail__detailsColumn {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        /* Bottom half of the unified left card */
        padding-top: 24px !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    .listing-details-page .detail__biddingColumn {
        grid-column: 2 !important;
        grid-row: 1 / span 2 !important;
        width: 100% !important;
        min-height: 0 !important;
    }

    /* Unified white card wrapping galleryColumn + detailsColumn */
    .listing-details-page .detail__mainRow {
        background-color: transparent;
    }
        
    .listing-details-page .detail__galleryColumn {
        background-color: #fff !important;
        border: 15px solid transparent !important;
        border-bottom: 0 !important;
        border-radius: calc(var(--ld-radius) + 15px) calc(var(--ld-radius) + 15px) 0 0 !important;
    }

    .listing-details-page .detail__detailsColumn {
        background-color: #fff !important;
        border: 15px solid transparent !important;
        border-top: 0 !important;
        border-radius: 0 0 calc(var(--ld-radius) + 15px) calc(var(--ld-radius) + 15px) !important;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .listing-details-page {
        padding-bottom: 36px;
        padding-top: 18px;
    }

    .listing-details-page .detail__biddingColumn,
    .listing-details-page .detail__detailsColumn {
        padding: 20px;
    }

    .listing-details-page .detail__watchRow {
        margin-bottom: 6px;
    }

    .listing-details-page .detail__headerRow {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
}

@media (max-width: 768px) {    
    .listing-details-page .detail__galleryColumn {
        background-color: #fff !important;
        border: 15px solid transparent !important;
        border-radius: calc(var(--ld-radius) + 15px) !important;
    }

    .listing-details-page .detail__detailsColumn {
        background-color: #fff !important;
        border: 15px solid transparent !important;
        border-radius: calc(var(--ld-radius) + 15px) !important;
    }
}

@media (max-width: 575px) {
    .listing-details-page h1.detail__title {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .listing-details-page .btn,
    .listing-details-page .detail__imageThumbnails > div {
        transition: none;
    }
}

