/* ================================================================
   SavedItems.css — Saved items / wishlist / reservations page
   All values use Momento design tokens from tokens.css
   ================================================================ */

.mud-paper:hover {
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
}

/* ── Responsive container ─────────────────────────────────── */
@media (max-width: 744px) {
    .responsive-container-UA3 {
        padding: 0px var(--space-4) 0px var(--space-4);
        max-width: 718px;
        margin: 0 auto;
    }
}

@media (min-width: 745px) {
    .responsive-container-UA3 {
        padding: 0px var(--space-4) 0px var(--space-4);
        max-width: 1080px;
        margin: 0 auto;
    }
}

/* Saved Items page only: match the reference content width (1280px).
   Scoped via .page-container so other pages that reuse the common
   .responsive-container-UA3 keep their 1080px max-width. */
@media (min-width: 745px) {
    .page-container.responsive-container-UA3 {
        max-width: 1280px;
    }
}

/* ── Action buttons wrapper ───────────────────────────────── */
@media (max-width: 744px) {
    .action-buttons-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: var(--space-1) !important;
        margin-top: var(--space-1) !important;
        width: 100% !important;
        margin-bottom: var(--space-2);
    }
}

@media (min-width: 745px) {
    .action-buttons-wrapper {
        display: flex !important;
        flex-direction: row !important;
        gap: var(--space-1) !important;
        margin-top: var(--space-1) !important;
        width: 100% !important;
        justify-content: flex-end;
        margin-bottom: var(--space-2);
    }
}

/* ── Page background ──────────────────────────────────────── */
.saved-items-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #DFEDFF 0%, #E4F0FF 50%, #F3F8FF 100%);
    padding: var(--space-2);
    padding-top: var(--space-3);
}

.page-header {
    margin-bottom: 0;
}

/* Favorite Locations page: match reference content width (1280px). Scoped via
   .favloc-container so other pages using .responsive-container-UA3 stay 1080. */
@media (min-width: 745px) {
    .favloc-container.responsive-container-UA3 {
        max-width: 1280px;
    }
}

/* ── Text content ─────────────────────────────────────────── */
.list-text-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 4px !important;
    flex: 1 1 0 !important;
    align-self: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.list-text-content.mud-stack {
    gap: 4px !important;
}

