:root {
    --primary: #1e3a8a;
    --primary-light: #3b82f6;
    --dark: #0f172a;
    --slate: #334155;
    --gray-bg: #f8fafc;
    --border: #e2e8f0;
    --green: #16a34a;
    --green-bg: #f0fdf4;
    --green-border: #bbf7d0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f1f5f9;
    color: var(--dark);
    line-height: 1.5;
}

.top-reg-banner {
    background: #0f172a;
    color: #f8fafc;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
}

.top-reg-banner span {
    color: #93c5fd;
}

header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.brand-logo {
    background: #1e3a8a;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.brand-info h2 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.brand-info p {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

nav.main-nav {
    display: flex;
    gap: 8px;
}

nav.main-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate);
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

nav.main-nav a:hover, nav.main-nav a.active {
    background: #e0e7ff;
    color: #1e3a8a;
}

.trust-badge-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 6px 12px;
    border-radius: 6px;
}

.trust-stars {
    color: #16a34a;
    font-weight: 800;
    font-size: 14px;
}

.trust-text {
    font-size: 12px;
    font-weight: 700;
    color: #166534;
}

.container {
    max-width: 1240px;
    margin: 24px auto;
    padding: 0 20px;
}

.audit-meta-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.meta-item {
    border-left: 3px solid #3b82f6;
    padding-left: 12px;
}

.meta-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.meta-val {
    font-size: 15px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 2px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-box {
    background: var(--gray-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.kpi-box.highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.kpi-val {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
}

.kpi-lbl {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 4px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 12px;
}

.data-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--slate);
}

.data-table tr:hover {
    background: #f8fafc;
}

.badge-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.badge-green {
    background: #dcfce7;
    color: #15803d;
}

.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.product-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-img-wrap {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.product-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin: 4px 0 8px 0;
    line-height: 1.3;
}

.product-spec {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.product-price {
    font-size: 17px;
    font-weight: 900;
    color: #1e3a8a;
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 14px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reviewer-name {
    font-weight: 800;
    font-size: 14px;
    color: var(--dark);
}

.reviewer-loc {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-left: 6px;
}

.review-stars {
    color: #16a34a;
    font-size: 14px;
    font-weight: 800;
}

.review-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.review-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 20px;
    font-size: 12px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-company h3 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 8px;
}