/* Dataveli Cart — singles.css
 * Standalone storefront page bundle. Loaded only for non-index public views
 * that need their own surface styles on top of base.css, and together with
 * shop.css for richer shop-detail surfaces such as product/category/sea views.
 *
 * View grouping guide
 * -------------------
 *  Product page:        §46c product-page review/comment card backgrounds.
 *  Sea of Products:     §46d and following .sea-* canvas, sidebar, HUD, zoom,
 *                       card, particle, and stack interactions.
 *  Favourites/stacks:   .fav-* and .fav-stack-* rules following the Sea stack
 *                       section; these are the saved-stack/favourites layer.
 *  Category/product:    Route-specific category/product detail polish remains
 *                       here only when it is not shared by the main catalog.
 *  Cart/account/order:  Shared cart submodal, quick-add, order modal, and
 *                       account product-modal primitives live in base.css so
 *                       cart/account pages can stay visually intact without
 *                       loading the full catalog bundle.
 *
 * TABLE OF CONTENTS
 * -----------------
 *  §46c Product Page Review/Comment Card Backgrounds
 *  §46d Sea of Products Sidebar
 *  Unmarked Sea/Favourites continuation: .sea-*, .fav-*, .fav-stack-*
 */

/* ======================================================================= */
/*  * ▶ Start of §46c  Product Page Review/Comment Card Backgrounds        */
/* ======================================================================= */

.pp-card-bg {
    background-image:
        linear-gradient(160deg,
            rgba(246, 251, 255, 1) 0%,
            rgba(128, 128, 128, 0.8) 50%,
            rgba(0, 0, 0, 0.444) 88%,
            rgba(0, 0, 0, 0) 100%),
        var(--pp-bg-img, none);
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

/* ======================================================================= */
/*  * ◀ End of   §46c  Product Page Review/Comment Card Backgrounds        */
/* ======================================================================= */

/* ── Sea page: own scroll/overflow context ── */
body.page-sea { overflow: hidden; }
body.page-sea .site-footer { display: none !important; }
/* Double-click to zoom hint on product modal image */
body.page-sea #pm-image { cursor: zoom-in; }

/* ── Account collapsible cards ─────────────────────────────────────────── */
.account-collapsible-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}
.account-card-toggle {
    width: 2.35rem;
    min-width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    background: var(--surface-soft);
    color: var(--muted-ink);
    border: 1px solid var(--line-soft);
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.account-card-toggle:hover {
    color: var(--ink);
    border-color: var(--finland-blue-200, var(--line-soft));
    background: rgba(0, 53, 128, 0.08);
}
.account-card-toggle__icon {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.14s ease, transform 0.18s ease;
    stroke-width: 3.2;
}
.account-card-toggle[aria-expanded="false"] .account-card-toggle__icon--plus,
.account-card-toggle[aria-expanded="true"] .account-card-toggle__icon--minus {
    opacity: 1;
}
.account-card-toggle[aria-expanded="true"] .account-card-toggle__icon--minus {
    transform: translate(-50%, -50%);
}
.account-orders .js-order-row {
    cursor: pointer;
    transition: background .2s ease;
}
.account-orders .js-order-row:hover,
.account-purchased-products .js-account-purchased-product-row.is-openable:hover {
    background: var(--surface-soft);
}
.account-purchased-products .js-account-purchased-product-row.is-openable {
    cursor: pointer;
    transition: background .2s ease;
}
.account-product-stars {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-top: .15rem;
    line-height: 1;
}
.account-product-star { font-size: .78rem; }
.account-product-star--full,
.account-product-star--half { color: #f59e0b; }
.account-product-star--half { opacity: .6; }
.account-product-star--empty { color: #d1d5db; }
.account-product-stars__count {
    font-size: .68rem;
    color: var(--muted-600);
    margin-left: .2rem;
}
.account-stock-badge {
    display: inline-block;
    padding: .1rem .5rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}
.account-stock-badge--in {
    background: rgba(22,163,74,.12);
    color: #15803d;
    border: 1px solid rgba(22,163,74,.3);
}
.account-stock-badge--low {
    background: rgba(234,179,8,.12);
    color: #a16207;
    border: 1px solid rgba(234,179,8,.35);
}
.account-stock-badge--out {
    background: rgba(220,38,38,.1);
    color: #b91c1c;
    border: 1px solid rgba(220,38,38,.25);
}
.account-purchased-product-cell {
    display: flex;
    align-items: center;
    gap: .8rem;
    min-width: 15rem;
}
.account-purchased-product-cell__image,
.account-purchased-product-cell__placeholder {
    width: 3rem;
    height: 3rem;
    border-radius: 2px;
    flex: 0 0 3rem;
}
.account-purchased-product-cell__image {
    object-fit: cover;
    display: block;
}
.account-purchased-product-cell__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.32);
    font-size: 1.3rem;
}
.account-purchased-product-cell__meta {
    display: grid;
    gap: .2rem;
    min-width: 0;
}
.account-purchased-product-actions,
.account-order-actions {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem;
    justify-items: stretch;
}
.account-purchased-link,
.account-purchased-product-actions .btn,
.account-order-actions .btn:not(.account-order-actions__wide) {
    width: 8rem !important;
    min-width: 8rem !important;
    max-width: 8rem;
    min-height: 2.25rem;
    height: 2.25rem;
    padding: 0 .55rem !important;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 2px !important;
}
.account-order-actions {
    gap: .16rem;
}
.account-order-actions__wide {
    grid-column: 1 / -1;
}
.account-order-actions__row {
    display: contents;
}
.account-orders thead tr.account-orders__filters th {
    padding: .35rem .35rem .55rem;
    background: transparent;
    border-bottom: 1px solid var(--line-soft);
}
.account-orders__filter-select {
    width: 100%;
    min-width: 7.5rem;
    padding: .4rem .55rem;
    font-size: .75rem;
}
.account-ordered-products-cell {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 12rem;
}
.account-ordered-products-cell__line,
.account-ordered-products-cell__more {
    line-height: 1.35;
}
.account-ordered-products-cell__more {
    color: var(--muted-600);
    font-size: .75rem;
    font-weight: 600;
}
/* ── Page hero icon — reusable pattern for singles.css views ─────── */
.page-title-row {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.page-hero-icon {
    display: flex;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
    border: none;
    background: none;
    transition: filter .18s ease, transform .18s ease;
}
.page-hero-icon:hover {
    transform: scale(1.08);
}
.page-hero-icon--account {
    color: var(--account-accent, #003580);
    filter: drop-shadow(0 2px 8px rgba(0, 53, 128, .38));
}
.page-hero-icon--account:hover {
    filter: drop-shadow(0 3px 12px rgba(0, 53, 128, .54));
}
/* ──────────────────────────────────────────────────────────────────── */
.account-page-header {
    align-items: flex-start;
}
.account-page-back-btn {
    flex-shrink: 0;
}
.account-quickstats {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    padding: .3rem .5rem;
}
.account-quickstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .35rem 1rem;
    gap: .1rem;
    text-decoration: none;
}
.account-quickstat + .account-quickstat {
    border-left: 1px solid var(--glass-border);
}
.account-quickstat__num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.account-quickstat__lbl {
    font-size: .68rem;
    color: var(--muted-ink);
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.account-quickstat__badge,
.account-hdr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #fff;
    border-radius: 999px;
    font-size: .6rem;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    line-height: 1;
}
.account-hdr-badge {
    margin-left: .3rem;
    vertical-align: middle;
}
.account-quickstat--btn,
a.account-quickstat--link {
    cursor: pointer;
    border-radius: 6px;
    transition: background .14s;
}
button.account-quickstat--btn {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
}
.account-quickstat--btn:hover,
a.account-quickstat--link:hover {
    background: rgba(59, 130, 246, .08);
}
.account-quickstat--btn:hover .account-quickstat__num,
a.account-quickstat--link:hover .account-quickstat__num {
    color: var(--flag-blue);
}
.account-page-grid,
.account-page-grid > .grid {
    align-items: start;
}
.account-card {
    min-width: 0;
}
.account-collapsible-card {
    transition: box-shadow .18s ease, transform .18s ease;
}
.account-collapsible-card.is-collapsed {
    padding-bottom: 1.1rem;
    min-height: 8.5rem;
}
.account-collapsible-card.is-expanded {
    box-shadow: 0 16px 42px rgba(0, 53, 128, .16);
}
.account-collapsible-header {
    margin-bottom: 0 !important;
    justify-content: flex-start !important;
}
.account-collapsible-card.is-expanded .account-collapsible-header {
    margin-bottom: 1rem !important;
}
.account-collapsible-heading {
    display: inline-flex;
    align-items: flex-start;
    gap: .75rem;
    min-width: 0;
    flex: 0 1 auto;
}
.account-collapsible-title {
    min-width: 0;
}
.account-collapsible-title,
.account-collapsible-header > .flex-1 > div:first-child {
    cursor: pointer;
}
.account-collapsible-title:hover h2,
.account-collapsible-header > .flex-1 > div:first-child:hover h2 {
    color: var(--account-accent, var(--finland-blue));
}
.account-collapsible-title p,
.account-collapsible-header p {
    color: var(--muted-600);
    line-height: 1.35;
}
.account-card-body[hidden] {
    display: none !important;
}
.account-card-body {
    min-width: 0;
}
.account-header-thumbs {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 0 1 auto;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-.35rem);
    transition: max-width .3s ease, opacity .22s ease, transform .22s ease;
}
.account-collapsible-card.is-collapsed .account-header-thumbs {
    max-width: 33rem;
    opacity: 1;
    transform: translateX(0);
}
.account-header-thumb-btn {
    width: 5rem;
    height: 5rem;
    padding: 0;
    border: 1px solid rgba(0, 53, 128, .18);
    border-radius: 2px;
    background: rgba(255, 255, 255, .58);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 5rem;
    overflow: hidden;
    cursor: zoom-in;
    transition: border-color .16s ease, opacity .16s ease, transform .16s ease;
}
.account-header-thumb-btn:hover,
.account-header-thumb-btn:focus-visible {
    border-color: rgba(0, 53, 128, .42);
    opacity: .88;
    transform: translateY(-1px);
}
.account-header-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.account-header-more-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding: 0 .2rem;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: var(--account-accent, var(--finland-blue));
    font-size: 1.35rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.account-header-more-dots:hover,
.account-header-more-dots:focus-visible {
    background: var(--account-accent-soft);
    border-color: rgba(0, 53, 128, .18);
    transform: translateY(-1px);
}
.account-header-order-links {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    flex: 0 1 auto;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-.35rem);
    transition:
        max-width .3s ease,
        opacity .22s ease,
        transform .22s ease,
        visibility 0s linear .3s;
}
.account-collapsible-card.is-collapsed .account-header-order-links {
    max-width: 33rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
        max-width .3s ease,
        opacity .22s ease,
        transform .22s ease,
        visibility 0s linear 0s;
}
.account-header-order-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.75rem;
    padding: 0 .55rem;
    border: 1px solid rgba(0, 53, 128, .18);
    border-radius: 2px;
    background: rgba(255, 255, 255, .68);
    color: var(--account-accent, var(--finland-blue));
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.account-header-order-link:hover,
.account-header-order-link:focus-visible {
    background: var(--account-accent-soft);
    border-color: rgba(0, 53, 128, .34);
    color: var(--account-accent);
    transform: translateY(-1px);
}
.account-activity-fallback {
    display: grid;
    gap: .35rem;
    height: 100%;
    overflow: auto;
}
.account-activity-fallback__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .3rem .45rem;
    border: 1px solid rgba(0, 53, 128, .12);
    border-radius: 2px;
    background: rgba(255, 255, 255, .46);
    color: var(--muted-600);
    font-size: .78rem;
}
.account-activity-fallback__row strong {
    color: var(--account-accent, var(--finland-blue));
}
.account-card-header,
.account-subcard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.account-inline-form {
    flex-shrink: 0;
}
.account-autosave-form {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    min-width: 0;
}
.account-autosave-form__label {
    color: var(--ink);
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 13rem;
    text-align: right;
}
.account-autosave-switch {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-width: 6.2rem;
    min-height: 2.15rem;
    padding: .2rem .5rem;
    border: 1px solid rgba(100, 116, 139, .42);
    border-radius: 2px;
    background: rgba(100, 116, 139, .16);
    color: var(--muted-700);
    cursor: pointer;
    font-size: .74rem;
    font-weight: 900;
    line-height: 1;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.account-autosave-switch:hover,
.account-autosave-switch:focus-visible {
    background: rgba(100, 116, 139, .22);
    border-color: rgba(100, 116, 139, .62);
    color: var(--ink);
    transform: translateY(-1px);
}
.account-autosave-switch.is-active {
    background: rgba(16, 185, 129, .16);
    border-color: rgba(5, 150, 105, .58);
    color: #047857;
}
.account-autosave-switch__state {
    min-width: 1.85rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.account-autosave-switch__ui {
    position: relative;
    display: inline-flex;
    width: 2.45rem;
    height: 1.18rem;
    border: 1px solid rgba(100, 116, 139, .45);
    border-radius: 2px;
    background: rgba(100, 116, 139, .28);
    flex: 0 0 auto;
    transition: background .16s ease, border-color .16s ease;
}
.account-autosave-switch__thumb {
    position: absolute;
    top: 50%;
    left: .12rem;
    width: .82rem;
    height: .82rem;
    border-radius: 2px;
    background: #fff;
    transform: translateY(-50%);
    transition: transform .18s ease;
}
.account-autosave-switch.is-active .account-autosave-switch__ui {
    background: rgba(5, 150, 105, .74);
    border-color: rgba(5, 150, 105, .82);
}
.account-autosave-switch.is-active .account-autosave-switch__thumb {
    transform: translate(1.25rem, -50%);
}
.account-table-shell {
    min-width: 0;
    -webkit-overflow-scrolling: touch;
}
.account-table-shell--saved-carts table { min-width: 42rem; }
.account-table-shell--purchased table { min-width: 58rem; }
.account-table-shell--orders table { min-width: 76rem; }
.account-card .account-dt-top,
.account-card .account-dt-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.account-card .account-dt-top { margin-bottom: .6rem; }
.account-card .account-dt-bot {
    margin-top: .6rem;
    font-size: .75rem;
    color: var(--muted-600);
}
.account-card .account-dt-top .dt-length,
.account-card .account-dt-top .dt-search,
.account-card .account-dt-bot .dt-info,
.account-card .account-dt-bot .dt-paging {
    float: none;
    margin: 0;
}
.account-card .account-dt-top .dt-search input,
.account-card .account-dt-top .dt-length select {
    padding: .35rem .6rem;
    font-size: .78rem;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.6);
}
.account-card .account-dt-top .dt-search input {
    min-width: 12rem;
}
.account-card .dt-paging .paginate_button {
    padding: .2rem .5rem;
    border-radius: 2px;
    cursor: pointer;
    font-size: .78rem;
    transition: background .12s;
}
.account-card .dt-paging .paginate_button:hover {
    background: rgba(0,83,200,.1);
}
.account-card .dt-paging .paginate_button.current,
.account-card .dt-paging a.paginate_button.current {
    background: var(--finland-blue, #003580) !important;
    color: #fff !important;
    font-weight: 700 !important;
}
.account-card .dt-paging .paginate_button.disabled {
    opacity: .4;
    pointer-events: none;
}
.account-card .dt-buttons {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex-wrap: wrap;
}
.account-card .dt-buttons .dt-button {
    border: 1px solid rgba(0,0,0,.13);
    border-radius: 2px;
    padding: .25rem .65rem;
    font-size: .7rem;
    cursor: pointer;
    background: rgba(255,255,255,.55);
    color: var(--ink);
    transition: background .15s, border-color .15s;
    line-height: 1.4;
}
.account-card .dt-buttons .dt-button:hover {
    background: rgba(0,83,200,.08);
    border-color: rgba(0,83,200,.35);
}
.account-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .45rem 1.25rem;
    margin-bottom: .25rem;
}
.account-info-grid > div {
    min-width: 0;
}
.account-info-grid dt {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .05rem;
    opacity: .7;
}
.account-info-grid dd {
    font-size: .82rem;
    font-weight: 500;
    word-break: break-word;
    margin: 0;
}
.account-profile-actions__primary,
.account-profile-actions__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: .5rem;
}
.account-profile-actions__secondary {
    margin-bottom: .4rem;
}
.account-profile-actions__more-row {
    display: flex;
    justify-content: center;
    margin-bottom: .4rem;
}
.account-profile-btn,
.account-modal-equal-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}
.account-profile-exit-btn:hover {
    background: red !important;
}
.account-modal-equal-btn {
    flex: 1 1 0;
    min-width: 0;
}
.account-profile-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 2px;
    border: 1px solid rgba(0, 53, 128, .35);
    background: rgba(0, 53, 128, .08);
    color: var(--muted-ink, #6b7280);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 53, 128, .16);
    transition: background .15s, color .15s, transform .2s, box-shadow .15s;
}
.account-profile-more-icon:hover {
    background: rgba(0, 53, 128, .16);
    color: var(--ink, #111827);
    box-shadow: 0 4px 10px rgba(0, 53, 128, .24);
}
.account-profile-more-icon[aria-expanded="true"] {
    transform: rotate(45deg);
}
.account-profile-actions__extra {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin-top: 0;
    transition: max-height .28s ease, opacity .22s ease, margin-top .28s ease;
}
.account-profile-actions__extra.is-open {
    max-height: 24rem;
    opacity: 1;
    pointer-events: auto;
    margin-top: .55rem;
}
.account-profile-actions__extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .4rem;
}
.account-profile-actions__extra-grid .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.account-profile-actions__danger {
    border-top: 1px solid rgba(254, 202, 202, .5);
    padding-top: .5rem;
    margin-top: .15rem;
}
.account-profile-image-actions {
    display: grid;
    grid-template-columns: 5rem 1.75rem;
    grid-template-rows: 1.75rem 1.75rem;
    gap: .35rem;
    flex-shrink: 0;
    align-items: start;
}
.account-profile-image-actions .account-profile-thumb {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 5rem !important;
    height: 5rem !important;
    align-self: stretch;
}
.account-profile-image-actions .btn-upload-profile-pic {
    grid-column: 2;
    grid-row: 1;
}
.account-profile-image-actions .btn-delete-profile-pic {
    grid-column: 2;
    grid-row: 2;
}
.account-profile-image-actions .btn-upload-profile-pic,
.account-profile-image-actions .btn-delete-profile-pic {
    width: 1.75rem;
    height: 1.75rem;
    min-height: 1.75rem;
    max-height: 1.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 2px !important;
}
.account-profile-thumb {
    width: 5rem;
    height: 5rem;
    border-radius: 2px;
    object-fit: cover;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(0,53,128,.18);
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
    cursor: zoom-in;
}
.account-profile-thumb:focus-visible {
    outline: 2px solid rgba(0,53,128,.72);
    outline-offset: 2px;
}