/* ── License number (Favorite Locations cards) ─────────────── */
.license-number {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    width: 100% !important;
    overflow-wrap: anywhere !important;
    color: var(--color-text-primary) !important;
    text-overflow: ellipsis !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Page title ───────────────────────────────────────────── */
.saved-items-title {
    color: var(--color-text-primary) !important;
    text-align: left !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: 28px !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: 40px !important;
    letter-spacing: -1px !important;
}

/* ── Favourite locations card ─────────────────────────────── */
.favorite-locations-card {
    display: flex;
    padding: var(--space-2) !important;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: var(--space-1);
    border-radius: var(--radius-xl) !important;
    background: var(--color-surface-default) !important;
    /* No drop shadow on the Saved page's cards (Kelly, 2026-09-30), this one and .reserved-items-card.
       Their hover rule, which only existed to keep the shadow, is gone with it. */
    box-shadow: none !important;
}

/* ── Nav cards (Favorite Locations / Wish List) ──
   These ARE buttons, as in v3.0.2 (Kelly's ruling there 2026-08-03, "These ARE buttons"; here
   2026-09-30, "Make the nav buttons actual buttons"). The app's press comes from the catch-all
   `button:where(...):active` rule in PressFeedback.css, so a non-button click target can never get
   it, and with the card itself as the button the press scales the whole card surface. Copied from
   v3.0.2: strip the UA button chrome so the card surface above renders the same. Layout still comes
   from the inner .card-header-row. */
.favorite-locations-navcard {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

/* ── Wish list items card ─────────────────────────────────── */
.wishlist-items-card {
    display: flex;
    padding: var(--space-2) !important;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: var(--space-1);
    border-radius: 32px !important;
    background: var(--color-surface-default);
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.01) !important;
    margin-bottom: var(--space-2);
}

/* ── Card header ──────────────────────────────────────────── */
.card-header-row {
    display: flex;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    width: 100%;
    gap: var(--space-1);
}

/* ── Icons ────────────────────────────────────────────────── */
.star-icon {
    color: var(--color-warning);
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "Font Awesome 6 Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 24px;
}

.heart-icon {
    color: var(--color-brand-accent);
    font-variant-numeric: lining-nums proportional-nums;
    font-family: "Font Awesome 6 Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 900;
    line-height: 24px;
}

/* ── Section title ────────────────────────────────────────── */
.section-title {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: 28px !important;
    letter-spacing: -0.5px !important;
}

/* ── View text / chevron ──────────────────────────────────── */
.view-text {
    color: var(--color-text-muted) !important;
    font-family: var(--font-body);
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: var(--text-action-md-lh) !important;
    white-space: nowrap;
}

.Arrow_icon {
    flex-shrink: 0;
    color: var(--color-brand-primary);
    text-align: center;
    font-family: "Font Awesome 6 Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
}

.chevron-icon {
    color: var(--color-brand-dark);
    text-align: center;
    font-family: "Font Awesome 6 Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: var(--fw-normal);
    line-height: normal;
    width: 16px;
    flex-shrink: 0;
}

/* ── Wishlist card ────────────────────────────────────────── */
/* Reference: a single rounded card containing every wish-list row,
   with thin dividers between rows (no per-item cards / gaps). */
.wishlist-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 10px 0px;
    border-radius: 32px;
    align-self: stretch;
    width: 100%;
    background: var(--color-surface-default);
    box-shadow: var(--elevation-sm);
}

/* Wish List page: match reference content width (1280px) + address styling.
   Scoped via .wl-container / .wishlist-card so shared classes used by other
   pages (product-details, location-icon, location-link) are unaffected. */
@media (min-width: 745px) {
    .wl-container.responsive-container-UA3 {
        max-width: 1280px;
    }
}

.wishlist-card .product-details {
    padding: 0 0 0 var(--space-1);
}

.wishlist-card .location-icon {
    font-size: 16px !important;
    margin-top: 2px;
    flex-shrink: 0;
}

.wishlist-card .location-link {
    font-size: var(--text-body-md-size) !important;
}

/* One row per wish-list item, divided by a hairline (last row has none). */
.wishlist-item-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-2);
    width: 100%;
    box-sizing: border-box;
}

.wishlist-item-row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

/* ── Reserved header ──────────────────────────────────────── */
.reserved-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-1) var(--space-2);
    width: 100%;
    margin: var(--space-1) 0px;
}

/* Divider under the "My Interest(s)" header — matches reference.
   align-self: stretch is required because .reserved-items-card is a flex
   column with align-items: flex-start (otherwise a width-less divider
   collapses to zero width and disappears). */
.interests-divider {
    align-self: stretch;
    height: 1px;
    background: var(--color-border);
    margin: 0 var(--space-2) var(--space-2);
}

.reserved-title {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: 28px !important;
}

/* ── Placeholder icon ─────────────────────────────────────── */
.placeholder-icon {
    color: var(--color-border-subtle) !important;
    font-size: 24px !important;
}

/* ── Product details ──────────────────────────────────────── */
.product-details {
    display: flex;
    margin: 0px;
    padding: 0px 10px;
    gap: var(--space-1);
    flex: 1;
    justify-content: space-between;
}

.flex_direction_cls {
    flex-direction: row;
}

@media (max-width: 768px) {
    .flex_direction_cls {
        flex-direction: column;
    }
}

/* ── Reserved items scroll ────────────────────────────────── */
.reserved-items-scroll {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: 0 var(--space-2);
}

.reserved-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 32px;
    box-sizing: border-box;
}

