html, body {
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

h1:focus {
    outline: none;
}

a {
    color: inherit;
}

a.btn-link {
    color: #c76b98;
}

.validation-message {
    color: #c94c64;
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff8fb;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: linear-gradient(135deg, #f6d2df, #fbe9d7);
    padding: 1rem 1rem 1rem 1.25rem;
    color: #4a3728;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #eddfe6;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #c76b98;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c76b98;
}

.artisan-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(185, 118, 154, 0.35);
    background-color: #fdeef6;
}

.mud-theme-dark .artisan-hero {
    border-bottom-color: rgba(232, 164, 196, 0.35);
    background-color: #241920;
}

.artisan-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: cover;
    object-position: center;
}

.artisan-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.20) 35%,
            rgba(0, 0, 0, 0.00) 60%,
            rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

.artisan-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 2;
}

.artisan-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    font-size: clamp(2.5rem, 7vw, 5rem);
}

.artisan-hero-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 2.2vw, 1.4rem);
}

.tiktok-frame iframe {
    width: 100%;
    height: 680px;
    border: 0;
    display: block;
}

.tiktok-lazy-shell {
    min-height: 680px;
    position: relative;
}

.tiktok-lazy-placeholder {
    width: 100%;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.04);
}

.mud-theme-dark .tiktok-lazy-placeholder {
    background-color: rgba(255, 255, 255, 0.04);
}
