/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}*/

/*a, .btn-link {
    color: #006bb7;
}*/

/* =========================
   NAVBAR (FIGMA STYLE)
========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Design tokens — global so scoped components can resolve var(--mw-*).
   (Blazor scoped CSS does not apply :host, so these must live in :root.) */
:root {
    --mw-navy: #1E2A47;
    --mw-navy-dark: #0B1A33;
    --mw-slate: #4A5C7A;
    --mw-border: rgba(169, 183, 204, 0.4);
    --mw-border-light: rgba(169, 183, 204, 0.2);
    --mw-hover: #E6ECF5;
    --mw-danger: #C44545;
    --mw-muted: #A9B7CC;
}


body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Kill bootstrap link styling */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}
/* GLOBAL */
.mw-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 34px;
}

a {
    text-decoration: none;
    color: inherit;
}


/* Validation message */
.validation-message {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #d14343; /* soft premium red */
    font-weight: 500;
}

/* Invalid input */
input.invalid,
input:invalid,
.mw-input.input-validation-error {
    border-color: #d14343;
    background: #fff5f5;
}

/* Focus state */
.mw-input:focus {
    border-color: #1E2A47;
    box-shadow: 0 0 0 2px rgba(30,42,71,0.1);
}

/* Error focus override */
.mw-input.input-validation-error:focus {
    border-color: #d14343;
    box-shadow: 0 0 0 2px rgba(209,67,67,0.1);
}

.mw-auth-logo {
    width: 50px !important;
}

/* Loading Spinner*/


.mw-page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.mw-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #1E2A47;
    border-radius: 50%;
    animation: mw-spin 0.8s linear infinite;
}

@keyframes mw-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Blazor default reconnect UI — replaced by blazor-boot.js + nav progress bar */
#components-reconnect-modal,
#components-reconnect-dialog,
.components-reconnect-container,
.components-rejoin-modal {
    display: none !important;
}

/* Instant feedback while Blazor navigates between pages */
body.mw-nav-loading::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    z-index: 10001;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #1E2A47 35%,
        #4A5C7A 50%,
        #1E2A47 65%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: mw-nav-progress 0.9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mw-nav-progress {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes mw-nav-spin {
    to {
        transform: rotate(360deg);
    }
}

.mw-nav__link.mw-nav--loading,
.mw-mobile-nav__link.mw-nav--loading {
    position: relative;
    opacity: 0.85;
    padding-right: 28px;
}

.mw-nav__link.mw-nav--loading::after,
.mw-mobile-nav__link.mw-nav--loading::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border: 2px solid rgba(30, 42, 71, 0.15);
    border-top-color: #1E2A47;
    border-radius: 50%;
    animation: mw-nav-spin 0.65s linear infinite;
}

.mw-section-loading {
    color: #4A5C7A;
    padding: 24px 16px;
    margin: 0;
}

.mw-product-detail-skeleton {
    min-height: 420px;
    border-radius: 8px;
    background: linear-gradient(90deg, #E6ECF5 25%, #f5f7fa 50%, #E6ECF5 75%);
    background-size: 200% 100%;
    animation: mw-skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes mw-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* Reusable skeleton primitives (MwSkeleton / MwSkeletonSection) */
.mw-skeleton {
    display: block;
    background: linear-gradient(90deg, #E6ECF5 25%, #f5f7fa 50%, #E6ECF5 75%);
    background-size: 200% 100%;
    animation: mw-skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 6px;
}

.mw-skeleton--line {
    height: 14px;
    width: 100%;
}

.mw-skeleton--line-sm {
    height: 10px;
    width: 55%;
}

.mw-skeleton--line-md {
    height: 14px;
    width: 75%;
}

.mw-skeleton--line-lg {
    height: 18px;
    width: 40%;
}

.mw-skeleton--circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.mw-skeleton--pill {
    height: 26px;
    width: 88px;
    border-radius: 999px;
}

.mw-skeleton--block {
    width: 100%;
    min-height: 120px;
}

.mw-skeleton--btn {
    height: 36px;
    width: 72px;
    border-radius: 6px;
}

.mw-skeleton-section {
    width: 100%;
}

.mw-skeleton-section[aria-busy="true"] {
    pointer-events: none;
}


/* removes default link styles on product cards */
.mw-arrivals__card-link,
.mw-featured__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .mw-arrivals__card-link:hover,
    .mw-featured__card-link:hover {
        text-decoration: none;
        color: inherit;
    }
/* BASE TOAST */
.mw-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 99999;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 320px;
    min-width: 260px;
}

/* slide in  */
.mw-toast--visible {
    transform: translateX(0);
}

/* TYPE COLORS */
.mw-toast--success {
    background: #1E2A47;
    color: white;
}

.mw-toast--error {
    background: #ef4444;
    color: white;
}

.mw-toast--warning {
    background: #f97316;
    color: white;
}

.mw-toast--info {
    background: #3b82f6;
    color: white;
}

/* ICON */
.mw-toast__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 14px;
    background: rgba(255,255,255,0.2);
}

/* CONTENT */
.mw-toast__title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 2px 0;
}

