@font-face {
    font-family: 'PaulSignature';
    src: url('../font/PaulSignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cinzel-SemiBold';
    src: url('../font/Cinzel-SemiBold.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Cinzel-Regular';
    src: url('../font/Cinzel-Regular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


:root {
    --brand-gold-light: #F2D9C6;
    --brand-gold: #D9C2B0;
    --brand-gold-dark: #B8A07A;
    --brand-gold-medium-dark: #A58F6F;
    --brand-gold-darker: #AE7C20;
    --brand-gold-brown: #82542D;
    --brand-gold-brown-dark: #6B4425;
    --brand-navy-dark: #001122;
    --brand-navy-darker: #0F1524;
    --brand-charcoal: #1A1A1A;
    --brand-cream: #F7F4EF;
    --brand-cream-dark: #F2E3CD;
    --brand-white: #FFFFFF;
    --brand-light-gray: #DEDEDE;
    --brand-text: #333333;
    --brand-muted: #666666;
    --brand-muted-dark: #444444;
    --faq-backcolor: #F5F0EB;
    --faq-summary-backcolor: #E8E0D6;
    --hero-title-fontsize: 2.0rem;
    --hero-title-fontsize-960: 1.8rem;
    --hero-title-fontsize-600: 1.5rem;
    --chip-pending-orange: #FF9800;
    --chip-processing-purple: #5D65EF;
    --chip-delivered-green: #55AE46;
    --chip-cancelled-red: #CE2D5D;
    --chip-in-delivery-blue: #00AAEF;
    --chip-scheduled-orange: #FF9800;
    --chip-completed-green: #55AE46;
    --chip-expired-gray: #565656;
}


html, body {
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--brand-cream);
    color: var(--brand-text);
}

h1, h2, h3, h4, h5, h6, .heading-serif {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--brand-gold-dark);
}

a:hover, .btn-link:hover {
    color: var(--brand-gold);
}

.btn-primary {
    color: #fff;
    background-color: var(--brand-gold-dark);
    border-color: var(--brand-gold-dark);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--brand-gold);
}

/* WCAG 2.1 AA - Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--brand-gold-dark);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--brand-gold-dark);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-charcoal);
    color: white;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Ensure sufficient color contrast for links */
a {
    color: var(--brand-gold-dark);
    text-decoration: underline;
}

a:hover {
    color: var(--brand-charcoal);
}

.content {
    padding-top: 0.25rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    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: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVnaHQ9IjQ5Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIzNSAtNTEpIj48cGF0aCBkPSJNMjYzLjUwNiA1MUMyNjQuNzE3IDUxIDI2NS44MTMgNTEuNDgzNyAyNjYuNjA2IDUyLjI2NThMMjY3LjA1MiA1Mi43OTg3IDI2Ny41MzkgNTMuNjI4MyAyOTAuMTg1IDkyLjE4MzEgMjkwLjU0NSA5Mi43OTUgMjkwLjY1NiA5Mi45OTZDMjkwLjg3NyA5My41MTMgMjkxIDk0LjA4MTUgMjkxIDk0LjY3ODIgMjkxIDk3LjA2NTEgMjg5LjAzOCA5OSAyODYuNjE3IDk5TDI0MC4zODMgOTlDMjM3Ljk2MyA5OSAyMzYgOTcuMDY1MSAyMzYgOTQuNjc4MiAyMzYgOTQuMzc5OSAyMzYuMDMxIDk0LjA4ODYgMjM2LjA4OSA5My44MDcyTDIzNi4zMzggOTMuMDE2MiAyMzYuODU4IDkyLjEzMTQgMjU5LjQ3MyA1My42Mjk0IDI1OS45NjEgNTIuNzk4NSAyNjAuNDA3IDUyLjI2NThDMjYxLjIgNTEuNDgzNyAyNjIuMjk2IDUxIDI2My41MDYgNTFaTTI2My41ODYgNjYuMDE4M0MyNjAuNzM3IDY2LjAxODMgMjU5LjMxMyA2Ny4xMjQ1IDI1OS4zMTMgNjkuMzM3IDI1OS4zMTMgNjkuNjEwMiAyNTkuMzMyIDY5Ljg2MDggMjU5LjM3MSA3MC4wODg3TDI2MS43OTUgODQuMDE2MSAyNjUuMzggODQuMDE2MSAyNjcuODIxIDY5Ljc0NzVDMjY3Ljg2IDY5LjczMDkgMjY3Ljg3OSA2OS41ODc3IDI2Ny44NzkgNjkuMzE3OSAyNjcuODc5IDY3LjExODIgMjY2LjQ0OCA2Ni4wMTgzIDI2My41ODYgNjYuMDE4M1pNMjYzLjU3NiA4Ni4wNTQ3QzI2MS4wNDkgODYuMDU0NyAyNTkuNzg2IDg3LjMwMDUgMjU5Ljc4NiA4OS43OTIxIDI1OS43ODYgOTIuMjgzNyAyNjEuMDQ5IDkzLjUyOTUgMjYzLjU3NiA5My41Mjk1IDI2Ni4xMTYgOTMuNTI5NSAyNjcuMzg3IDkyLjI4MzcgMjY3LjM4NyA4OS43OTIxIDI2Ny4zODcgODcuMzAwNSAyNjYuMTE2IDg2LjA1NDcgMjYzLjU3NiA4Ni4wNTQ3WiIgZmlsbD0iI0ZGRTUwMCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9nPjwvc3ZnPg==) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .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: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--brand-gold-dark);
            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: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Utility helpers */