.reserved-items-scroll::-webkit-scrollbar { width: 6px; }
.reserved-items-scroll::-webkit-scrollbar-track { background: transparent; }
.reserved-items-scroll::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.5);
    border-radius: 3px;
}
.reserved-items-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.7);
}

/* ── Item main section ────────────────────────────────────── */
.item-main-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-1);
    width: 100%;
}

.item-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius-lg);
    background: var(--color-border);
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    flex: 1;
    min-width: 0;
}

/* ── Item name ────────────────────────────────────────────── */
.item-name {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-body) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    letter-spacing: 0.2px !important;
    text-align: left !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    margin: 0 !important;
}

.location-icon-small {
    color: var(--color-brand-primary) !important;
    font-size: 16px !important;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Item price ───────────────────────────────────────────── */
.item-price {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: 32px !important;
    text-align: left !important;
    margin: 0 !important;
}

/* ── Price row (now + was on one line, matches reference) ─── */
.item-price-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile price row lives in the details column; hidden on desktop. */
.price-inline-mobile {
    display: none;
}

/* ── Timer section ────────────────────────────────────────── */
.timer-section {
    width: auto;
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timer-icon {
    color: var(--color-brand-accent);
    font-family: "Font Awesome 6 Pro";
    font-size: 12px;
    font-style: normal;
    font-weight: var(--fw-normal);
    line-height: 18px;
    letter-spacing: 0.2px;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0;
}

.timer-text {
    color: var(--color-brand-accent) !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.2px;
}

.timer-text.mud-typography {
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Redeem code section ──────────────────────────────────── */
.redeem-code-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto;
    gap: 6px;
}

.qrcode-icon {
    color: var(--color-text-primary) !important;
    font-size: var(--text-action-md-size) !important;
    font-family: "Font Awesome 6 Pro";
    font-style: normal;
    font-weight: var(--fw-normal);
    line-height: 18px;
    letter-spacing: 0.2px;
}

.redeem-code-text {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: var(--text-action-md-lh) !important;
    flex: 1;
}

.redeem-code-text-code {
    cursor: pointer;
}

.redeem-code-number {
    font-weight: var(--fw-semibold) !important;
    text-decoration: underline;
}

.info-icon {
    color: var(--color-text-primary) !important;
    font-size: 14px !important;
}

/* ── Move-to-wishlist / cancel buttons ────────────────────── */
.move-to-wishlist-btn {
    display: flex !important;
    padding: 14px var(--space-2) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--space-1) !important;
    width: auto !important;
    height: 40px;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-brand-accent) !important;
    background: var(--color-brand-accent) !important;
    color: var(--color-surface-default) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: var(--text-action-md-lh) !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.move-to-wishlist-btn:hover {
    filter: brightness(0.94);
    box-shadow: none !important;
}

.move-to-wishlist-btn .mud-icon-root {
    color: var(--color-surface-default) !important;
    font-size: 18px !important;
}

/* Filled heart glyph inside the red "Move to Wishlist" button (matches reference). */
.move-btn-heart {
    color: var(--color-surface-default);
    font-size: 18px;
    line-height: 1;
}

.cancel-reservation-btn {
    display: flex !important;
    padding: 14px var(--space-2) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--space-1) !important;
    width: auto !important;
    height: 40px;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-brand-accent) !important;
    background: var(--color-surface-default) !important;
    color: var(--color-brand-accent) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: var(--text-action-md-lh) !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    box-shadow: none !important;
}

.cancel-reservation-btn .mud-icon-root {
    color: var(--color-brand-accent) !important;
    font-size: 20px !important;
}

.cancel-reservation-btn:hover {
    background: #FFF5F5 !important;
    box-shadow: none !important;
}

/* ── Reserved items card ──────────────────────────────────── */
.reserved-items-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
    border-radius: var(--radius-xl) !important;
    background: var(--color-surface-default);
    box-shadow: none !important;   /* no drop shadow (Kelly, 2026-09-30) */
}

/* ── Loading state ────────────────────────────────────────── */
.list-loading {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    width: 100%;
    text-align: center;
}