.mw-toast__message {
    font-size: 12px;
    opacity: 0.85;
    margin: 0;
}

/* CLOSE BUTTON */
.mw-toast__close {
    background: none;
    border: none;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 14px;
    flex-shrink: 0;
}

    .mw-toast__close:hover {
        opacity: 1;
    }


/* AUTH TABS */
.mw-auth-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 4px;
    gap: 4px;
}

.mw-auth-tab {
    flex: 1;
    padding: 9px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

    .mw-auth-tab.active {
        background: white;
        color: #1E2A47;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .mw-auth-tab:hover:not(.active) {
        color: #1E2A47;
    }

/* INPUT IMPROVEMENTS */
.mw-input:focus {
    border-color: #1E2A47;
    box-shadow: 0 0 0 3px rgba(30, 42, 71, 0.08);
    outline: none;
}

.mw-input::placeholder {
    color: #b0b8c9;
    font-size: 13px;
}

/* REMEMBER ME */
.form-check-input:checked {
    background-color: #1E2A47;
    border-color: #1E2A47;
}

.form-check-label {
    color: #6b7280;
    font-size: 13px;
}

/* MAGIC LINK TAB */
.mw-magic-link {
    text-align: left;
}

    .mw-magic-link .mw-auth-subtitle {
        font-size: 13px;
        color: #6b7280;
        line-height: 1.6;
        text-align: center;
    }

/* AUTH DIVIDER */
.mw-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    font-size: 12px;
    margin: 16px 0;
}

    .mw-auth-divider::before,
    .mw-auth-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #f3f4f6;
    }

/* LINK BUTTON */
.mw-link {
    color: #1E2A47;
    font-weight: 600;
    text-decoration: none;
}

    .mw-link:hover {
        text-decoration: underline;
    }

/* SPINNER */
.mw-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: mw-spin 0.7s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes mw-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* AUTH CARD IMPROVEMENTS */
.mw-auth-card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
}

.mw-auth-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.mw-auth-subtitle {
    color: #6b7280;
    font-size: 14px;
}

/* RESET SUCCESS */
.mw-reset-success {
    text-align: center;
    padding: 16px 0;
}

.mw-reset-success__icon {
    font-size: 48px;
    color: #1E2A47;
}

.mw-btn-primary {
    background: #1E2A47;
    color: white;
    border: none;
    padding: 12px;
    font-weight: 600;
    transition: 0.2s;
}

    .mw-btn-primary:hover {
        background: #162033;
    }

.mw-admin-login__input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px; /*  more rounded */
    border: 1.5px solid #e5e7eb; /*  lighter gray border */
    color: #1E2A47;
    font-size: 14px;
    transition: border-color 0.2s;
    display: block;
    background: white;
}

    .mw-admin-login__input:focus {
        border-color: #1E2A47;
        box-shadow: 0 0 0 3px rgba(30, 42, 71, 0.08);
        outline: none;
    }

    .mw-admin-login__input::placeholder {
        color: #9ca3af;
    }



/* Admin shell styles moved to wwwroot/css/admin-shell.css */