.brand-gold-text {
    color: var(--brand-gold-dark) !important;
}

.brand-cream-bg {
    background: var(--brand-cream) !important;
}

.section-heading {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    color: var(--brand-charcoal);
}

.section-heading .heading-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.section-heading .heading-divider .line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}

.section-heading .heading-divider .diamond {
    color: var(--brand-gold-dark);
    font-size: 0.6rem;
}

.text-link-arrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-charcoal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.text-link-arrow:hover {
    color: var(--brand-gold-dark);
}

.gold-button {
    background: var(--brand-gold) !important;
    color: #3C2E1F !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.85rem 2rem !important;
    border-radius: 0 !important;
    transition: background 0.2s, color 0.2s;
}

.gold-button:hover {
    background: var(--brand-gold-dark) !important;
    color: #FFFFFF !important;
}

.gold-outlined-button {
    color: var(--brand-charcoal) !important;
    border: 1px solid var(--brand-charcoal) !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.85rem 2rem !important;
    border-radius: 0 !important;
    transition: all 0.2s;
}

.gold-outlined-button:hover {
    background: var(--brand-gold) !important;
    border-color: var(--brand-gold) !important;
    color: #3C2E1F !important;
}

.image-placeholder {
    background: linear-gradient(135deg, #E8E0D8 0%, #DDD5CC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

/* ── Shimmer loading overlay ───────────────────────────────────────── */

.shimmer-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 240px;
    padding: 2rem;
    background: var(--brand-cream);
    border-radius: 4px;
}

.shimmer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 480px;
}

.shimmer-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--brand-light-gray) 0%,
        var(--brand-gold) 50%,
        var(--brand-light-gray) 100%
    );
    background-size: 200% 100%;
    animation: shimmer-sweep 1.6s infinite linear;
}

.shimmer-text {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-muted);
}

