:root {
    --primary-color: var(--color-primary);
    --secondary-color: var(--color-secondary);
    --text-color: var(--color-text-primary, #000000);
    --muted-color: var(--color-text-secondary, #6B7280);
    --gray-color: var(--color-bg-primary);
    --bg-color: var(--color-bg-primary);
    --card-color: rgba(255, 255, 255, 0.04);
    --line-color: rgba(255, 255, 255, 0.12);
    --radius-base: 12px;
}

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

h1, h2, h3, h4, h5, h6,
.section-title h2,
.section-head h2,
.page-header h1,
.product-title,
.category-card-content h3 {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Keep the sticky header aligned with the same content width used by the store pages. */
.header-main .container {
    max-width: 1200px;
    padding: 0 1.25rem;
}

.section {
    padding: 3.5rem 0;
}

.section-title,
.section-head {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title p,
.section-head .sub {
    color: var(--muted-color);
}

.btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

input,
select,
textarea {
    background: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
}

input::placeholder,
textarea::placeholder {
    color: var(--muted-color);
}

.flash {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.flash.flash-error {
    border-color: rgba(255, 82, 82, 0.6);
}

.flash.flash-success {
    border-color: rgba(16, 185, 129, 0.6);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
}
