/*
 * ChamaeleonStyle V5 – Base
 * ==========================
 * Browser normalization and typography. No page-specific layout here.
 */
* {
    box-sizing: border-box;
}

/* V5 design rule: the shop uses square geometry and no drop shadows.
 * !important is intentional because several legacy content files contain
 * inline border-radius / box-shadow declarations. */
*:not(input[type="radio"]):not(input[type="checkbox"]) {
    border-radius: 0 !important;
    box-shadow: none !important;
}

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

body {
    margin: 0;
    background: var(--cs-surface);
    color: var(--cs-text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--cs-red);
}

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

button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.65em;
    color: var(--cs-black);
    line-height: 1.12;
}

h1 {
    font-size: clamp(2rem, 3.1vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(1.45rem, 2.2vw, 2.2rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 1em;
}

table {
    border-collapse: collapse;
}

hr {
    height: 1px;
    margin: 28px 0;
    border: 0;
    background: var(--cs-border);
}

::selection {
    background: var(--cs-red);
    color: #fff;
}
