:root {
    --color-primary:       #2d6a4f;
    --color-primary-light: #40916c;
    --color-accent:        #f4a261;
    --color-bg:            #ffffff;
    --color-surface:       #f8f9fa;
    --color-border:        #e9ecef;
    --color-text:          #1a1a1a;
    --color-text-muted:    #6c757d;
    --color-star:          #f4a261;

    --font-base: system-ui, -apple-system, sans-serif;
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;

    --container: 1100px;
    --radius:    8px;
    --radius-sm: 4px;
    --shadow:    0 1px 3px rgba(0,0,0,.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,.1);
}

html { font-size: 16px; }

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

h1 { font-size: var(--text-3xl); font-weight: 700; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: var(--text-2xl); font-weight: 600; line-height: 1.3; margin: 0 0 1rem; }
h3 { font-size: var(--text-xl);  font-weight: 600; margin: 0 0 .75rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Cookie consent banner */
#sabora-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 9999;
    font-size: .9rem;
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}
#sabora-cookie-banner[hidden] { display: none !important; }

#sabora-cookie-panel {
    background: #f9f9f9;
    border-top: 1px solid #ddd;
    padding: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}
#sabora-cookie-panel[hidden] { display: none !important; }

.cookie-panel-inner { max-width: 800px; margin: 0 auto; }
.cookie-panel-inner h3 { margin: 0 0 1rem; font-size: 1rem; }

.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: .75rem 0;
    border-bottom: 1px solid #e5e5e5;
}
.cookie-category:last-of-type { border-bottom: none; margin-bottom: 0; }
.cookie-category-text { flex: 1; }
.cookie-category-text strong { display: block; font-size: .95rem; margin-bottom: .25rem; }
.cookie-category-text p { margin: 0; color: #666; font-size: .85rem; }
.cookie-category-control { flex-shrink: 0; text-align: right; }
.cookie-toggle-always { font-size: .85rem; color: #1f7a3f; font-weight: 500; }

.cookie-panel-actions {
    display: flex;
    gap: .5rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
#cookie-reject-all {
    padding: .5rem 1.25rem;
    background: transparent;
    border: 1px solid #888;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
}
#cookie-accept-all-panel {
    padding: .5rem 1.25rem;
    background: #1f7a3f;
    border: 1px solid #1f7a3f;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
}

.cookie-banner-bar {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}
.cookie-banner-bar p { margin: 0; max-width: 60ch; }
.cookie-banner-actions { display: flex; gap: .5rem; }
.cookie-banner-actions button {
    padding: .5rem 1.25rem; cursor: pointer;
    border-radius: 4px; font-size: .9rem;
}
#cookie-more-options {
    background: transparent; border: 1px solid #1f7a3f; color: #1f7a3f;
}
#cookie-accept-all {
    background: #1f7a3f; border: 1px solid #1f7a3f; color: #fff;
}