/* ── Page wrapper ─────────────────────────────────────────── */
.page-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-surface-info-bg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Fixed header ─────────────────────────────────────────── */
.fixed-header {
    display: flex !important;
    min-width: 1px !important;
    padding: var(--space-1) var(--space-2) !important;
    align-items: center !important;
    gap: 4px !important;
    align-self: stretch !important;
    border-radius: var(--radius-sm) !important;
    width: auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    color: var(--color-text-primary) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-semibold) !important;
    line-height: 16px !important;
    letter-spacing: 0.2px !important;
    cursor: pointer !important;
}

/* ── Fixed title ──────────────────────────────────────────── */
/* The page title on BOTH Saved pages. It lived only in WishListItems.razor's <style> block, which
   is in the DOM only while that component is rendered - so Favourite Locations could never rely on
   it and hardcoded its own inline 28px instead, which then read a size larger than Wish List on
   phones (24px there) and, being inline, also beat the tablet gutter rule below. Shared here so the
   two headers cannot drift apart again. */
.cls_pg_title {
    color: black;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1px;
}
@media (min-width: 768px) {
    .cls_pg_title {
        font-size: 28px;
    }
}

/* Favourite Locations keeps the transparent title row it always had - the page gradient shows
   through there. It only adopted .fixed-title to share that class's LAYOUT with Wish List (the
   flex row, the 16px padding and the tablet gutter); the #D8EAFF fill below is Wish List's own and
   is not part of what the two pages were asked to share. */
.favloc-container .fixed-title {
    background-color: transparent;
}

.fixed-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2);
    background-color: var(--color-surface-info-bg);
    flex-shrink: 0;
    z-index: 99;
}

/* ── Scrollable content ───────────────────────────────────── */
.scrollable-items-content {
    flex: 1;
    padding: 0 var(--space-2) var(--space-2) var(--space-2);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.scrollable-items-content::-webkit-scrollbar { width: 6px; }
.scrollable-items-content::-webkit-scrollbar-track { background: transparent; }
.scrollable-items-content::-webkit-scrollbar-thumb {
    background: rgba(136, 136, 136, 0.5);
    border-radius: 3px;
}
.scrollable-items-content::-webkit-scrollbar-thumb:hover {
    background: rgba(85, 85, 85, 0.7);
}

/* ── Card content ─────────────────────────────────────────── */
.card-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0px;
    flex: 1;
    width: 100%;
}

.product-image {
    width: 120px !important;
    height: 120px !important;
    flex-shrink: 0;
    aspect-ratio: 1/1;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-border) !important;
    background: var(--color-surface-default) !important;
    object-fit: contain;
}