/* Session Expired Modal */
.mw-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mw-modal-session {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mw-modal-title {
    color: #1E2A47;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.mw-modal-text {
    color: #4A5C7A;
    font-size: 14px;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.mw-modal-session .mw-btn-primary {
    width: 100%;
    background: #1E2A47;
    color: white;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

    .mw-modal-session .mw-btn-primary:hover {
        background: #2D3F5F;
    }

/* Performance Chart Section */
.performance-chart-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

    .performance-chart-section .section-title {
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        color: #4A5C7A;
        margin-bottom: 1rem;
    }

.chart-container {
    position: relative;
    height: 200px;
    width: 100%;
}

.chart-loading,
.chart-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #6B7280;
}

.chart-error {
    color: #EF4444;
}




/* =============================================
   ABOUT PAGE — scoped styles
   ============================================= */

/* Load Playfair Display only for this page */

/* Brand tokens (mirroring inline colors from Figma) */
.about {
    --c-ink: #1E2A47; /* primary dark */
    --c-muted: #4A5C7A; /* body / muted */
    --c-soft: #E6ECF5; /* light blue bg */
    --c-line: #A9B7CC; /* borders */
    --c-bg: #FFFFFF;
    --f-display: 'Playfair Display', Georgia, serif;
    color: var(--c-ink);
    background: var(--c-bg);
}


    /* Block-level section defaults */
    .about section {
        box-sizing: border-box;
    }


/* =============================================
   SHARED — eyebrow used by Hero + Craft + Team
   ============================================= */
.about-eyebrow {
    color: var(--c-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 13px;
}

/* =============================================
   SECTION 1 — HERO
   ============================================= */
.about-hero {
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

/* TEXT COLUMN */
.about-hero__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 16px;
    order: 2; /* on mobile, text below image */
}

.about-hero__title {
    color: var(--c-ink);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 800;
    font-size: 34px;
    letter-spacing: -2px;
    line-height: 1.05;
    margin: 0 0 21px;
}

.about-hero__lede {
    color: var(--c-muted);
    font-size: 16px;
    line-height: 28px;
    max-width: 440px;
    margin: 0;
}

/* MEDIA COLUMN */
.about-hero__media {
    flex: 1.618; /* golden ratio vs text column */
    position: relative;
    min-height: 350px;
    order: 1; /* on mobile, image above text */
}

    .about-hero__media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ────── desktop layout ────── */
@media (min-width: 768px) {
    .about-hero {
        flex-direction: row;
    }

    .about-hero__text {
        order: 1;
        padding: 55px;
    }

    .about-hero__media {
        order: 2;
        min-height: 0;
    }

    .about-hero__title {
        font-size: 56px;
    }
}

/* =============================================
   SECTION 2 — PULL QUOTE
   ============================================= */
.about-quote {
    background: var(--c-bg);
    padding: 89px 0;
}

.about-quote__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-quote__text {
    color: var(--c-ink);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: -0.5px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-quote__inner {
        padding: 0 34px;
    }

    .about-quote__text {
        font-size: 36px;
    }
}

/* =============================================
   SECTION 3 — MATERIAL OBSESSION
   ============================================= */
.about-craft {
    background: var(--c-soft);
    padding: 55px 0;
}

.about-craft__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
}

/* MEDIA */
.about-craft__media {
    flex: 1;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    background: var(--c-bg);
    overflow: hidden;
}

    .about-craft__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* TEXT */
.about-craft__text {
    flex: 0.618;
    max-width: 440px;
}

.about-craft__title {
    color: var(--c-ink);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 21px;
    line-height: 1.2;
}

.about-craft__body {
    color: var(--c-muted);
    font-size: 15px;
    line-height: 26px;
    margin: 0 0 13px;
}

    .about-craft__body:last-child {
        margin-bottom: 0;
    }

/* ────── desktop ────── */
@media (min-width: 768px) {
    .about-craft__inner {
        flex-direction: row;
        padding: 0 34px;
        gap: 55px;
    }
}


/* =============================================
   SECTION 4 — TEAM GRID
   ============================================= */
.about-team {
    background: var(--c-bg);
    padding: 55px 0;
}

.about-team__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-team__eyebrow {
    text-align: center;
    margin-bottom: 8px;
}

.about-team__title {
    color: var(--c-ink);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-align: center;
    margin: 0 0 34px;
    line-height: 1.2;
}

/* GRID */
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* CARD */
.about-team__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

/* PHOTO */
.about-team__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--c-soft);
    overflow: hidden;
    flex-shrink: 0;
}

    .about-team__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        filter: grayscale(100%);
    }

/* INFO */
.about-team__info {
    margin-top: 4px;
}

.about-team__name {
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.3;
}

.about-team__role {
    color: var(--c-muted);
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* ────── tablet+ ────── */
@media (min-width: 768px) {
    .about-team__inner {
        padding: 0 34px;
    }

    .about-team__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 34px;
    }

    .about-team__info {
        margin-top: 8px;
    }

    .about-team__name {
        font-size: 15px;
    }
}
/* =============================================
   SECTION 5 — CLOSING QUOTE
   ============================================= */
.about-closing {
    background: var(--c-soft);
    padding: 55px 0;
}

.about-closing__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

.about-closing__text {
    color: var(--c-ink);
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 21px;
}

.about-closing__attribution {
    color: var(--c-muted);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

@media (min-width: 768px) {
    .about-closing__inner {
        padding: 0 34px;
    }

    .about-closing__text {
        font-size: 22px;
    }
}

#mw-offline-banner {
    position: sticky;
    top: 0;
    z-index: 4000;
    background: #1E2A47;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
}

#mw-offline-banner[hidden] {
    display: none;
}

body.mw-offline .hc-chat-launcher,
body.mw-offline .hc-widget {
    display: none !important;
}