/* ── Account modal — blue glass theme ────────────────────────────────── */
.account-modal-panel {
    width: 95vw;
    max-width: 540px;
    background: rgba(11, 29, 58, 0.88) !important;
    -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
    backdrop-filter: blur(22px) saturate(160%) !important;
    border: 1px solid rgba(142, 174, 226, 0.28) !important;
    box-shadow: 0 24px 56px rgba(4, 12, 32, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.account-modal-panel--sm   { max-width: 440px; }
.account-modal-panel--form { max-width: 580px; }
.account-modal-panel--wide { max-width: 780px; }
.account-modal-form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    overflow: hidden;
}
.account-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid rgba(142, 174, 226, 0.22) !important;
    background: rgba(11, 29, 58, 0.30) !important;
    flex-shrink: 0;
}
.account-modal-title {
    color: #93c5fd !important;
    line-height: 1.3;
}
.account-modal-title.text-red-600 {
    color: #fca5a5 !important;
}
.account-modal-header p,
.account-modal-header .text-gray-500,
.account-modal-header .text-gray-600 {
    color: rgba(203, 213, 225, 0.65) !important;
}
.account-modal-header .modal-close {
    color: rgba(148, 163, 184, 0.75) !important;
    font-size: .95rem;
    line-height: 1;
    padding: .25rem .45rem;
    border-radius: 4px;
    transition: color .15s, background .15s;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    align-self: center;
}
.account-modal-header .modal-close:hover {
    color: #e2e8f0 !important;
    background: rgba(142, 174, 226, 0.15);
}
.account-modal-body {
    padding: 1.1rem 1.35rem;
    flex: 1 1 auto;
    overflow-y: auto;
}
.account-modal-body .text-gray-500,
.account-modal-body .text-gray-600,
.account-modal-body .text-gray-700 {
    color: rgba(203, 213, 225, 0.80) !important;
}
.account-modal-body label.text-xs {
    color: rgba(203, 213, 225, 0.65);
}
.account-modal-body .input,
.account-modal-body .select,
.account-modal-body .textarea {
    background: rgba(11, 29, 58, 0.55) !important;
    border-color: rgba(142, 174, 226, 0.45) !important;
    color: #ffffff !important;
}
.account-modal-body .input::placeholder,
.account-modal-body .textarea::placeholder {
    color: rgba(203, 213, 225, 0.40);
}
.account-modal-footer {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .85rem 1.35rem;
    border-top: 1px solid rgba(142, 174, 226, 0.22) !important;
    background: rgba(11, 29, 58, 0.30) !important;
    flex-shrink: 0;
    justify-content: flex-end;
}
/* text-flag-blue and text-gray-* used inside modal panels are too dark on dark bg */
.account-modal-panel .text-flag-blue {
    color: #93c5fd !important;
}
.account-modal-panel .text-gray-500,
.account-modal-panel .text-gray-600,
.account-modal-panel .text-gray-700 {
    color: rgba(203, 213, 225, 0.75) !important;
}
/* select option backgrounds inherit the OS theme; set a fallback dark bg */
.account-modal-body .select option {
    background: #0b1d3a;
    color: #e2e8f0;
}
/* profile-pic dropzone: dark-theme overrides */
#profile-pic-dropzone {
    background: rgba(11, 29, 58, 0.45) !important;
    border-color: rgba(142, 174, 226, 0.35) !important;
}
#profile-pic-dropzone:hover {
    background: rgba(11, 29, 58, 0.62) !important;
}
#profile-pic-dropzone svg {
    color: rgba(142, 174, 226, 0.60) !important;
}
#profile-pic-drop-hint,
#profile-pic-selected-file {
    color: rgba(203, 213, 225, 0.70) !important;
}