/* ── Product name ─────────────────────────────────────────── */
.product-name {
    color: var(--color-text-secondary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: var(--fw-xbold) !important;
    line-height: var(--text-action-md-lh) !important;
    text-align: left !important;
    word-wrap: break-word;
    white-space: normal;
    margin: 0 !important;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
}

/* ── Location container ───────────────────────────────────── */
.location-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.location-icon {
    color: var(--color-brand-primary) !important;
    font-size: 14px !important;
}

.location-link {
    /* --color-info (#0D7DFF), not --color-brand-primary (#004FAA). The reference's .location-link
       uses the INFO blue for the store-address link on Saved / Wish List / My Interests; main had the
       darker brand navy, which reads as a different colour side by side (reported 2026-09-09).
       Every other declaration in this rule already matched the reference exactly, and :hover keeps
       --color-brand-dark in both. */
    color: var(--color-info) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

.location-link:hover {
    color: var(--color-brand-dark) !important;
}

/* ── Product price ────────────────────────────────────────── */
.product-price {
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums;
    font-family: var(--font-heading) !important;
    font-size: var(--text-heading-md-size) !important;
    font-style: normal;
    font-weight: var(--fw-bold) !important;
    line-height: var(--text-heading-md-lh) !important;
    margin: 0px 0 0 0 !important;
    text-align: left !important;
}

/* ── Reserve / remove buttons ─────────────────────────────── */
.reserve-button {
    display: flex !important;
    height: 44px !important;
    padding: var(--space-1) var(--space-2) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: var(--space-1) !important;
    align-self: stretch !important;
    border-radius: var(--radius-sm) !important;
    border: none;
    background: var(--color-brand-primary) !important;
    color: var(--color-surface-default) !important;
    text-transform: none !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: 18px !important;
    letter-spacing: 0.2px !important;
}

.remove-button {
    display: flex !important;
    padding: 0 var(--space-2) !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    align-self: stretch !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--color-brand-accent) !important;
    color: var(--color-brand-accent) !important;
    background: transparent !important;
    height: 40px !important;
    text-transform: none !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: 18px !important;
    letter-spacing: 0.2px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: box-shadow .12s ease, transform .12s cubic-bezier(.36, .07, .19, .97) !important;
}

/* Press feedback (ref PressFeedback.css .fc-btn-outlined:active) — red inset
   ring + 1% shrink on press; currentColor is the button's own brand-accent. */
.remove-button:active {
    box-shadow: inset 0 0 0 3.5px currentColor !important;
    transform: scale(0.99) !important;
    outline: none !important;
}

.remove-button .mud-button-root .mud-icon-root,
.remove-button .mud-icon-root {
    color: var(--color-brand-accent) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 28px !important;
}

/* ── Empty wishlist ───────────────────────────────────────── */
.empty-wishlist-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px var(--space-2);
    width: 100%;
}

.empty-wishlist-text {
    color: var(--color-border-subtle) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    text-align: center !important;
}

.mud_button_custom:hover {
    background-color: inherit !important;
    color: inherit !important;
}

/* ── Item info ────────────────────────────────────────────── */
.Item-info {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-1) !important;
    margin-top: var(--space-1) !important;
    width: 100% !important;
}

.price-old_s {
    font-size: 24px;
    font-style: normal;
    font-weight: var(--fw-xbold);
    line-height: 32px;
    letter-spacing: 0.2px;
    color: var(--color-text-muted);
    text-decoration: line-through;
    margin-left: var(--space-1);
    align-self: center;
}

/* ── Misc layout ──────────────────────────────────────────── */
.div_width_cls {
    width: 100%;
}

.redeem_div_cls {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: right;
    gap: var(--space-1);
}

.cls_share_btn {
    font-family: var(--font-body);
    font-size: var(--text-label-md-size);
    font-style: normal;
    font-weight: var(--fw-bold);
    line-height: var(--text-label-md-lh);
    letter-spacing: 0.2px;
}

.show_desktop { display: block; }
.show_mobile  { display: none; }
.ai_cls       { align-items: flex-end; }
.main_div_cls { width: 100%; display: flex; }
.fd_cls       { flex-direction: row; }
.order_cls    { order: 0; }

.line_cls {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    margin: 10px 0;
}

/* No trailing divider after the last interest item (matches reference). */
.reserved-item:last-child .line_cls {
    display: none;
}

@media (max-width: 768px) {
    .show_desktop { display: none; }
    .show_mobile  { display: block; }
    .ai_cls       { margin-top: 5px; align-items: center; }
    .fd_cls       { flex-direction: column; }
    .order_cls    { order: 1; }
    .price-inline-mobile { display: flex; align-items: center; gap: 4px; }
}

