:root {
    --color-primary: #9cac6c;
    --color-secondary: #2c2c6c;

    --color-bg: #f7f9fc;
    --color-surface: #ffffff;
    --color-footer: #f7f9fc;

    --color-text: #1f2937;
    --color-text-muted: #6b7280;

    --color-border: #e5e7eb;
    --color-focus: #2c2c6c;

    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, .08);

    --transition-fast: .15s ease;
    --transition-base: .25s ease;

    --container-max: 1200px;
    --container-padding: 1rem;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

main {
    width: 100%;
}

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-secondary);
}

p {
    max-width: 72ch;
    color: var(--color-text);
}

small {
    color: var(--color-text-muted);
}

hr {
    border: none;
    height: 1px;
    background-color: var(--color-border);
}

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

::selection {
    background-color: var(--color-primary);
    color: #ffffff;
}

.product__favorite i.is-favorite,
.product-detail__favorite i.is-favorite {
    color: var(--color-primary);
}


.notify {
    position: fixed;
    top: 3.7rem;
    right: .5rem;
    min-width: 220px;
    max-width: 320px;
    padding: 0.9rem 1.2rem;
    background: var(--color-bg);
    color: var(--color-text);
    border-left: 3px solid var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    opacity: 0;
    transform: translateX(20px) scale(0.96);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
}

.notify--show {
    opacity: 1;
    transform: translateX(0) scale(1);
}