/* ── Product-modal submodal panels (pcm-panel / product-comments-modal-panel)
 * These classes are defined in shop.css for catalog pages. They are duplicated
 * here so that account.php (which loads singles.css but not shop.css) renders
 * the blue-glass submodals correctly.
 * ────────────────────────────────────────────────────────────────────────── */
.pcm-panel {
    background: rgba(8, 20, 46, 0.84) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(142, 174, 226, 0.22) !important;
    box-shadow: 0 24px 56px rgba(4, 12, 32, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc;
    max-width: 760px;
    width: min(95vw, 760px);
    max-height: min(90vh, 820px);
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}
.pcm-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(142, 174, 226, 0.2);
    flex-shrink: 0;
    background: rgba(6, 15, 38, 0.96);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
}
.pcm-panel__header h3 {
    color: var(--finland-blue-400) !important;
    font-size: 1.05rem;
    font-weight: 700;
    flex-shrink: 1;
    min-width: 0;
}
body:not(.theme-dark):not(.theme-mixed) .pcm-panel__header h3 {
    color: #93c5fd !important;
}
.pcm-panel__header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.pcm-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 174, 226, 0.4) transparent;
}
.pcm-panel__body::-webkit-scrollbar { width: 5px; }
.pcm-panel__body::-webkit-scrollbar-track { background: transparent; }
.pcm-panel__body::-webkit-scrollbar-thumb {
    background: rgba(142, 174, 226, 0.4);
    border-radius: 999px;
}
.pcm-panel__body::-webkit-scrollbar-thumb:hover { background: rgba(142, 174, 226, 0.7); }
.pcm-panel__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0.45rem 1.5rem;
    border-top: 1px solid rgba(142, 174, 226, 0.2);
    flex-shrink: 0;
    background: rgba(6, 15, 38, 0.96);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
}
.pcm-panel__footer .btn {
    height: 38px;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 36px;
}
.product-comments-modal-panel {
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(142, 174, 226, 0.22) !important;
    box-shadow: 0 24px 56px rgba(4, 12, 32, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc;
    padding: 1rem 1rem 1.618rem 1.618rem;
}
.pcm-panel .text-flag-blue,
.product-comments-modal-panel .text-flag-blue { color: #ffffff !important; }
.product-comments-modal-panel .text-gray-500,
.product-comments-modal-panel .text-gray-600,
.product-comments-modal-panel .text-gray-700 { color: rgba(226, 232, 240, 0.82) !important; }
/* Reply forms are already inside a thread container (.pm-modal-replies has border-left);
   remove their own border-left to prevent a visual double-line that can appear to point
   at the wrong comment in the thread. */
#product-modal .product-page-reply-form,
#product-comments-modal .product-page-reply-form,
#product-reviews-modal .product-page-reply-form { border-left: none; }

/* ── Account favourites-style polish ─────────────────────────────────── */
.account-page-shell {
    --account-accent: var(--finland-blue, #003580);
    --account-accent-soft: rgba(0, 53, 128, .08);
    --account-line: rgba(0, 53, 128, .14);
    --account-shadow: 0 18px 42px rgba(0, 29, 70, .12);
}
.account-page-shell .account-card,
.account-page-shell .account-subcard {
    border-radius: 2px !important;
    border: 1px solid var(--account-line);
    background: rgba(255, 255, 255, .78);
}
.account-page-shell .account-card {
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 29, 70, .08);
    transition:
        border-color .18s ease,
        box-shadow .2s ease,
        transform .2s ease;
}
.account-page-shell .account-card:hover {
    border-color: rgba(0, 53, 128, .22);
    box-shadow: var(--account-shadow);
    transform: translateY(-2px);
}
.account-page-shell .account-collapsible-card.is-expanded {
    border-color: rgba(0, 53, 128, .26);
    box-shadow: 0 20px 48px rgba(0, 53, 128, .16);
}
.account-page-shell .account-card-header,
.account-page-shell .account-collapsible-header,
.account-page-shell .account-subcard-header {
    border-bottom: 1px solid rgba(0, 53, 128, .08);
    padding-bottom: .8rem;
}
.account-page-shell .account-card h2,
.account-page-shell .account-card h3 {
    letter-spacing: 0;
}
.account-page-shell .account-card .text-xs,
.account-page-shell .account-card .text-sm {
    line-height: 1.45;
}
.account-page-shell .btn,
.account-page-shell .btn-primary,
.account-page-shell .btn-ghost,
.account-page-shell .btn-danger,
.account-page-shell .btn-account,
.account-page-shell .dt-button,
.account-page-shell .account-card-toggle,
.account-page-shell .account-profile-more-icon {
    border-radius: 2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-weight: 800;
    text-shadow: none !important;
    box-shadow: none !important;
    transition:
        background .16s ease,
        border-color .16s ease,
        color .16s ease,
        transform .16s ease,
        box-shadow .16s ease;
}
.account-page-shell .btn:not(.account-card-toggle):not(.account-profile-more-icon),
.account-page-shell .btn-account,
.account-page-shell .dt-button {
    min-height: 2.35rem;
}
.account-page-shell .btn:hover,
.account-page-shell .dt-button:hover,
.account-page-shell .account-card-toggle:hover,
.account-page-shell .account-profile-more-icon:hover {
    transform: translateY(-1px);
}
.account-page-shell .btn-primary,
.account-page-shell .btn-account {
    background: var(--account-accent);
    border: 1px solid var(--account-accent);
    color: #fff;
}
.account-page-shell .btn-primary:hover,
.account-page-shell .btn-account:hover {
    background: #002b66;
    border-color: #002b66;
    box-shadow: 0 8px 18px rgba(0, 53, 128, .18) !important;
}
.account-page-shell .btn-ghost,
.account-page-shell .dt-button,
.account-page-shell .account-card-toggle,
.account-page-shell .account-profile-more-icon {
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(0, 53, 128, .18);
    color: var(--ink, #111827);
}
.account-page-shell .btn-ghost:hover,
.account-page-shell .dt-button:hover,
.account-page-shell .account-card-toggle:hover,
.account-page-shell .account-profile-more-icon:hover {
    background: var(--account-accent-soft);
    border-color: rgba(0, 53, 128, .34);
    color: var(--account-accent);
}
.account-page-shell .btn-danger,
.account-page-shell #account-logout-btn {
    background: #7f1d1d !important;
    border: 1px solid #7f1d1d !important;
    color: #fff !important;
}
.account-page-shell .btn-danger:hover,
.account-page-shell #account-logout-btn:hover {
    background: #991b1b !important;
    border-color: #991b1b !important;
    box-shadow: 0 8px 18px rgba(127, 29, 29, .18);
}
.account-page-shell .account-card-toggle {
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0;
}
.account-page-shell .account-card-toggle__icon::before,
.account-page-shell .account-card-toggle__icon::after {
    background: currentColor;
}
.account-page-shell .account-profile-more-icon {
    width: 1.9rem;
    height: 1.9rem;
    min-width: 1.9rem;
    min-height: 1.9rem;
    color: var(--account-accent);
}
.account-page-shell .account-profile-more-icon[aria-expanded="true"] {
    transform: rotate(45deg);
}
.account-page-shell .account-profile-more-icon[aria-expanded="true"]:hover {
    transform: translateY(-1px) rotate(45deg);
}
.account-page-shell .account-profile-actions__primary,
.account-page-shell .account-profile-actions__secondary,
.account-page-shell .account-profile-actions__extra-grid {
    gap: .45rem;
}
.account-page-shell .account-profile-actions__extra {
    transform: translateY(-.25rem);
    transition:
        max-height .28s ease,
        opacity .22s ease,
        margin-top .28s ease,
        transform .22s ease;
}
.account-page-shell .account-profile-actions__extra.is-open {
    transform: translateY(0);
}
.account-page-shell .account-profile-actions__danger {
    border-top-color: rgba(127, 29, 29, .16);
}
.account-page-shell .account-profile-thumb {
    border-color: rgba(0, 53, 128, .22);
    box-shadow: 0 8px 18px rgba(0, 29, 70, .13);
}
.account-page-shell .account-profile-image-actions .btn-upload-profile-pic,
.account-page-shell .account-profile-image-actions .btn-delete-profile-pic {
    width: 1.75rem !important;
    min-width: 1.75rem !important;
    max-width: 1.75rem !important;
    height: 1.75rem !important;
    min-height: 1.75rem !important;
    max-height: 1.75rem !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    line-height: 1;
}
.account-page-shell .account-profile-image-actions .btn-upload-profile-pic svg,
.account-page-shell .account-profile-image-actions .btn-delete-profile-pic svg {
    width: 1rem !important;
    height: 1rem !important;
    flex: 0 0 1rem;
}
.account-page-shell .account-table-shell {
    border: 1px solid rgba(0, 53, 128, .12);
    border-radius: 2px;
    background: rgba(255, 255, 255, .46);
    padding: .55rem;
}
.account-page-shell .account-card .account-dt-top,
.account-page-shell .account-card .account-dt-bot {
    border: 1px solid rgba(0, 53, 128, .1);
    border-radius: 2px;
    background: rgba(255, 255, 255, .58);
    padding: .55rem .65rem;
}
.account-page-shell .account-card .account-dt-top .dt-search input,
.account-page-shell .account-card .account-dt-top .dt-length select {
    border-color: rgba(0, 53, 128, .18);
    background: rgba(255, 255, 255, .86);
    color: var(--ink, #111827);
}
.account-page-shell .account-card table.dataTable,
.account-page-shell .account-card table {
    border-collapse: separate;
    border-spacing: 0 .35rem;
}
.account-page-shell .account-card table thead th {
    border-bottom: 0;
    color: var(--muted-ink, #6b7280);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.account-page-shell .account-card table tbody tr {
    background: rgba(255, 255, 255, .74);
    box-shadow: 0 1px 0 rgba(0, 53, 128, .06);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.account-page-shell .account-card table tbody tr:hover {
    background: rgba(0, 53, 128, .05);
    box-shadow: 0 8px 18px rgba(0, 29, 70, .08);
    transform: translateY(-1px);
}
.account-page-shell .account-card table tbody td {
    border: 0;
    vertical-align: middle;
}
.account-page-shell .account-purchased-product-cell__image,
.account-page-shell .account-purchased-product-cell__placeholder {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 2px;
    border: 1px solid rgba(0, 53, 128, .14);
    box-shadow: 0 5px 12px rgba(0, 29, 70, .1);
}
.account-page-shell .account-purchased-product-actions,
.account-page-shell .account-order-actions {
    gap: .35rem;
}
.account-page-shell .account-purchased-link,
.account-page-shell .account-purchased-product-actions .btn,
.account-page-shell .account-order-actions .btn:not(.account-order-actions__wide) {
    width: 7.8rem !important;
    min-width: 7.8rem !important;
    max-width: 7.8rem;
    min-height: 2.25rem;
    font-size: .72rem !important;
}

/* ======================================================================= */
/* ▶ Start of  §46d  Sea of Products Sidebar                                */
/* ======================================================================= */

/* ── Layout ───────────────────────────────────────────────────────────── */
.sea-main-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 70vh;
    position: relative;
}
.sea-canvas-wrap {
    flex: 1 1 0;
    min-width: 0;
    z-index: 1;
}

/* ── Sidebar shell ────────────────────────────────────────────────────── */
.sea-sidebar {
    width: 248px;
    background: linear-gradient(160deg, rgba(2,18,52,0.90) 0%, rgba(4,24,68,0.85) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-left: 1px solid rgba(100,150,255,0.15);
    box-shadow: -4px 0 32px rgba(0,20,80,0.35), inset 1px 0 0 rgba(120,160,255,0.08);
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    z-index: 20;
    position: fixed;
    right: 0;
    top: 64px;
    height: calc(100vh - 64px);
    overflow: hidden;
    transition: box-shadow .22s cubic-bezier(.4,0,.2,1);
}
.sea-sidebar:hover {
    box-shadow: -4px 0 40px rgba(0,30,100,0.45), inset 1px 0 0 rgba(140,180,255,0.12);
}
.sea-sidebar-right { order: 2; }

/* Top group: filters + stats + hints — auto-height, scrollable */
.sea-sb-top-group {
    flex: 0 0 auto;
    max-height: 42%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(80,120,255,0.20) transparent;
}

/* Drag-over glow */
.sea-sidebar--drag-over {
    background: linear-gradient(160deg, rgba(2,30,80,0.96) 0%, rgba(0,60,160,0.90) 100%);
    border-left-color: rgba(80,160,255,0.45);
    box-shadow: -4px 0 40px rgba(0,80,255,0.35), inset 1px 0 0 rgba(180,220,255,0.18);
}

/* ── Sidebar back link (always first) ────────────────────────────────── */
.sea-sb-back {
    padding: .6rem 1.1rem .5rem;
    border-bottom: 1px solid rgba(100,150,255,0.10);
    flex-shrink: 0;
}
.sea-sb-back-link {
    font-size: .76rem;
    font-weight: 600;
    color: rgba(120,170,255,0.65);
    text-decoration: none;
    transition: color .15s;
}
.sea-sb-back-link:hover { color: #90c4ff; text-decoration: underline; }

/* Remove bottom gap/border on section immediately before stats */
.sea-sb-section--no-bottom-gap {
    padding-bottom: .45rem;
    border-bottom: none;
}

/* ── Sidebar header ───────────────────────────────────────────────────── */
.sea-sb-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 1rem 1.1rem .7rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(160,200,255,0.55);
    border-bottom: 1px solid rgba(100,150,255,0.10);
}

/* ── Sidebar sections ─────────────────────────────────────────────────── */
.sea-sb-section {
    padding: .9rem 1.1rem .75rem;
    border-bottom: 1px solid rgba(100,150,255,0.08);
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.sea-sb-section:last-child { border-bottom: none; }

/* ── Section label ────────────────────────────────────────────────────── */
.sea-sb-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--finland-blue-400);
}

/* ── Collapsible section toggle ───────────────────────────────────────── */
.sea-sb-label--toggle {
    all: unset;
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--finland-blue-400);
    width: 100%;
    cursor: pointer;
    user-select: none;
}
.sea-sb-label--toggle:hover { color: rgba(160,200,255,0.9); }
.sea-sb-toggle-icon {
    margin-left: auto;
    transition: transform .18s ease;
    opacity: .6;
    flex-shrink: 0;
}
.sea-sb-label--toggle:hover .sea-sb-toggle-icon { opacity: 1; }
.sea-sb-collapsible-body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    transition: max-height .22s ease, margin-top .22s ease;
}
.sea-sb-collapsible-body.is-open {
    max-height: 600px;
    margin-top: .55rem;
}
.sea-sb-section--collapsible { gap: 0; }

/* ── Filter chips ─────────────────────────────────────────────────────── */
.sea-sb-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}
.sea-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .72rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 600;
    border: 1px solid rgba(100,150,255,0.22);
    background: rgba(40,70,140,0.22);
    color: rgba(180,210,255,0.75);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.sea-chip:hover {
    background: rgba(60,100,200,0.35);
    border-color: rgba(120,170,255,0.40);
    color: rgba(210,230,255,0.95);
}
.sea-chip--active {
    background: rgba(50,110,250,0.32);
    border-color: rgba(100,160,255,0.55);
    color: #e0eeff;
    box-shadow: 0 0 10px rgba(80,140,255,0.22);
}