@keyframes shimmer-sweep {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Make MudBlazor's default skeleton use the same shimmer gradient */
.mud-skeleton {
    background: linear-gradient(
        90deg,
        var(--brand-light-gray) 0%,
        var(--brand-gold) 50%,
        var(--brand-light-gray) 100%
    ) !important;
    background-size: 200% 100% !important;
    animation: shimmer-sweep 1.6s infinite linear !important;
}

/* Manage Products & Pricing page table hover color */
.products-admin-page {
    --mud-palette-table-hover: #EFE6E1;
}

.stock-chip-in {
    background-color: #55AE46 !important;
    color: #FFFFFF !important;
}

.stock-chip-out {
    background-color: #CE2D5D !important;
    color: #FFFFFF !important;
}

/* Manage Orders status chips */
.status-chip-pending {
    background-color: var(--chip-pending-orange) !important;
    color: #FFFFFF !important;
}

.status-chip-processing {
    background-color: var(--chip-processing-purple) !important;
    color: #FFFFFF !important;
}

.status-chip-in-delivery {
    background-color: var(--chip-in-delivery-blue) !important;
    color: #FFFFFF !important;
}

.status-chip-delivered {
    background-color: var(--chip-delivered-green) !important;
    color: #FFFFFF !important;
}

.status-chip-cancelled {
    background-color: var(--chip-cancelled-red) !important;
    color: #FFFFFF !important;
}

.status-chip-expired {
    background-color: var(--chip-expired-gray) !important;
    color: #FFFFFF !important;
}

/* Payment Information & Webhooks status chips */
.payment-chip-pending {
    background-color: var(--chip-pending-orange) !important;
    color: #FFFFFF !important;
}

.payment-chip-completed {
    background-color: var(--chip-completed-green) !important;
    color: #FFFFFF !important;
}

.payment-chip-failed,
.payment-chip-cancelled {
    background-color: var(--chip-cancelled-red) !important;
    color: #FFFFFF !important;
}

/* Appointment status chips */
.appt-chip-scheduled {
    background-color: var(--chip-scheduled-orange) !important;
    color: #FFFFFF !important;
}

.appt-chip-completed {
    background-color: var(--chip-completed-green) !important;
    color: #FFFFFF !important;
}

.appt-chip-cancelled {
    background-color: var(--chip-cancelled-red) !important;
    color: #FFFFFF !important;
}

/* Task Log status chips */
.task-chip-new {
    background-color: var(--chip-pending-orange) !important;
    color: #FFFFFF !important;
}

.task-chip-processing {
    background-color: var(--chip-processing-purple) !important;
    color: #FFFFFF !important;
}

.task-chip-completed {
    background-color: var(--chip-completed-green) !important;
    color: #FFFFFF !important;
}

.task-chip-failed {
    background-color: var(--chip-cancelled-red) !important;
    color: #FFFFFF !important;
}

/* Consultation calendar view (Blocked Dates and Times dialog) */
.month-calendar {
    display: inline-block;
}

.month-calendar-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brand-navy-dark, #001122);
}

.month-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 38px);
    gap: 4px;
    justify-content: center;
}

.month-calendar-weekday {
    text-align: center;
    font-size: 0.7rem;
    color: #888888;
    padding-bottom: 2px;
}

.month-calendar-day {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #333333;
    cursor: pointer;
    padding: 0;
}

.month-calendar-day:hover:not(:disabled):not(.month-calendar-day-selected) {
    background-color: rgba(184, 160, 122, 0.18);
}

.month-calendar-day-empty {
    visibility: hidden;
}

.month-calendar-day-past {
    color: #C0C0C0;
    cursor: default;
}

.month-calendar-day-today {
    font-weight: 700;
}

.month-calendar-day-selected {
    background-color: #B8A07A;
    border-color: #B8A07A;
    color: #FFFFFF;
}

.month-calendar-day-selected.month-calendar-day-booked {
    background-color: var(--chip-in-delivery-blue);
    border-color: var(--chip-in-delivery-blue);
    color: #FFFFFF;
}

.month-calendar-day-selected.month-calendar-day-partial {
    background-color: var(--chip-pending-orange);
    border-color: var(--chip-pending-orange);
    color: #FFFFFF;
}

.month-calendar-day-selected.month-calendar-day-full {
    background-color: var(--chip-cancelled-red);
    border-color: var(--chip-cancelled-red);
    color: #FFFFFF;
}