/* ── Old price (wishlist) ─────────────────────────────────── */
.mud-typography.price-old-wl {
    font-family: var(--font-heading) !important;
    font-size: var(--text-heading-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: var(--text-heading-md-lh) !important;
    letter-spacing: 0.2px !important;
    color: var(--color-text-muted) !important;
    text-decoration: line-through !important;
    margin-left: var(--space-1) !important;
    align-self: center !important;
}

.cls_btn_reserve_wl {
    height: 40px;
    border-radius: var(--radius-lg);
    padding: 0 var(--space-2);
}

.cls_reserve_wl {
    font-style: normal;
    font-weight: var(--fw-xbold);
    line-height: var(--text-action-md-lh);
    color: var(--color-text-primary);
}

/* ── Not interested / interest buttons ────────────────────── */
.cls_not_interest_btn {
    color: var(--color-brand-accent);
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: 18px !important;
    letter-spacing: 0.2px !important;
    outline: none !important;
}

.cls_interest_btn {
    color: var(--color-surface-default);
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: var(--fw-bold) !important;
    line-height: 18px !important;
    letter-spacing: 0.2px !important;
    outline: none !important;
}

/* ── Drawer confirm hover states ──────────────────────────── */
.drawer-yes-button:hover,
.drawer-yes-button:focus,
.drawer-yes-button::before {
    background-color: var(--color-success) !important;
    box-shadow: none !important;
}

.drawer-no-button:hover,
.drawer-no-button:focus,
.drawer-no-button::before {
    background-color: var(--color-brand-accent) !important;
    box-shadow: none !important;
}

/* ══ Confirmation popups — ported 1:1 from Reference_Project ═══════════════════
   RemoveInterestModal (Cancel Reservation / Move-Remove Wishlist) and
   InterestedPolicyModal (I'm Interested policy). Sources: reference
   ItemDetail.css (.fc-rint* / .fc-ipol*), Nav.css (.fc-iconbtn) and Sheet.css
   (.fc-sheet-handle). Presentation only — handlers, bindings and ids unchanged. */

/* Sheet drag handle (reference SheetHandle + Sheet.css) */
.fc-sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--color-border);
    margin: calc(-1 * var(--space-1)) auto var(--space-1);
    flex-shrink: 0;
}

/* Round header close (X) button (reference .fc-iconbtn) */
.fc-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-primary);
    font-size: 18px;
}
.fc-iconbtn:hover { background: var(--color-surface-subtle); }

/* Vertical rhythm inside the popup — mirrors the reference dialog's 16px insets */
.fc-rint, .fc-ipol { display: flex; flex-direction: column; gap: var(--space-2); }

/* ── Remove-interest confirm (Cancel Reservation / Move-Remove Wishlist) ── */
.fc-rint-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-1); }
.fc-rint-title { font-family: var(--font-heading); font-size: var(--text-heading-sm-size); font-weight: var(--fw-bold); color: var(--color-text-primary); }
.fc-rint-body { font-family: var(--font-body); font-size: var(--text-body-md-size); color: var(--color-text-primary); margin: 0; }
.fc-rint-actions { display: flex; gap: var(--space-1); }
.fc-rint-no { background: var(--color-brand-accent); color: var(--color-surface-default); border: none; }
.fc-rint-yes { background: transparent; color: var(--color-success); border: 2px solid var(--color-success); }

/* ── I'm-Interested policy popup ── */
.fc-ipol-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-1); }
.fc-ipol-head-title { display: flex; align-items: center; gap: 4px; min-width: 0; }
.fc-ipol-head-icon { font-size: 20px; color: var(--color-text-primary); }
.fc-ipol-title { font-family: var(--font-heading); font-size: var(--text-body-md-size); font-weight: var(--fw-bold); color: var(--color-text-primary); letter-spacing: 0.2px; }
.fc-ipol-body { display: flex; flex-direction: column; gap: var(--space-1); }
.fc-ipol-desc { font-family: var(--font-body); font-size: var(--text-body-md-size); color: var(--color-text-primary); letter-spacing: 0.2px; line-height: 24px; margin: 0; }
.fc-ipol-desc--bold { font-weight: var(--fw-bold); margin-top: var(--space-1); }
.fc-ipol-acc { display: flex; flex-direction: column; }
.fc-ipol-acc-head { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 56px; padding: 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: var(--text-body-md-size); font-weight: var(--fw-bold); color: var(--color-text-primary); letter-spacing: 0.2px; }
.fc-ipol-acc-head i { font-size: 24px; color: var(--color-text-primary); }
/* Grid-trick accordion (reference): body animates 0fr -> 1fr on open/close */
.fc-ipol-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.fc-ipol-acc-panel--open { grid-template-rows: 1fr; }
.fc-ipol-acc-panel-inner { min-height: 0; overflow: hidden; }
.fc-ipol-acc-body { font-family: var(--font-body); font-size: var(--text-body-md-size); color: var(--color-text-primary); letter-spacing: 0.2px; line-height: 24px; padding-bottom: var(--space-2); }
.fc-ipol-acc-intro { margin: 0 0 var(--space-2); }
.fc-ipol-list { margin: 0; padding-left: var(--space-3); list-style: disc; }
.fc-ipol-list li { margin-bottom: 4px; }
.fc-ipol-list li:last-child { margin-bottom: 0; }
.fc-ipol-actions { display: flex; gap: var(--space-1); }

