/* Explain: Base styles, typography, and utility classes for Modish ChiQ. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

button,
a,
select,
input,
textarea {
    font: inherit;
}

::selection {
    background: rgba(163, 126, 76, 0.24);
    color: var(--brand-dark);
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.font-heading {
    font-family: var(--font-heading);
}

.btn-brand {
    background-color: var(--primary-color);
    color: white;
    border: none;
    transition: background-color 0.3s;
}

.btn-brand:hover {
    background-color: var(--primary-hover);
}