/* Filter result count */
.sea-sb-filter-count {
    font-size: .72rem;
    color: rgba(120,160,255,0.55);
    min-height: .9rem;
}

/* ── Count row ────────────────────────────────────────────────────────── */
.sea-sb-count-row {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.sea-sidebar-count {
    flex: 1 1 0;
    min-width: 0;
    max-width: 80px;
    font-size: .92rem;
    padding: .28rem .6rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(100,150,255,0.20);
    border-radius: 6px;
    color: #e0eeff;
    outline: none;
    transition: border-color .15s;
}
.sea-sidebar-count:focus { border-color: rgba(100,160,255,0.50); }
.sea-sidebar-shuffle-btn {
    flex-shrink: 0;
    padding: .3rem .65rem !important;
    font-size: .78rem !important;
    border-radius: 6px !important;
}
.sea-sidebar-all-btn {
    flex-shrink: 0;
    padding: .3rem .5rem !important;
    font-size: .72rem !important;
    border-radius: 6px !important;
    border-color: rgba(100,150,255,0.35) !important;
    color: rgba(160,200,255,0.85) !important;
    white-space: nowrap;
}

/* ── Stats ────────────────────────────────────────────────────────────── */
.sea-sb-stats { gap: .4rem; }
.sea-sb-stat-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
}
.sea-sb-stat-icon { font-size: .85rem; line-height: 1; }
.sea-sb-stat-val {
    font-weight: 700;
    color: #7eb8ff;
    min-width: 1.4rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.sea-sb-stat-lbl { color: var(--finland-blue-400); }

/* ── Navigation hints ─────────────────────────────────────────────────── */
.sea-sb-hints-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .38rem;
}
.sea-sb-hints-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .76rem;
    color: var(--finland-blue-400);
}
.sea-sb-hints-list kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .1rem .38rem;
    border-radius: 4px;
    background: rgba(60,80,140,0.45);
    border: 1px solid rgba(100,140,255,0.25);
    font-size: .68rem;
    font-weight: 700;
    color: rgba(180,210,255,0.80);
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 1.8rem;
    text-align: center;
}
.sea-sb-nav-link {
    color: var(--finland-blue-400);
    font-size: .76rem;
    text-decoration: none;
    transition: color .15s;
}
.sea-sb-nav-link:hover { color: #90c4ff; text-decoration: underline; }

/* ── Stack section ────────────────────────────────────────────────────── */
.sea-sidebar-stack-wrap {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: .9rem 1.1rem .9rem;
    gap: .55rem;
    border-top: 1px solid rgba(100,150,255,0.12);
}
.sea-sb-stack-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sea-sb-clear-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(100,150,255,0.20);
    background: rgba(255,80,80,0.12);
    color: rgba(255,150,150,0.70);
    cursor: pointer;
    padding: 0;
    transition: background .15s, color .15s;
}
.sea-sb-clear-stack:hover {
    background: rgba(255,80,80,0.28);
    color: #ffaaaa;
}
/* Buy-stack row — sits below the stack header label row */
.sea-sb-buy-row {
    display: flex;
    padding: .15rem 0 .1rem;
}
/* Buy-stack button in stack header */
.sea-sb-buy-stack {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    width: 100%;
    padding: .26rem .55rem;
    border-radius: 5px;
    border: 1px solid rgba(80,200,120,0.35);
    background: rgba(20,100,50,0.22);
    color: rgba(140,220,165,0.85);
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.sea-sb-buy-stack:hover { background: rgba(20,150,65,0.38); color: #a0f0b0; }
.sea-sb-buy-stack:disabled { opacity: .5; cursor: default; }
/* Post-buy confirmation row */
.sea-buy-confirm-row {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: .6rem .85rem;
    background: rgba(15,45,90,0.60);
    border-radius: 6px;
    border: 1px solid rgba(80,160,255,0.22);
    margin-top: .35rem;
}
.sea-buy-confirm-msg {
    font-size: .76rem;
    color: rgba(200,225,255,0.90);
    line-height: 1.45;
}
.sea-buy-confirm-btns { display: flex; gap: .4rem; }
.sea-buy-confirm-yes, .sea-buy-confirm-no {
    font-size: .72rem !important;
    padding: .22rem .55rem !important;
}
.sea-sidebar-stack {
    flex: 1 1 auto;
    min-height: 0;
    background: rgba(255,255,255,0.04);
    border: 1.5px dashed rgba(100,150,255,0.18);
    border-radius: 10px;
    padding: .55rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(80,120,255,0.20) transparent;
    transition: background .18s, border-color .18s;
}
.sea-sidebar--drag-over .sea-sidebar-stack,
.sea-sidebar-stack:focus-within {
    background: rgba(40,80,200,0.12);
    border-color: rgba(100,160,255,0.40);
}
.sea-sidebar-stack-empty {
    color: rgba(140,180,255,0.38);
    font-size: .78rem;
    text-align: center;
    padding: .6rem 0;
    user-select: none;
    pointer-events: none;
}

/* Stack item rows */
.sea-stack-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .32rem .4rem;
    border-radius: 7px;
    background: rgba(40,70,160,0.18);
    border: 1px solid rgba(80,130,255,0.14);
    cursor: pointer;
    transition: background .14s, border-color .14s;
    min-width: 0;
}
.sea-stack-item:hover {
    background: rgba(60,100,220,0.28);
    border-color: rgba(100,160,255,0.30);
}
.sea-stack-thumb {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.sea-stack-info {
    flex: 1 1 0;
    min-width: 0;
}
.sea-stack-name {
    font-size: .74rem;
    font-weight: 600;
    color: rgba(210,230,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.sea-stack-price {
    font-size: .68rem;
    color: var(--finland-blue-400);
    line-height: 1.3;
}
.sea-stack-remove {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: none;
    background: transparent;
    color: rgba(180,150,150,0.50);
    cursor: pointer;
    padding: 0;
    transition: background .14s, color .14s;
}
.sea-stack-remove:hover {
    background: rgba(255,80,80,0.20);
    color: #ffa0a0;
}
.sea-stack-drag-handle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 14px;
    color: rgba(120,160,255,0.28);
    cursor: grab;
    padding-right: 2px;
}
.sea-stack-drag-handle:hover { color: rgba(120,160,255,0.65); }
.sea-stack-item--dragging {
    opacity: 0.35;
}
.sea-stack-item--drop-before {
    border-top: 2px solid rgba(100,160,255,0.70);
}

/* ── Live cart dropzone — mirrors the real cart on Sea of Products ─────── */
.sea-cart-drop {
    position: fixed;
    left: 1.1rem;
    bottom: 1.1rem;
    z-index: 31;
    width: 336px;
    max-width: calc(100vw - 2.2rem);
    max-height: min(44vh, 320px);
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .75rem .85rem .85rem;
    border: 1.5px dashed rgba(80,200,120,0.26);
    border-radius: 10px;
    background: linear-gradient(160deg, rgba(4,30,28,0.88) 0%, rgba(6,48,54,0.82) 100%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 10px 34px rgba(0,20,20,0.38), inset 0 1px 0 rgba(160,255,210,0.08);
    color: rgba(216,255,236,0.90);
    transition: border-color .18s, background .18s, box-shadow .18s, transform .18s;
}
.sea-cart-drop--drag-over {
    border-color: rgba(80,255,160,0.72);
    background: linear-gradient(160deg, rgba(4,58,38,0.94) 0%, rgba(6,82,78,0.90) 100%);
    box-shadow: 0 12px 42px rgba(20,180,100,0.28), inset 0 1px 0 rgba(190,255,220,0.18);
    transform: translateY(-2px);
}
.sea-cart-drop.is-saving {
    border-style: solid;
}
.sea-cart-drop__header,
.sea-cart-drop__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .55rem;
}
.sea-cart-drop__header-actions {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
}
.sea-cart-drop__count {
    min-width: 1.45rem;
    height: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(80,200,120,0.20);
    color: rgba(180,255,210,0.96);
    font-size: .72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.sea-cart-drop__icon-btn {
    width: 1.45rem;
    height: 1.45rem;
    min-width: 1.45rem;
    border: 1px solid rgba(80,200,120,0.24);
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
    color: rgba(202,255,226,0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.sea-cart-drop__icon-btn:hover:not(:disabled) {
    background: rgba(80,200,120,0.18);
    border-color: rgba(110,255,170,0.52);
    color: #fff;
    transform: translateY(-1px);
}
.sea-cart-drop__icon-btn:disabled {
    cursor: default;
    opacity: .38;
}
.sea-cart-drop__items {
    min-height: 76px;
    max-height: 190px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(80,200,120,0.26) transparent;
}
.sea-cart-drop__empty {
    color: rgba(180,230,210,0.48);
    font-size: .78rem;
    text-align: center;
    padding: 1.2rem .4rem;
    user-select: none;
    pointer-events: none;
}
.sea-cart-drop__item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto 1.45rem;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    padding: .32rem .4rem;
    border-radius: 7px;
    background: rgba(20,100,72,0.24);
    border: 1px solid rgba(80,200,120,0.14);
}
.sea-cart-drop__thumb {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: rgba(80,200,120,0.10);
}
.sea-cart-drop__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(180,255,210,0.55);
    font-weight: 800;
}
.sea-cart-drop__info {
    min-width: 0;
}
.sea-cart-drop__name {
    font-size: .74rem;
    font-weight: 700;
    color: rgba(220,255,236,0.90);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.sea-cart-drop__meta {
    font-size: .68rem;
    color: rgba(150,230,190,0.72);
    line-height: 1.3;
}
.sea-cart-drop__line {
    font-size: .68rem;
    font-weight: 800;
    color: rgba(180,255,210,0.90);
    white-space: nowrap;
    text-align: right;
}
.sea-cart-drop__qty {
    display: grid;
    grid-template-columns: 1.25rem 1.35rem 1.25rem;
    align-items: center;
    justify-content: center;
    gap: .16rem;
}
.sea-cart-drop__qty-btn {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(80,200,120,0.22);
    border-radius: 2px;
    background: rgba(255,255,255,0.08);
    color: rgba(210,255,232,0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: .86rem;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.sea-cart-drop__qty-btn:hover {
    background: rgba(80,200,120,0.18);
    border-color: rgba(110,255,170,0.52);
    color: #fff;
    transform: translateY(-1px);
}
.sea-cart-drop__qty-value {
    color: rgba(220,255,236,0.94);
    font-size: .72rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    text-align: center;
}
.sea-cart-drop__remove {
    color: rgba(255,210,210,0.88);
    border-color: rgba(255,150,150,0.22);
}
.sea-cart-drop__remove:hover:not(:disabled) {
    background: rgba(180,50,50,0.20);
    border-color: rgba(255,150,150,0.5);
}
.sea-cart-drop__subtotal {
    font-size: .82rem;
    font-weight: 900;
    color: rgba(190,255,218,0.96);
}
.sea-cart-drop__checkout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.7rem;
    padding: .28rem .68rem;
    border-radius: 6px;
    border: 1px solid rgba(80,220,130,0.42);
    background: rgba(20,130,70,0.32);
    color: rgba(220,255,235,0.96);
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
}
.sea-cart-drop__checkout:hover {
    background: rgba(20,170,86,0.42);
    border-color: rgba(110,255,170,0.62);
    color: #fff;
}
.sea-cart-drop.is-empty .sea-cart-drop__checkout {
    pointer-events: none;
    opacity: .45;
}
/* ── Sea card hover tooltip ───────────────────────────────────────────── */
.sea-card-tooltip {
    position: fixed;
    z-index: 199999;
    padding: .3rem .7rem;
    border-radius: 6px;
    background: rgba(5,20,65,0.92);
    border: 1px solid rgba(80,140,255,0.35);
    color: rgba(200,225,255,0.95);
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .12s, transform .12s;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.sea-card-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Stack badge on sea cards ─────────────────────────────────────────── */
.sea-card__stack-badge {
    position: absolute;
    top: 2px; left: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(56,130,246,0.88);
    color: #fff;
    font-size: 0.52rem;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}
/* ── Favourite heart badge on sea cards ─────────────────────────────────── */
.sea-card__fav-badge {
    position: absolute;
    top: 2px; right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    background: rgba(5,60,20,0.72);
    color: #4ade80;
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
}
.fav-search-hidden { display: none !important; }
/* ── Favourites grid & cards ─────────────────────────────────────────────── */
.fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.1rem;
    align-items: start;
    overflow: clip;
    max-height: 4000px;
    transition: max-height 0.42s ease;
    padding: 8px;
}
.fav-grid.is-collapsed {
    max-height: calc(4.4rem + 32px);
}
.fav-grid-expand-row {
    display: flex;
    justify-content: center;
    padding: 0.25rem 0 0.1rem;
}
.fav-grid-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--ink);
    transition: background 0.18s ease, transform 0.15s ease;
}
.fav-grid-expand-btn:hover,
.fav-grid-expand-btn.is-active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.15);
}
.fav-grid-expand-btn__up { display: none; }
.fav-grid-expand-btn.is-active .fav-grid-expand-btn__up { display: block; }
.fav-grid-expand-btn.is-active .fav-grid-expand-btn__down { display: none; }
.fav-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
    border-radius: 2px;
}
.fav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 53, 128, 0.18);
}
.fav-card--unavailable {
    opacity: 0.72;
}
.fav-card__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .65rem;
    min-height: 4.2rem;
    padding: .72rem .8rem;
    cursor: pointer;
    list-style: none;
    border-bottom: 1px solid transparent;
}
.fav-card__summary::-webkit-details-marker { display: none; }
.fav-card[open] .fav-card__summary {
    border-bottom-color: var(--line-soft);
}
.fav-card__summary-main {
    min-width: 0;
    display: grid;
    gap: .32rem;
}
.fav-card__summary-name {
    color: var(--ink);
    font-size: .85rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fav-card__summary-meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}