/* Shared action buttons for both popups (reference) */
.fc-ipol-understand, .fc-ipol-cancel, .fc-rint-no, .fc-rint-yes {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1);
    height: 56px; border-radius: var(--radius-lg); font-family: var(--font-heading);
    font-size: var(--text-body-md-size); font-weight: var(--fw-bold); letter-spacing: 0.2px; cursor: pointer;
}
.fc-ipol-understand i, .fc-ipol-cancel i, .fc-rint-no i, .fc-rint-yes i { font-size: 24px; }
.fc-ipol-understand { background: var(--color-success); color: var(--color-surface-default); border: none; }
.fc-ipol-cancel { background: transparent; color: var(--color-brand-accent); border: 1px solid var(--color-brand-accent); }

/* ── KEPT FROM MAIN ──────────────────────────────────────────────
   Rules the reference project does not have. Appended after its stylesheet so they
   still win on equal specificity, exactly as they did before the import. */
/* ── List items ───────────────────────────────────────────── */
.list-items {
    display: flex;
    padding: var(--space-2) var(--space-3);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: var(--space-2) 0px;
    border-radius: 35px;
    background-color: var(--color-surface-default) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--elevation-sm) !important;
}
/* Selected row: grey background + outline applied while the store-details
   drawer is open for this row, so the user can see which store the drawer
   belongs to. Cleared automatically when the drawer closes.
   Uses outline (not border) so the row width stays identical to its
   unselected siblings — no layout shift between rows. */
/* Reference parity: there is NO persistent selected state — once the store
   popup opens, focus moves into the dialog and the card's ring goes away. So a
   card whose popup is open stays visually normal; the only ring is the :active
   press feedback below. */
.list-items.list-items-selected {
    background-color: var(--color-surface-default) !important;
}
/* Keep the soft shadow on hover (the global .mud-paper:hover would flatten it). */
.list-items:hover {
    box-shadow: var(--elevation-md) !important;
}
/* Press feedback — reference .fc-card-pressable:active: 2px brand-blue inset
   ring + slight shrink while the card is clicked. */
