:root {
    color-scheme: light;
    --mf-color-background: #F5F0E6;
    --mf-color-text: #212529;
    --mf-color-accent: #C6A664;
    --mf-color-muted: #8F8C86;
    --mf-font-display: 'Playfair Display', serif;
    --mf-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-family: var(--mf-font-body);
    scroll-behavior: smooth;
}

body {
    background-color: var(--mf-color-background);
    color: var(--mf-color-text);
}

.font-display {
    font-family: var(--mf-font-display) !important;
}

.font-body {
    font-family: var(--mf-font-body) !important;
}

.text-charcoal {
    color: var(--mf-color-text) !important;
}

.text-gold {
    color: var(--mf-color-accent) !important;
}

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

.bg-gold {
    background-color: var(--mf-color-accent) !important;
}

.border-gold {
    border-color: color-mix(in srgb, var(--mf-color-accent) 100%, white 0%) !important;
}

.border-gold\/10 {
    border-color: color-mix(in srgb, var(--mf-color-accent) 10%, transparent) !important;
}

.border-gold\/20 {
    border-color: color-mix(in srgb, var(--mf-color-accent) 20%, transparent) !important;
}

.border-gold\/30 {
    border-color: color-mix(in srgb, var(--mf-color-accent) 30%, transparent) !important;
}

.bg-gold\/10 {
    background-color: color-mix(in srgb, var(--mf-color-accent) 10%, transparent) !important;
}

.bg-gold\/20 {
    background-color: color-mix(in srgb, var(--mf-color-accent) 20%, transparent) !important;
}

.bg-cream\/40 {
    background-color: color-mix(in srgb, var(--mf-color-background) 40%, white 60%) !important;
}

.border-mist\/40 {
    border-color: color-mix(in srgb, var(--mf-color-background) 70%, var(--mf-color-text) 10%) !important;
}

.border-mist\/60,
.border-mist\/70,
.border-mist\/80 {
    border-color: color-mix(in srgb, var(--mf-color-background) 70%, var(--mf-color-text) 12%) !important;
}

.hover\:text-gold:hover,
.hover\:text-gold\/80:hover {
    color: var(--mf-color-accent) !important;
}

.hover\:bg-gold:hover,
.hover\:bg-gold\/90:hover {
    background-color: var(--mf-color-accent) !important;
}

.focus-visible\:outline-gold:focus-visible {
    outline-color: var(--mf-color-accent) !important;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease, opacity 150ms ease;
}

a:hover,
a:focus-visible {
    color: var(--mf-color-accent);
}

button {
    font-family: inherit;
}

.badge-pill {
    border-radius: 9999px;
}

.card {
    border-radius: 1.25rem;
    box-shadow: 0 20px 35px rgba(33, 37, 41, 0.08);
}

.card-gradient {
    background: linear-gradient(135deg, rgba(198, 166, 100, 0.08), rgba(33, 37, 41, 0.05));
}

.form-control,
.form-select,
.form-check-input {
    width: 100%;
    border: 1px solid rgba(33, 37, 41, 0.2);
    border-radius: 0.75rem;
    background-color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--mf-color-accent);
    box-shadow: 0 0 0 0.25rem rgba(198, 166, 100, 0.25);
    outline: none;
}

.form-check-input {
    width: auto;
    border-radius: 0.5rem;
}

.form-floating {
    position: relative;
}

.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select {
    padding: 1.5rem 1rem 0.5rem;
}

.form-floating > label {
    position: absolute;
    top: 0.75rem;
    left: 1rem;
    font-size: 0.85rem;
    color: var(--mf-color-muted);
    transition: transform 150ms ease, font-size 150ms ease, color 150ms ease;
    pointer-events: none;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not([value=""]) ~ label {
    transform: translateY(-0.75rem);
    font-size: 0.75rem;
    color: var(--mf-color-accent);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 150ms ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(198, 166, 100, 0.25);
}

.btn-primary {
    background-color: var(--mf-color-accent);
    color: var(--mf-color-background);
    border-color: var(--mf-color-accent);
}

.btn-primary:hover {
    background-color: #b7954f;
}

.btn-outline-primary {
    border-color: var(--mf-color-accent);
    color: var(--mf-color-accent);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: rgba(198, 166, 100, 0.12);
}

.btn-link {
    color: var(--mf-color-accent);
    background-color: transparent;
    border-color: transparent;
}

.btn-link:hover {
    text-decoration: underline;
}

body[data-storefront-button-style="soft"] .rounded-full {
    border-radius: 1.25rem;
}

body[data-storefront-button-style="outline"] a.rounded-full.bg-gold,
body[data-storefront-button-style="outline"] button.rounded-full.bg-gold {
    background-color: transparent !important;
    color: var(--mf-color-accent) !important;
    border: 1px solid var(--mf-color-accent) !important;
}

body[data-storefront-spacing="relaxed"] main[role="main"] > div {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

body[data-storefront-spacing="spacious"] main[role="main"] > div {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.text-danger {
    color: #b71c1c;
}

.validation-summary-errors ul {
    margin: 0.5rem 0 0 1rem;
    font-size: 0.85rem;
    color: #b71c1c;
}
