:root {
	--color-primary: #0A3D62;
	--color-accent: #1E90FF;
	--color-bg-light: #F5F7FA;
	--color-card-bg: #FFFFFF;
	--color-text-main: #2E2E2E;
	--color-text-secondary: #6C7A89;
	--color-success: #27AE60;
	--color-warning: #E67E22;
}

body {
	background-color: var(--color-bg-light);
	color: var(--color-text-main);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover {
	color: #0f5fcc;
}

/* Header */
.site-header {
	background-color: var(--color-primary);
}

.site-header .navbar-brand {
	font-weight: 600;
	color: #fff;
	width:200px;
}

.navbar-brand img {
	max-width:100%;
}

.site-header .nav-link {
	color: rgba(255,255,255,0.85);
}

.site-header .nav-link:hover {
	color: #ffffff;
}

/* Search */
.search-bar {
	background: #ffffff;
	border-radius: 6px;
	padding: 15px;
	margin: 20px 0;
	position: relative;
}

.search-wrapper {
	position: relative;
	max-width: 600px;
	margin: 0 auto;
}

.search-autocomplete {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: white;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 6px 6px;
	max-height: 400px;
	overflow-y: auto;
	z-index: 1000;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	display: none;
}

.search-autocomplete.show {
	display: block;
}

.autocomplete-item {
	padding: 12px 15px;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.autocomplete-item:hover {
	background-color: #f8f9fa;
}

.autocomplete-item:last-child {
	border-bottom: none;
}

.autocomplete-count {
	font-size: 0.85rem;
	color: var(--color-text-secondary);
	background: #e9ecef;
	padding: 2px 8px;
	border-radius: 12px;
}

/* Sidebar Categories */
.sidebar-categories {
	background: var(--color-card-bg);
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.sidebar-categories h5 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 15px;
	color: var(--color-primary);
}

.category-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.category-item {
	margin-bottom: 8px;
}

.category-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-radius: 6px;
	transition: all 0.2s;
	color: var(--color-text-main);
}

.category-link:hover {
	background-color: #f8f9fa;
	color: var(--color-accent);
}

.category-link.active {
	background-color: var(--color-accent);
	color: white;
}

.category-link.active .category-count {
	background-color: rgba(255,255,255,0.3);
	color: white;
}

.category-count {
	font-size: 0.8rem;
	background-color: #e9ecef;
	padding: 2px 8px;
	border-radius: 12px;
	color: var(--color-text-secondary);
}

/* Cards */
.card {
	border: none;
	border-radius: 10px;
	background-color: var(--color-card-bg);
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.card-title {
	font-size: 1rem;
	font-weight: 600;
}

.card-title.h3 {
	font-size: 1.75rem;
}

.card-text {
	color: var(--color-text-secondary);
	font-size: 0.9rem;
}

/* Status labels */
.status-instock {
	color: var(--color-success);
	font-weight: 500;
}

.status-warning {
	color: var(--color-warning);
	font-weight: 500;
}

.page-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-content .content {
    line-height: 1.8;
}

.page-content .content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.page-content .content h3 {
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.page-content .content h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-content .content p {
    margin-bottom: 15px;
}

.page-content .content ul,
.page-content .content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-content .content li {
    margin-bottom: 8px;
}

.page-content .content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.page-content .content a:hover {
    color: var(--color-primary);
}

.page-content .content blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--color-text-secondary);
    font-style: italic;
}

.page-content .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.page-content .content table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.page-content .content table th,
.page-content .content table td {
    padding: 10px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.page-content .content table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0A3D62 0%, #1E5A8E 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.cookie-text i {
    font-size: 1.5rem;
    color: #FFD700;
}

.cookie-text a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #FFF;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
footer {
	background-color: #0a2e4a;
	color: #d0d7de;
}

/* Mobile sidebar */
@media (max-width: 991px) {
	.sidebar-categories {
		margin-bottom: 20px;
	}
}