.month-calendar-day-full {
    border-color: var(--chip-cancelled-red);
    color: var(--chip-cancelled-red);
    text-decoration: line-through;
}

.month-calendar-day-partial {
    border-color: var(--chip-pending-orange);
    color: var(--chip-pending-orange);
}

.month-calendar-day-booked {
    border-color: var(--chip-in-delivery-blue);
    color: var(--chip-in-delivery-blue);
}

.cal-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid transparent;
    display: inline-block;
    margin-right: 6px;
    flex-shrink: 0;
}

.cal-legend-full {
    border-color: var(--chip-cancelled-red);
}

.cal-legend-partial {
    border-color: var(--chip-pending-orange);
}

.cal-legend-booked {
    border-color: var(--chip-in-delivery-blue);
}

.cal-chip-full {
    background-color: var(--chip-cancelled-red) !important;
    color: #FFFFFF !important;
}

.cal-chip-partial {
    background-color: var(--chip-pending-orange) !important;
    color: #FFFFFF !important;
}

.cal-chip-booked {
    background-color: var(--chip-in-delivery-blue) !important;
    color: #FFFFFF !important;
}

/* Storefront layouts: keep content flush under the custom sticky navbar */
.mud-main-content {
    padding-top: 0 !important;
}

/* MainLayout.razor.css: storefront main min-height must live here — MudMainContent's <main> has no scope-attribute ancestor */
.mud-main-content:not(.admin-main) {
    min-height: calc(100vh - 90px - 42px);
}

/* Admin layout: restore MudBlazor's dense-appbar top spacing so headings aren't covered */
.mud-main-content.admin-main {
    padding-top: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4) !important;
}

/* Icon buttons: keep the box square so the 50% border-radius hover shade is a circle, not an oval */
.mud-icon-button {
    aspect-ratio: 1 / 1;
}

/* Gold-darker text accent for cart prices and secondary cart actions (replaces the primary-blue text) */
.gold-text {
    color: var(--brand-gold-darker) !important;
}

/* Wishlist Remove button: gold background with white text (was error red) */
.wishlist-remove-button {
    background-color: var(--brand-gold) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--brand-gold-dark) !important;
}

.wishlist-remove-button:hover {
    background-color: #CDAF98 !important;
}

/* Brand gold filled button (appointment dialogs) */
.btn-brand-gold {
    background-color: var(--brand-gold-dark) !important;
    color: #FFFFFF !important;
    letter-spacing: 0.1em;
}

.btn-brand-gold:hover {
    background-color: var(--brand-gold-medium-dark) !important;
}

/* Admin drawer: hover text and icon color for nav links */
.admin-drawer .mud-nav-link:hover:not(.mud-nav-link-disabled),
.admin-drawer .mud-nav-link:hover:not(.mud-nav-link-disabled) .mud-nav-link-icon {
    color: #D9C2B0 !important;
}

/* Our Story tagline uses PaulSignature font */
/*.story-tagline {
    font-family: 'PaulSignature', 'Georgia', 'Times New Roman', serif !important;
    font-size: 2.6rem !important;
    color: #B8A07A !important;
    margin-top: 24px !important;
}*/

.productdetail-product-title {
    font-family: 'Cinzel-Regular', 'Playfair Display', serif !important;
    font-size: 2.0rem;
    font-weight: 500;
}
.productdetail-video-title {
    font-family: 'Cinzel-SemiBold', 'Playfair Display', serif !important;
    font-size: 1.0rem;
    font-weight: 500;
}
.productdetail-section-title {
    font-family: 'Cinzel-Regular', 'Playfair Display', serif !important;
    font-size: 2.0rem;
    font-weight: 500;
}

.product-price {
    font-family: 'Cinzel-SemiBold', 'Playfair Display', serif !important;
    font-size: 2.0rem;
    font-weight: 500;
    color: #115514;
}