.fav-card__summary-chevron {
    color: var(--muted-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: 1px solid var(--line-soft);
    border-radius: 2px;
    background: var(--surface-soft);
    transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.fav-card__summary:hover .fav-card__summary-chevron,
.fav-card__summary:focus-visible .fav-card__summary-chevron {
    color: var(--ink);
    border-color: var(--finland-blue-200, var(--line-soft));
    background: rgba(0, 53, 128, 0.08);
}
.fav-card__summary-icon {
    display: block;
    width: 22px !important;
    height: 22px !important;
    stroke-width: 3.2;
}
.fav-card__summary-icon--minus,
.fav-card[open] .fav-card__summary-icon--plus {
    display: none;
}
.fav-card[open] .fav-card__summary-icon--minus {
    display: block;
}
.fav-card__media {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.fav-card__img-link {
    display: block;
    width: 100%;
}
.fav-card__img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}
.fav-card:hover .fav-card__img {
    transform: scale(1.04);
}
.fav-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-ink);
    opacity: 0.4;
}
.fav-card__rank {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.2rem 0.42rem;
    border-radius: 2px;
    letter-spacing: 0.04em;
    pointer-events: none;
    z-index: 2;
}
.fav-card__rank--summary {
    position: static;
    min-width: 1.45rem;
    text-align: center;
    align-self: start;
    margin-top: .1rem;
}
.fav-card__controls {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    z-index: 3;
}
.fav-card__control-form {
    display: contents;
}
.fav-card__control-btn {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 2px;
    padding: 0;
    transition: background 0.15s ease;
    flex-shrink: 0;
}
.fav-card__control-btn:hover:not(:disabled) {
    background: rgba(0, 53, 128, 0.88);
}
.fav-card__control-btn:disabled {
    opacity: 0.22;
    cursor: default;
}
.fav-card__control-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: none !important;
    flex-shrink: 0;
}
.fav-card__view-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 128, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.22s ease, background 0.22s ease;
    z-index: 1;
    text-decoration: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.fav-card:hover .fav-card__view-overlay {
    opacity: 1;
    background: rgba(0, 53, 128, 0.38);
}
.fav-card__unavailable-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 2;
}
.fav-card__body {
    padding: 0.7rem 0.75rem 0.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.fav-card__name-link {
    text-decoration: none;
    color: inherit;
}
.fav-card__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    margin: 0;
}
.fav-card__name-link:hover .fav-card__name {
    color: var(--finland-blue);
}
.fav-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: 0.2rem;
    flex-wrap: wrap;
}
.fav-card__price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--finland-blue);
    line-height: 1;
}
.fav-card__stock {
    font-size: 0.68rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    color: var(--muted-ink);
}
.fav-card__stock::before {
    content: '●';
    font-size: 0.55rem;
}
.fav-card__stock--in::before  { color: #16a34a; }
.fav-card__stock--low::before { color: #d97706; }
.fav-card__stock--out::before { color: #dc2626; }
.fav-card__date {
    font-size: 0.67rem;
    color: var(--muted-ink);
    margin-top: 0.25rem;
}
.fav-card__note {
    border-top: 1px solid var(--line-soft);
    margin: 0;
}
.fav-card__note-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.73rem;
    color: var(--muted-ink);
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: color 0.15s;
}
.fav-card__note-toggle::-webkit-details-marker { display: none; }
.fav-card__note-toggle:hover { color: var(--ink); }
.fav-card__note-preview {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    font-style: italic;
}
.fav-card__note-hint {
    flex: 1;
    opacity: 0.65;
}
.fav-card__note-form {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0 0.75rem 0.65rem;
}
.fav-card__note-textarea {
    font-size: 0.78rem;
    min-height: 76px;
    resize: vertical;
    width: 100%;
}
.fav-card__note-save {
    align-self: flex-end;
    font-size: 0.78rem;
    padding: 0.3rem 0.9rem !important;
}
.fav-card__footer {
    padding: 0.4rem 0.65rem 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    row-gap: 0.3rem;
    border-top: 1px solid var(--line-soft);
}
.fav-card__footer-view,
.fav-card__footer-add {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px !important;
    min-height: 0;
}
.fav-card__footer-view svg,
.fav-card__footer-add svg {
    width: 16px !important;
    height: 16px !important;
    max-width: none !important;
    flex-shrink: 0;
    stroke-width: 2.8;
}
.fav-card__remove-form {
    flex-shrink: 0;
}
.fav-card__footer-remove {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    border-radius: 2px !important;
}
.fav-card__footer-remove svg {
    width: 16px !important;
    height: 16px !important;
    max-width: none !important;
    flex-shrink: 0;
    stroke-width: 2.8;
}
.fav-card__stack-add-btn svg:first-child {
    width: 8px !important;
    height: 8px !important;
    max-width: none !important;
    flex-shrink: 0;
    stroke-width: 3.2;
}
.fav-card__stack-add-btn svg:last-child {
    width: 9px !important;
    height: 9px !important;
    max-width: none !important;
    flex-shrink: 0;
    stroke-width: 2.8;
}
.js-stack-buy-all svg,
.js-stack-rename svg,
.js-stack-delete svg {
    width: 14px !important;
    height: 14px !important;
    max-width: none !important;
    flex-shrink: 0;
}
.js-fav-add-cart svg,
.js-stack-card-view svg,
.js-stack-card-comment svg,
.js-stack-card-promote svg,
.js-stack-card-remove svg {
    width: 13px !important;
    height: 13px !important;
    max-width: none !important;
    flex-shrink: 0;
}
.fav-card__price-watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0 0.5rem !important;
    min-height: 0;
    height: 26px;
    max-height: 26px;
    flex: 0 0 100%;
    width: 100%;
    order: 10;
    border-color: rgba(99, 102, 241, 0.35);
    color: rgba(99, 102, 241, 0.75);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.fav-card__price-watch-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: none !important;
    flex-shrink: 0;
}
.fav-card__price-watch-btn .fav-pw-label {
    display: inline;
    font-size: .75rem;
    white-space: nowrap;
}
.fav-card__price-watch-btn.is-active {
    border-color: rgba(99, 102, 241, 0.65);
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
}
.fav-card__price-watch-btn:hover,
.fav-card__price-watch-btn:focus-visible {
    border-color: rgba(99, 102, 241, 0.65);
    color: #4f46e5;
}
.fav-page-title-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.fav-page-heart {
    color: #ff6b8a;
    filter: drop-shadow(0 2px 8px rgba(255, 80, 120, 0.5));
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    line-height: 1;
    display: flex;
}
.fav-empty-icon {
    font-size: 4rem;
    line-height: 1;
    opacity: 0.35;
}
.fav-page-help {
    flex: 1 1 0;
    min-width: 0;
    align-self: center;
    font-size: 1rem;
    padding: .55rem .8rem;
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    background: var(--glass-bg);
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
}
.fav-page-nav-btn,
.fav-action-btn {
    min-width: 5.5rem;
    text-align: center;
}
/* 3×2 button grid — ghost row on top, primary row on bottom */
.fav-page-btns-outer {
    display: flex;
    align-items: stretch;
    gap: 0.3rem;
}
.fav-btns-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    border-radius: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--ink);
    transition: background 0.18s ease, transform 0.15s ease;
}
.fav-btns-toggle:hover,
.fav-btns-toggle.is-active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.15);
}
.fav-btns-toggle__minus { display: none; }
.fav-btns-toggle.is-active .fav-btns-toggle__minus { display: block; }
.fav-btns-toggle.is-active .fav-btns-toggle__plus { display: none; }
.fav-page-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    width: fit-content;
}
.fav-page-btn-grid.is-collapsed {
    grid-template-columns: 1fr;
}
.fav-page-btn-grid.is-collapsed .fav-btn-expandable {
    display: none;
}
.fav-page-btn-grid:not(.is-collapsed) .fav-btn-expandable {
    animation: favBtnReveal 0.22s ease both;
}
@keyframes favBtnReveal {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}
.fav-page-grid-btn {
    width: 100%;
    min-width: 0;
    max-width: 6rem;
    padding: 0.2rem 0.35rem !important;
    font-size: 0.72rem !important;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    text-align: center;
}
.fav-action-label {
    display: block;
    text-align: center;
    white-space: normal;
    word-break: normal;
    line-height: 1.3;
}
/* ── Fav table panel collapse ──────────────────────────────────────────── */
.fav-table-panel__hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .45rem .55rem .45rem .65rem;
}
.fav-table-panel__title {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    opacity: .85;
    cursor: pointer;
}
.fav-table-toggle-btn {
    width: 1.75rem;
    height: 1.75rem;
    min-width: 1.75rem;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50% !important;
    border: none;
    background: rgba(0, 0, 0, 0.07);
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease;
    color: var(--ink);
}
.fav-table-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.14);
    transform: scale(1.12);
}
.fav-table-toggle-btn__minus,
.fav-layout__table:not(.is-collapsed) .fav-table-toggle-btn__plus {
    display: none;
}
.fav-layout__table:not(.is-collapsed) .fav-table-toggle-btn__minus {
    display: block;
}
.fav-layout__table.is-collapsed {
    height: auto;
    min-height: calc(4.4rem + 32px);
    max-height: calc(4.4rem + 32px);
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
}
.fav-layout__table.is-collapsed .fav-table-panel__hd {
    min-height: calc(4.4rem + 32px);
}
.fav-table-hd-thumbs {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1 1 0;
    min-width: 0;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.22s ease;
}
.fav-layout__table.is-collapsed .fav-table-hd-thumbs {
    max-width: 440px;
    opacity: 1;
}
.fav-table-hd-thumb {
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
    cursor: zoom-in;
}
.fav-table-body {
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    padding: 0 .35rem .35rem;
    max-height: 2400px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.24s ease;
}
.fav-layout__table.is-collapsed .fav-table-body {
    max-height: 0;
    opacity: 0;
}
#fav-table_wrapper .datatable-toolbar,
#fav-table_wrapper .datatable-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    flex-wrap: wrap;
}
#fav-table_wrapper .datatable-toolbar {
    margin-bottom: .6rem;
}
#fav-table_wrapper .datatable-footer {
    margin-top: .6rem;
}
#fav-table_wrapper .datatable-toolbar__left,
#fav-table_wrapper .datatable-toolbar__right {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.fav-layout {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.fav-layout__table {
    flex: 0 0 38.2vw;
    width: 38.2vw;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 1rem;
    height: calc(100vh - 2rem);
    overflow: hidden;
    padding: .85rem 1rem;
    border-radius: 2px;
}
.fav-layout__cards {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
}
.fav-layout__table .dt-search { margin-bottom: .5rem; }
.fav-layout__table .dt-search input { width: 100%; box-sizing: border-box; }
.fav-tbl__row { cursor: pointer; transition: background .12s; }
.fav-tbl__row:hover { background: rgba(0, 53, 128, 0.08) !important; }
.fav-tbl__rank { font-size: .72rem; font-weight: 700; color: var(--muted-ink); text-align: center; }
.fav-tbl__product-wrap { display: flex; align-items: center; gap: .55rem; }
.fav-tbl__thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
    background: var(--surface-soft);
    display: block;
}
.fav-tbl__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-ink);
    opacity: .35;
}
.fav-tbl__product-info { min-width: 0; }
.fav-tbl__name {
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
a.fav-tbl__name:hover { color: var(--finland-blue); }
.fav-tbl__price { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.fav-tbl__stock { font-size: .72rem; font-weight: 600; white-space: nowrap; }
.fav-tbl__stock--in  { color: #16a34a; }
.fav-tbl__stock--low { color: #d97706; }
.fav-tbl__stock--out { color: #dc2626; }
.fav-tbl__date { font-size: .7rem; color: var(--muted-ink); white-space: nowrap; }
.fav-card--highlighted {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(0, 53, 128, 0.28) !important;
}
.fav-card--dragging {
    opacity: 0.45;
    transform: scale(0.97);
    cursor: grabbing;
}
.fav-card--drag-over {
    outline: 2px dashed #3b82f6;
    outline-offset: 3px;
    background: rgba(59, 130, 246, 0.06) !important;
}
.fav-tbl__row--dragging {
    opacity: 0.4;
    cursor: grabbing;
}
.fav-tbl__row--drag-over {
    outline: 2px dashed #3b82f6;
    outline-offset: -2px;
}

/* ── Add-to-stack compact button on fav cards ───────────────────────────── */
.fav-card__stack-add-btn {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 28px !important;
    min-width: 28px;
    max-width: 28px;
    height: 28px !important;
    max-height: 28px;
    padding: 0 !important;
    opacity: 0.72;
    border: 1px solid rgba(100,150,255,0.20) !important;
    border-radius: 2px !important;
}
.fav-card__stack-add-btn:hover { opacity: 1; background: rgba(56,130,246,0.18) !important; }
/* ── Favourites variant-pick modal backdrop ──────────────────────────────── */
.fav-vp-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.fav-vp-panel {
    width: min(38rem, calc(100vw - 2rem));
    padding: 0 !important;
    box-sizing: border-box;
    border: 1px solid rgba(75, 140, 240, 0.3);
    background:
        linear-gradient(135deg,
            rgba(10, 30, 90, 0.88) 0%,
            rgba(18, 52, 130, 0.84) 55%,
            rgba(8, 24, 78, 0.90) 100%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    backdrop-filter: blur(28px) saturate(200%);
    box-shadow:
        0 24px 64px rgba(0, 16, 72, 0.52),
        inset 0 0 0 1px rgba(75, 140, 240, 0.12),
        inset 0 1px 0 rgba(140, 190, 255, 0.22);
    border-radius: 1px;
}
/* ── Add-to-stack modal ──────────────────────────────────────────────────── */
.fav-ats-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}
.fav-ats-panel {
    width: min(420px, 94vw);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    outline: none;
}
.fav-ats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem 1.1rem .7rem;
}
.fav-ats-title {
    font-size: .95rem;
    font-weight: 700;
}
.fav-ats-body {
    padding: .85rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    max-height: 55vh;
    overflow-y: auto;
}
.fav-ats-product-name {
    font-size: .8rem;
    font-weight: 600;
    opacity: .88;
}
.fav-ats-stacks {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.fav-ats-stack-option,
.fav-ats-new-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    cursor: pointer;
    padding: .35rem .5rem;
    border-radius: 6px;
    border: 1px solid rgba(100,150,255,0.12);
    transition: background .12s;
}
.fav-ats-stack-option:hover,
.fav-ats-new-label:hover { background: rgba(80,130,255,0.10); }
.fav-ats-radio { cursor: pointer; }
.fav-ats-new-wrap {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}
.fav-ats-new-name-wrap { margin-top: .25rem; }
.fav-ats-new-name {
    width: 100%;
    font-size: .82rem;
    padding: .35rem .55rem;
    border-radius: 6px;
}
.fav-ats-footer {
    display: flex;
    gap: .5rem;
    padding: .75rem 1.1rem .9rem;
    justify-content: flex-start;
}

/* ── Save-stack panel in sea sidebar ──────────────────────────────────── */
.sea-save-stack-wrap {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(100,150,255,0.10);
    flex-shrink: 0;
}
.sea-save-stack-input {
    flex: 1 1 0;
    min-width: 0;
    font-size: .72rem;
    padding: .3rem .5rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(100,150,255,0.22);
    border-radius: 5px;
    color: rgba(200,220,255,0.9);
    outline: none;
    height: 28px;
}
.sea-save-stack-input:focus {
    border-color: rgba(100,160,255,0.55);
}
.sea-save-stack-btn {
    font-size: .72rem !important;
    padding: .3rem .65rem !important;
    white-space: nowrap;
    height: 28px;
    display: flex;
    align-items: center;
    gap: 3px;
}
.sea-save-stack-login-link {
    font-size: .72rem;
    padding-top: .3rem;
    display: block;
    text-align: center;
    width: 100%;
}

/* ── Favourites — Sea Stacks section ──────────────────────────────────── */
.fav-stacks-section {
    margin-top: 3.5rem;
}
.fav-stacks-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.fav-stacks-help {
    font-size: .85rem;
    color: var(--muted-ink, #6b7280);
    margin-bottom: 1.2rem;
}
.fav-stacks-none {
    font-size: .9rem;
    color: var(--muted-ink, #6b7280);
}
.fav-stacks-sea-link {
    margin-left: .5rem;
    font-size: .85rem;
}
.fav-stack-group {
    margin-bottom: 1.75rem;
    border: 1px solid rgba(100,150,255,0.14);
    border-radius: 10px;
}
.fav-stack-group__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(100,150,255,0.10);
    border-radius: 10px 10px 0 0;
}
.fav-stack-group__name-wrap {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex: 1 1 0;
    min-width: 0;
}
.fav-stack-group__name {
    font-size: .9rem;
    font-weight: 700;
}
.fav-stack-group__count {
    font-size: .78rem;
    color: var(--muted-ink, #9ca3af);
}
.fav-stack-group__actions {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-shrink: 0;
}
.fav-stack-group__actions.is-collapsed .fav-stack-action--expandable {
    display: none;
}
.fav-stack-group__actions:not(.is-collapsed) .fav-stack-action--expandable {
    animation: favBtnReveal 0.22s ease both;
}
.fav-stack-actions-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--ink);
    transition: background 0.18s ease, transform 0.15s ease;
}
.fav-stack-actions-toggle:hover,
.fav-stack-actions-toggle.is-active {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.15);
}
.fav-stack-actions-toggle__minus { display: none; }
.fav-stack-actions-toggle.is-active .fav-stack-actions-toggle__minus { display: block; }
.fav-stack-actions-toggle.is-active .fav-stack-actions-toggle__plus { display: none; }
.fav-stack-btn {
    font-size: .72rem !important;
    padding: .25rem .55rem !important;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fav-stack-cards {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .85rem 1rem;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    max-height: 4000px;
    opacity: 1;
    transition: max-height 0.38s ease, opacity 0.26s ease, padding 0.32s ease;
}
/* ── Stack collapse / expand ─────────────────────────────────────────────── */
.fav-stack-group.is-collapsed .fav-stack-cards {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.fav-stack-group__name-wrap {
    cursor: pointer;
    user-select: none;
    transition: opacity .12s;
}
.fav-stack-group__name-wrap:hover { opacity: .82; }
.fav-stack-toggle-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-soft);
    border-radius: 2px;
    background: var(--surface-soft);
    color: var(--muted-ink);
    flex-shrink: 0;
}
.fav-stack-toggle-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 3.2;
}
.fav-stack-group__name-wrap:hover .fav-stack-toggle-icon,
.fav-stack-group__name-wrap:focus-visible .fav-stack-toggle-icon {
    color: var(--ink);
    border-color: var(--finland-blue-200, var(--line-soft));
    background: rgba(0, 53, 128, 0.08);
}
.fav-stack-toggle-icon__minus,
.fav-stack-group:not(.is-collapsed) .fav-stack-toggle-icon__plus {
    display: none;
}
.fav-stack-group:not(.is-collapsed) .fav-stack-toggle-icon__minus {
    display: block;
}
/* ── Stack header thumbnails (visible when collapsed only) ────────────── */
.fav-stack-thumbs {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.22s ease;
}
.fav-stack-group.is-collapsed .fav-stack-thumbs {
    max-width: 440px;
    opacity: 1;
}
.fav-stack-thumbs__more {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--muted-ink, #9ca3af);
    letter-spacing: -0.05em;
    flex-shrink: 0;
    align-self: center;
    padding-left: 1px;
}
.fav-stack-thumb {
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.fav-stack-thumb--empty {
    background: rgba(100,150,255,0.08);
}
.fav-stack-card {
    width: 130px;
    border-radius: 8px;
    border: 1px solid rgba(100,150,255,0.14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.fav-stack-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    flex-shrink: 0;
}
.fav-stack-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fav-stack-card__img--empty {
    background: rgba(100,150,255,0.08);
}
.fav-stack-card__body {
    padding: .45rem .55rem .35rem;
    flex: 1 1 auto;
}
.fav-stack-card__name {
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.fav-stack-card__name:hover { text-decoration: underline; }
.fav-stack-card__price {
    font-size: .7rem;
    color: var(--muted-ink, #6b7280);
    margin-top: .2rem;
}
.fav-stack-card__actions {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: .35rem .45rem;
    border-top: 1px solid rgba(100,150,255,0.08);
    flex-wrap: wrap;
}
.fav-stack-card__btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: .68rem !important;
    padding: .22rem .45rem !important;
    min-width: 0;
    border-radius: 2px !important;
}
.fav-stack-card__btn--icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    flex: 0 0 26px;
    box-sizing: border-box;
    line-height: 1 !important;
    padding: 0 !important;
}
.fav-stack-card__btn--icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.8;
    max-width: none !important;
    flex-shrink: 0;
}
.fav-stack-card { cursor: grab; }
.fav-stack-card--dragging { opacity: 0.30; }
.fav-stack-card--drop-before { outline: 2px solid rgba(100,160,255,0.60); outline-offset: 2px; }
/* Comment preview inside card body */
.fav-stack-card__note {
    font-size: .66rem;
    font-style: italic;
    color: var(--muted-ink, #9ca3af);
    margin-top: .2rem;
    line-height: 1.3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* Inline comment editor */
.fav-stack-card__comment-editor {
    padding: .4rem .5rem .5rem;
    border-top: 1px solid rgba(100,150,255,0.10);
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.fav-stack-card__comment-textarea {
    width: 100%;
    min-height: 52px;
    font-size: .7rem;
    line-height: 1.4;
    padding: .3rem .4rem;
    border-radius: 4px;
    border: 1px solid rgba(100,150,255,0.22);
    background: rgba(15,30,60,0.40);
    color: inherit;
    resize: vertical;
    box-sizing: border-box;
}
.fav-stack-card__comment-btns {
    display: flex;
    gap: .25rem;
}

/* ======================================================================= */
/* ◀ End of  §46d  Sea of Products Sidebar                                  */
/* ======================================================================= */

/* ── Sea page backdrop ─────────────────────────────────────────────────── */
.sea-page {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 70% at 15% 85%, rgba(0,46,115,0.75) 0%, transparent 65%),
        radial-gradient(ellipse 70% 55% at 85% 15%, rgba(0,22,88,0.65) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(2,30,75,0.40) 0%, transparent 80%),
        linear-gradient(180deg, #010e20 0%, #020e22 35%, #011220 65%, #010b18 100%);
}

/* Animated shimmer layers */
.sea-shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.sea-shimmer::before,
.sea-shimmer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: sea-pulse 9s ease-in-out infinite;
}
.sea-shimmer::before {
    width: 700px; height: 500px;
    background: radial-gradient(ellipse, rgba(0,80,200,0.22) 0%, transparent 70%);
    top: 30%; left: -10%;
    animation-delay: 0s;
}
.sea-shimmer::after {
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,60,160,0.18) 0%, transparent 70%);
    top: 10%; right: -5%;
    animation-delay: -4.5s;
}
@keyframes sea-pulse {
    0%, 100% { opacity: 0; transform: scale(0.92) translateY(0); }
    50%       { opacity: 1; transform: scale(1.06) translateY(-20px); }
}

/* Canvas wrap — the pannable viewport */
.sea-canvas-wrap {
    position: absolute;
    inset: 0;
    cursor: grab;
    touch-action: none;
}
.sea-canvas-wrap.is-panning { cursor: grabbing; }

/* The actual large canvas area */
.sea-canvas {
    position: absolute;
    width: 2800px;
    height: 2000px;
    top: 0; left: 0;
    will-change: transform;
}

/* Individual product card */
.sea-card {
    position: absolute;
    width: 100px;
    background: #ffffff;
    border-radius: 6px;
    border: none;
    box-shadow:
        0 3px 10px rgba(0,0,0,0.60),
        0 1px 3px rgba(0,0,0,0.38);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    transform: rotate(var(--sea-rot, 0deg));
    transition: width .18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}
.sea-card:hover,
.sea-card.is-dragging {
    width: 120px;
    box-shadow:
        0 7px 22px rgba(0,0,0,0.75),
        0 0 14px rgba(56,130,246,0.32);
    z-index: 9999 !important;
    transform: rotate(var(--sea-rot, 0deg));
}
.sea-card.is-dragging {
    cursor: grabbing;
    box-shadow:
        0 16px 44px rgba(0,0,0,0.88),
        0 0 22px rgba(56,130,246,0.55);
    transform: rotate(var(--sea-rot, 0deg)) scale(1.15);
    transition: width .18s ease, transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
    z-index: 200;
}
/* ── Media wrap: centered image/video ─── */
.sea-card__media-wrap {
    padding: 5px 0 0;
    background: #fff;
    position: relative;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.sea-card__img,
.sea-card__video {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 3px;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    background: #e8f0fe;
    transition: width .18s ease, height .18s ease;
}
.sea-card:hover .sea-card__img,
.sea-card:hover .sea-card__video,
.sea-card.is-dragging .sea-card__img,
.sea-card.is-dragging .sea-card__video {
    width: 100px;
    height: 100px;
}
.sea-card__video {
    background: #000;
}
.sea-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 2px;
}
.sea-card__badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.5;
}
.sea-card__badge--featured { background: #1d4ed8; color: #fff; }
.sea-card__badge--sale     { background: #dc2626; color: #fff; }
.sea-card__badge--new      { background: #16a34a; color: #fff; }
.sea-card__body {
    padding: 4px 5px 5px;
}
.sea-card__name {
    font-size: 0.56rem;
    font-weight: 600;
    color: #1e3a5f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    margin-bottom: 2px;
}
.sea-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1px 3px;
    min-width: 0;
}
.sea-card__price {
    font-size: 0.56rem;
    font-weight: 700;
    color: #1d4ed8;
    white-space: nowrap;
    flex-shrink: 0;
}
.sea-card__price--sale {
    color: #dc2626;
    font-size: 0.58rem;
}
.sea-card__price--orig {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.48rem;
    font-weight: 500;
}
.sea-card__stars {
    font-size: 0.45rem;
    color: #f59e0b;
    white-space: nowrap;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    line-height: 1;
}
.sea-card__placeholder {
    width: 90px; height: 90px;
    display: flex; align-items: center; justify-content: center;
    background: #dbeafe;
    color: #93c5fd;
    font-size: 0.50rem;
    text-align: center;
    padding: 6px;
    line-height: 1.3;
    transition: width .18s ease, height .18s ease;
}
.sea-card:hover .sea-card__placeholder,
.sea-card.is-dragging .sea-card__placeholder {
    width: 100px; height: 100px;
}

/* HUD toolbar — bottom-centre pill */
.sea-hud {
    position: fixed;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .38rem .7rem;
    background: linear-gradient(135deg, rgba(4,18,58,0.90) 0%, rgba(6,24,72,0.86) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(100,150,255,0.18);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(0,20,80,0.45), 0 1px 0 rgba(120,160,255,0.08) inset;
    pointer-events: auto;
    white-space: nowrap;
}
.sea-hud__count {
    font-size: .72rem;
    font-weight: 700;
    color: rgba(160,200,255,0.75);
    letter-spacing: .03em;
    padding: 0 .3rem;
    font-variant-numeric: tabular-nums;
}
.sea-hud__divider {
    width: 1px;
    height: 1rem;
    background: rgba(100,150,255,0.20);
    border-radius: 1px;
    margin: 0 .2rem;
    flex-shrink: 0;
}
.sea-hud__btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    font-size: .74rem;
    font-weight: 600;
    color: rgba(190,220,255,0.75);
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    white-space: nowrap;
}
.sea-hud__btn:hover {
    background: rgba(60,100,220,0.35);
    border-color: rgba(100,160,255,0.40);
    color: #e0eeff;
    box-shadow: 0 0 10px rgba(80,140,255,0.18);
}
.sea-hud__btn:active {
    background: rgba(40,80,200,0.50);
    color: #fff;
}
.sea-hud__btn svg {
    flex-shrink: 0;
    opacity: .75;
}
.sea-hud__btn:hover svg { opacity: 1; }
.sea-hud__hint {
    font-size: .70rem;
    color: rgba(140,180,255,0.45);
    padding: 0 .3rem;
    user-select: none;
}

/* Count input inside the HUD */
.sea-hud__count-inp {
    width: 52px;
    font-size: .72rem;
    padding: .2rem .4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(100,150,255,0.25);
    border-radius: 5px;
    color: rgba(200,220,255,0.9);
    text-align: center;
    font-variant-numeric: tabular-nums;
    outline: none;
    flex-shrink: 0;
}
.sea-hud__count-inp:focus {
    border-color: rgba(100,160,255,0.55);
}
/* Small variant for All/Shuffle buttons in HUD */
.sea-hud__btn--sm {
    padding: .18rem .5rem !important;
    font-size: .68rem !important;
}
/* Inline "Näytä" label before the count input */
.sea-hud__show-label {
    font-size: .70rem;
    color: rgba(140,180,255,0.60);
    padding: 0 .1rem 0 .25rem;
    user-select: none;
    flex-shrink: 0;
}
/* Category labels drawn on the sea canvas */
.sea-cat-label {
    position: absolute;
    font-size: .72rem;
    font-weight: 700;
    color: rgba(180,220,255,0.90);
    background: rgba(4,16,48,0.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(100,150,255,0.28);
    border-radius: 4px;
    padding: .18rem .6rem;
    letter-spacing: .04em;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1000;
}
/* Zoom modal info badges row */
.sea-zoom-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin-top: .45rem;
}
.sea-zoom-badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    font-size: .70rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 999px;
    border: 1px solid;
    white-space: nowrap;
}
.sea-zoom-badge--featured {
    background: rgba(250,200,40,0.18);
    border-color: rgba(250,200,40,0.45);
    color: #fcd34d;
}
.sea-zoom-badge--sale {
    background: rgba(220,40,60,0.18);
    border-color: rgba(220,40,60,0.45);
    color: #fca5a5;
}
.sea-zoom-badge--new {
    background: rgba(50,200,120,0.18);
    border-color: rgba(50,200,120,0.45);
    color: #86efac;
}
.sea-zoom-badge--fav {
    background: rgba(240,80,130,0.18);
    border-color: rgba(240,80,130,0.45);
    color: #f9a8d4;
}
.sea-zoom-badge--stack {
    background: rgba(80,140,255,0.18);
    border-color: rgba(80,140,255,0.45);
    color: rgba(180,220,255,0.90);
}
.sea-zoom-price--orig {
    font-size: .80rem;
    color: rgba(147,197,253,0.45);
    margin-left: .4rem;
    text-decoration: line-through;
}

/* Zoom overlay modal */
.sea-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1,8,22,0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.sea-zoom-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.sea-zoom-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(4,16,42,0.88);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(99,163,255,0.35);
    border-radius: 6px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.85),
        0 0 60px rgba(30,80,200,0.22),
        inset 0 1px 0 rgba(255,255,255,0.07);
    overflow: hidden;
    width: min(92vw, 440px);
    transform: scale(0.94) translateY(12px);
    transition: transform 0.22s cubic-bezier(.2,.8,.2,1);
}
.sea-zoom-overlay.is-open .sea-zoom-panel {
    transform: scale(1) translateY(0);
}
.sea-zoom-img-wrap {
    width: 100%;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.sea-zoom-img-wrap img {
    width: 100%;
    max-width: 440px;
    height: 280px;
    object-fit: contain;
    display: block;
    padding: 0.5rem;
}
.sea-zoom-img-wrap video {
    width: 100%;
    max-width: 440px;
    height: 280px;
    object-fit: contain;
    display: block;
    background: #000;
    border-radius: .5rem;
}
.sea-zoom-info {
    width: 100%;
    padding: 0.9rem 1.25rem 0.5rem;
    border-top: 1px solid rgba(99,163,255,0.14);
}
.sea-zoom-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--finland-blue-400, #60a5fa) !important;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}
.sea-zoom-price {
    font-size: 0.88rem;
    color: rgba(147,197,253,0.75);
}
.sea-zoom-footer {
    width: 100%;
    padding: 0.65rem 1.25rem 1rem;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(99,163,255,0.10);
}
.sea-zoom-close-x {
    position: absolute;
    top: 0.6rem; right: 0.7rem;
    background: transparent;
    border: none;
    color: rgba(147,197,253,0.55);
    font-size: 1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.2rem 0.35rem;
    border-radius: 3px;
    transition: color 0.15s, background 0.15s;
    z-index: 2;
}
.sea-zoom-close-x:hover {
    color: #fff;
    background: rgba(255,255,255,0.10);
}
.sea-zoom-img-wrap img {
    cursor: zoom-in;
}

/* Fullscreen image viewer */
.sea-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 9900;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    cursor: zoom-out;
}
.sea-fullscreen-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
.sea-fullscreen-overlay img {
    max-width: 96vw;
    max-height: 96vh;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 0 80px rgba(0,0,0,0.9);
    pointer-events: none;
    user-select: none;
}
.sea-fullscreen-close {
    position: fixed;
    top: 1rem; right: 1.25rem;
    background: rgba(10,20,40,0.7);
    border: 1px solid rgba(99,163,255,0.35);
    color: rgba(186,230,253,0.85);
    border-radius: 50%;
    width: 2.2rem; height: 2.2rem;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.sea-fullscreen-close:hover { background: rgba(37,99,235,0.55); color: #fff; }
/* Floating particle dots (CSS only) */
.sea-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}
.sea-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(99,163,255,0.55);
    animation: sea-float linear infinite;
}
.sea-zoom-panel .sea-zoom-img-wrap{
    padding-top: 2.618rem !important;
    padding-left: 0.618rem !important;
    padding-right: 0.618rem !important;
    padding-bottom: 2.5rem !important;
}

.sea-zoom-panel {
    padding-top: 1rem !important;
}

/* ── Regular grid: cart indicator above add-to-cart button ──────────────
   card-in-cart is placed in the DOM inside .mt-3.flex.flex-col, directly
   before the add-to-cart <div class="flex">. No order tricks needed.    */
#catalog-grid .product-card .card-in-cart {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* ── Sea intro / welcome modal ──────────────────────────────────────────── */
.sea-intro-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 10, 24, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}
.sea-intro-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.sea-intro-panel {
    background: linear-gradient(160deg, rgba(12,28,60,0.97) 0%, rgba(8,18,44,0.99) 100%);
    border: 1px solid rgba(99,163,255,0.22);
    border-radius: 1.1rem;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(99,163,255,0.08) inset;
    padding: 2.2rem 2.4rem 2rem;
    max-width: 400px;
    width: calc(100vw - 2.4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .9rem;
    text-align: center;
    color: #c8deff;
}
.sea-intro-wave {
    font-size: 1.5rem;
    letter-spacing: .15em;
    opacity: .55;
    line-height: 1;
    animation: sea-intro-bob 2.6s ease-in-out infinite alternate;
}
@keyframes sea-intro-bob {
    from { transform: translateY(0); opacity: .4; }
    to   { transform: translateY(-4px); opacity: .7; }
}
.sea-intro-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: rgba(255,255,255,0.94) !important;
    letter-spacing: .02em;
    margin: 0;
}
.sea-intro-lead {
    font-size: .82rem;
    color: rgba(180,210,255,0.7);
    margin: 0;
    line-height: 1.5;
}
.sea-intro-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    width: 100%;
    text-align: left;
}
.sea-intro-list li {
    display: flex;
    flex-direction: column;
    gap: .08rem;
    padding: .32rem .55rem .3rem;
    background: rgba(99,163,255,0.07);
    border-radius: .45rem;
    border-left: 2px solid rgba(99,163,255,0.3);
}
.sea-intro-action {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(210,235,255,0.95);
    line-height: 1.35;
}
.sea-intro-desc {
    font-size: .74rem;
    color: rgba(155,195,240,0.62);
    line-height: 1.3;
}
.sea-intro-desc::before { content: '— '; }
.sea-intro-ok-btn {
    margin-top: .4rem;
    min-width: 10rem;
    font-weight: 700;
}
.sea-buy-next-btns {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-top: .9rem;
    width: 100%;
}
.sea-buy-next-btns .btn {
    width: 100%;
    justify-content: center;
    font-weight: 700;
}
#sea-buy-next-modal .sea-intro-title {
    color: rgba(255,255,255,0.94) !important;
}