.list-items:active {
    box-shadow: inset 0 0 0 2px var(--color-brand-primary) !important;
    transform: scale(0.99) !important;
}
/* Reference card name uses the body font at bold (not heading x-bold). */
.list-items .location-name {
    font-family: var(--font-body) !important;
    font-weight: var(--fw-bold) !important;
}
.list-items-row {
    width: 100%;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ── Location name / address ──────────────────────────────── */
.location-name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    width: 100% !important;
    overflow: hidden !important;
    color: var(--color-text-primary) !important;
    font-variant-numeric: lining-nums proportional-nums !important;
    text-overflow: ellipsis !important;
    font-family: var(--font-heading) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-xbold) !important;
    line-height: var(--text-action-md-lh) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.location-address {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    width: 100% !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    color: var(--color-text-muted) !important;
    text-overflow: ellipsis !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.license-number {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
    width: 100% !important;
    overflow-wrap: anywhere !important;
    color: var(--color-text-primary) !important;
    text-overflow: ellipsis !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-action-md-size) !important;
    font-style: normal !important;
    font-weight: var(--fw-normal) !important;
    line-height: var(--text-action-md-lh) !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ── Star avatar ──────────────────────────────────────────── */
.star-container-span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.star-avatar {
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    padding: var(--space-1) !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    border-radius: 1000px !important;
    background: var(--color-surface-default) !important;
    box-shadow: none !important;
}
.star-icon-custom {
    color: var(--color-warning) !important;
    font-size: 24px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ── MudBlazor overrides ──────────────────────────────────── */
.list-items .mud-paper {
    box-shadow: none !important;
}
.list-items .mud-stack {
    margin: 0 !important;
}
.list-items .mud-typography {
    margin: 0 !important;
    padding: 0 !important;
}
.location-name.mud-typography,
.location-address.mud-typography {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
}
/* Keep the card shadow on hover (global .mud-paper:hover would flatten it). */
.favorite-locations-card:hover,
.reserved-items-card:hover {
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.04) !important;
}

/* ── Favourite Locations / Wish List: full-bleed Back bar, inset rows ─────────────────────────
   Both pages wrap their content in <MudContainer Fixed>, which MudBlazor caps at 600px (>=600)
   and 960px (>=960). That cap is what gives the ROWS their gutter, and it works out to the same
   126px either side on an iPad in both orientations:
       portrait  (820):  (820 - 600)/2 = 110  + the wrapper's own 16px = 126
       landscape (1180): (1180 - 960)/2 = 110 + 16                     = 126
   So the rows are left exactly as they are - that spacing is the one to keep.

   Only the Back bar should ignore the cap and span the screen. It lives inside the centred
   container, so it is pulled full-bleed: 100vw wide, shifted left by half the difference between
   the container and the viewport. Native shells only (no scrollbar there, so 100vw is exact);
   the web keeps the bar inside the container as before. */
/* ── Rows: one constant gutter, so portrait and landscape read the same ──────────────────────
   MudContainer's Fixed caps are absolute (600px >=600, 960px >=960) while the viewport is not, so
   the gutter they produce drifts with screen size - measured on this iPad: 91px in landscape
   (1110 wide) against 126px in portrait (820). Same page, visibly different inset.
   Drop the cap on tablets and set the gutter directly instead, so both orientations match.
   90px is the landscape value the design was signed off against; change this one number to
   retune both orientations together.
   >=600px only: phones never hit MudBlazor's cap (it starts at 600), so they keep their own
   16px gutter from .scrollable-items-content and are untouched. */
@media (min-width: 600px) {
    html.fc-native-shell .fc-saved-container.mud-container-fixed {
        max-width: none;
    }
    html.fc-native-shell .fc-saved-container .scrollable-items-content {
        padding-left: 90px;
        padding-right: 90px;
    }

    /* The Back row and the page title take the SAME 90px inset as the cards above, so the three line
       up in one column. Only the content is inset - the bar keeps its full-bleed white background
       (the negative margins below), which is what it is meant to do. Measured on the iPad before
       this: arrow and title at 16px while the cards sat at 90px, so the header read as shifted out
       of the content column. !important on the header because the shared `.fixed-header` rule
       declares its padding with !important; the title's does not, so specificity alone carries it.
       Horizontal only - the vertical padding of both is untouched. */
    html.fc-native-shell .fc-saved-container .fixed-header {
        padding-left: 90px !important;
        padding-right: 90px !important;
    }
    html.fc-native-shell .fc-saved-container .fixed-title {
        padding-left: 90px;
        padding-right: 90px;
    }
}

html.fc-native-shell .fc-saved-container .fixed-header {
    /* Margins only, NOT `width: 100vw`. The bar is a flex item in the container's column, where an
       explicit width fights align-items:stretch - measured on the iPad it resolved to 710px of 820.
       Leaving the width auto lets the stretched item take container + both negative margins, which
       is exactly the viewport. */
    width: auto;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