/* PricingMatrixPanel.razor  */
button.mud-button-root {
    height: 40px;
    min-height: 40px;
    margin-top: 8px;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-inline-start: 12px !important;
    padding-inline-end: 12px !important;
    height: 28px !important;
}
.save-button {
    background-color: #55AE46 !important;
    color: #FFFFFF !important;
}

.cancel-button {
    background-color: #BA164D !important;
    color: #FFFFFF !important;
}
.editing-row-cell {
    background-color: #EFE6E1 !important;
}

/* Product detail: sanitized HTML content for CertificationInfo and CareInstructions */
.formatted-content {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--mud-palette-text-primary);
}

.formatted-content :first-child {
    margin-top: 0;
}

.formatted-content :last-child {
    margin-bottom: 0;
}

.formatted-content p,
.formatted-content ul,
.formatted-content ol,
.formatted-content blockquote {
    margin-bottom: 0.75rem;
}

.formatted-content ul,
.formatted-content ol {
    padding-left: 1.25rem;
}

.formatted-content li {
    margin-bottom: 0.25rem;
}

.formatted-content a {
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

.formatted-content bold {
    font-weight: 700;
}

.formatted-content center {
    display: block;
    text-align: center;
}

/* Ring Size Chart */ 
.rsc-main-section .rsc-main-container {
    width: 85%;
    max-width: 1600px;
    margin: 0 auto;
}
@media (max-width: 960px) {
    .rsc-hero-content {
        flex-direction: column;
        min-height: auto;
        max-height: none;
    }

    .rsc-main-section .rsc-main-container {
        width: 95%;
        margin: 0 auto;
    }
    .rsc-hero-image,
    .rsc-hero-brand,
    .rsc-hero-title-block {
        flex: 0 0 auto;
        width: 100%;
    }

    .rsc-hero-image {
        min-height: 180px;
    }

    .rsc-hero-brand,
    .rsc-hero-title-block {
        padding: 2rem 1.5rem;
    }

    ::deep .rsc-hero-title {
        font-size: 1.825rem !important;
    }

}

@media (max-width: 600px) {
    .rsc-hero-image {
        min-height: 140px;
    }

    .rsc-hero-brand,
    .rsc-hero-title-block {
        padding: 1.75rem 1rem;
    }

    ::deep .rsc-hero-title {
        font-size: 1.4375rem !important;
    }

    .rsc-side-logo {
        max-width: 175px;
        max-height: 112px;
    }
   
    .rsc-main-section .rsc-main-container {
        width: 95%;
        margin: 0 auto;
        padding: 0;
    }
}

/* Size guide dialog: 35% narrower than full width (65% of viewport) — content-driven width */


/* ======================== Privacy Policy ======================== */
.policy-page .policy-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem 0 2rem;
}
.policy-page .policy-divider .line-star {
    color: var(--brand-gold-dark) !important;
    font-size: 1.5rem !important;
}

.policy-page .policy-divider .privacy-line {
    width: 170px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}
.policy-page .policy-divider .TOS-line {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}
.policy-page .policy-divider .refund-line {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}

/* Sign-off block at the end of the Refund / Exchange Policy */
.policy-signoff {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.policy-signoff-star {
    color: var(--brand-gold-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.policy-signoff-brand {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--brand-charcoal);
    margin-bottom: 0.5rem;
}

.policy-signoff-tagline {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--brand-muted);
}

.policy-page .policy-divider .line-star {
    color: var(--brand-gold-dark);
    font-size: 0.7rem;
    line-height: 1;
}

.policy-page .page-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.9rem !important;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-charcoal) !important;
    text-align: center;
}

 /* ===== Page header ===== */

.policy-page .heading-divider-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.75rem 0 2rem;
}

.policy-page .heading-divider-center .line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}

.policy-page .heading-divider-center .diamond {
    color: var(--brand-gold-dark) !important;
    font-size: 0.6rem !important;
}

/* ===== Document card ===== */

.policy-card {
    background: var(--brand-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* ===== Body text (Inter, the theme body font) ===== */

.policy-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--brand-text);
    margin-bottom: 1.5rem;
}