/* Stack variant selection modal */
.sea-sv-panel { max-width: 28rem; }
.sea-sv-rows {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: .85rem;
    width: 100%;
    max-height: 52vh;
    overflow-y: auto;
    scrollbar-width: thin;
}
.sea-sv-row {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: rgba(99,163,255,0.07);
    border-radius: .5rem;
    border-left: 2px solid rgba(99,163,255,0.3);
    padding: .42rem .6rem;
}
.sea-sv-row__thumb {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: cover;
    border-radius: .3rem;
    flex-shrink: 0;
}
.sea-sv-row__thumb--ph {
    background: rgba(99,163,255,0.12);
}
.sea-sv-row__info {
    flex: 1;
    min-width: 0;
}
.sea-sv-row__name {
    font-size: .78rem;
    font-weight: 600;
    color: rgba(220,240,255,0.92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sea-sv-row__select {
    flex-shrink: 0;
    font-size: .77rem;
    padding: .22rem .38rem;
    border-radius: .35rem;
    border: 1px solid rgba(99,163,255,0.35);
    background: rgba(0,0,0,.35);
    color: rgba(220,240,255,0.92);
    max-width: 9rem;
    cursor: pointer;
}

/* ▶ Start of image-zoom-overlay — shared with shop.css, needed by favourites */
.image-zoom-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.18);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
    cursor: zoom-out;
}
.image-zoom-overlay img {
    display: block;
    width: auto;
    height: auto;
    max-width: 98vw;
    max-height: 98vh;
    object-fit: contain;
    border-radius: 1px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0);
}
.image-zoom-overlay-fx-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.image-zoom-overlay-fx-wrap > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 98vw;
    max-height: 98vh;
    object-fit: contain;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
}
/* ◀ End of image-zoom-overlay */

/* ── Cookie consent — account page section ──────────────────────────────── */
.cookie-consent-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}
.cookie-consent-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 8.25rem;
    padding: 0.85rem;
    border: 1px solid rgba(0, 53, 128, 0.18);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.62);
    cursor: pointer;
}
.cookie-consent-option input {
    margin-top: 0.18rem;
}
.cookie-consent-option span {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.cookie-consent-option small {
    color: var(--muted-600);
    line-height: 1.35;
}
.cookie-consent-policy {
    margin: 0.75rem 0 1rem;
}
.cookie-consent-policy h3,
.cookie-consent-policy h4 {
    color: var(--flag-blue);
    font-weight: 800;
    margin-bottom: 0.35rem;
}
.cookie-consent-current {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(0, 53, 128, 0.16);
    border-radius: 0.5rem;
    color: var(--flag-blue);
    background: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
}