.policy-text {
    font-size: 1.12rem;
    line-height: 1.9;
    color: var(--brand-text);
    margin-bottom: 1.5rem;
}

.policy-text-flush {
    margin-bottom: 0;
}

/* ===== Numbered clauses (Terms of Use) ===== */

.policy-clause {
    display: flex;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.policy-clause-number {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--brand-gold-darker);
    min-width: 2rem;
    line-height: 1.9;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    padding-right: 0.9rem;
}

.policy-clause .policy-text {
    margin-bottom: 0;
}

/* ===== Section headings ===== */

.policy-section-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.28rem !important;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold-brown-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 2.25rem 0 1rem;
}

.policy-section-title::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--brand-gold-dark);
    flex-shrink: 0;
}

/* ===== Inline terms and cross-links ===== */

.policy-term {
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--brand-charcoal);
}

.policy-link {
    font-weight: 700;
    color: var(--brand-gold-brown-dark) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--brand-gold-dark);
    padding-bottom: 1px;
}

.policy-link:hover {
    color: var(--brand-gold-darker) !important;
    border-bottom-color: var(--brand-gold-darker);
}

/* ===== Lists ===== */

.policy-list {
    margin: 0 0 1.5rem 0;
    padding-left: 1.4rem;
    font-size: 1.12rem;
    line-height: 1.5;
    color: var(--brand-text);
}

.policy-list li {
    margin-bottom: 0.4rem;
    padding-left: 0.25rem;
}

.policy-list li::marker {
    color: var(--brand-gold-dark);
}

.non-found-logo {
    border: none;
    outline: none; 
    height:50%;    
    width: 50%;
    max-width: 300px;
    min-width: 300px;
}
/* ========================== Checkout ========================== */
.checkout-line-note {
    margin-top: 12px;
    margin-bottom: 6px;
}
.checkout-bold-text {
    font-weight: 600;
}
.checkout-text-subtotal{
    font-size: 0.95rem;
    font-weight: 500;
}
.checkout-section-title {
    font-family: 'Cinzel', 'Playfair Display', serif !important;
    font-size: 2.0rem !important;
    font-weight: 500 !important;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-navy-dark) !important;
}

/* Snackbar: bottom-left corner, offset 36px from left and bottom edges */
.mud-snackbar-location-bottom-left {
    left: 36px !important;
    bottom: 36px !important;
}
/* ========================== Shopping Cart ========================== */
.cart-section-title {
    font-family: 'Cinzel', 'Playfair Display', serif !important;
    font-size: 2.0rem !important;
    font-weight: 500 !important;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-navy-dark) !important;
}
.cartdrawer-title {
    font-family: 'Cinzel', 'Playfair Display', serif !important;
    font-size: 1.65rem !important;
    font-weight: 500 !important;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-navy-dark) !important;
}
.cart-image-shadow {
    box-shadow: 0 6px 12px rgba(24, 24, 24, 0.20);
}
/* ========================== Customer Account Section ========================== */
.mud-table-head .account-column-header,
th.account-column-header {
    font-weight: 700 !important;
}

/* Bold column headers on all MudTable data grids */
.mud-table-head .mud-table-cell {
    font-weight: 700 !important;
}

/* Brand hover highlight on all MudTable data grid rows */
.mud-table-hover .mud-table-row:hover .mud-table-cell {
    background: #EFE6E1 !important;
}
/* Circular page-number buttons on MudPagination (MudBlazor renders a stadium shape) */
.mud-pagination-item > .mud-button-root {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50% !important;
}

/* ConsultationCalendar: MudPopover content is portaled to the document root, so CSS-isolation scope attributes never reach it — these rules live here instead of ConsultationCalendar.razor.css */
.consultation-calendar-popover .mud-popover-content {
    max-width: 100vw;
}

.consultation-calendar {
    padding: 16px;
    min-width: 320px;
    max-width: 90vw;
    width: max-content;
    box-sizing: border-box;
}
