.store-statistics {
    padding-block: clamp(32px, 5vw, 64px);
    background: #f7f9f5;
    border-bottom: 1px solid #e2e8dd;
}
.store-statistics-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 24px;
}
.store-statistics-heading h2 {
    margin: 4px 0 0;
    color: var(--primary-deep);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.store-statistics-heading p { margin: 0; color: #526256; max-width: 42ch; }
.store-statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.store-statistic {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 20px;
    border: 1px solid var(--stat-border);
    border-top: 4px solid var(--stat-color);
    border-radius: 18px;
    background: var(--stat-bg);
    box-shadow: 0 5px 16px #16352706;
    overflow-wrap: anywhere;
}
.store-statistic-categories { --stat-color: #2455a0; --stat-bg: #eef4ff; --stat-border: #cbdcf6; --stat-icon: #dce9ff; }
.store-statistic-products { --stat-color: #28703e; --stat-bg: #eff8ed; --stat-border: #cce3c7; --stat-icon: #dbefd4; }
.store-statistic-orders { --stat-color: #915607; --stat-bg: #fff7e6; --stat-border: #efdbad; --stat-icon: #f9e8c0; }
.store-statistic-popular { --stat-color: #7040a0; --stat-bg: #f7effc; --stat-border: #e2ceef; --stat-icon: #ecdcf7; }
.store-statistic-visitors { --stat-color: #086e79; --stat-bg: #eaf8f9; --stat-border: #bfe2e6; --stat-icon: #d1eef0; }
.store-statistic-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    border-radius: 13px;
    background: var(--stat-icon);
    color: var(--stat-color);
}
.store-statistic-icon svg { width: 24px; height: 24px; }
.store-statistic h3 { margin: 0 0 8px; color: #26362f; font-size: .95rem; line-height: 1.6; }
.store-statistic-value {
    display: block;
    max-width: 100%;
    margin-bottom: 12px;
    color: var(--stat-color);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
}
.store-statistic-product,
.store-statistic-empty {
    max-width: 100%;
    margin-bottom: 12px;
    color: var(--stat-color);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.7;
}
.store-statistic-product { display: flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.store-statistic-product:hover { color: #4e2478; }
.store-statistic-product:focus-visible,
.store-statistics-notes :is(a, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.store-statistic p { margin: auto 0 0; color: #526057; font-size: .8rem; line-height: 1.8; }
.store-statistics-notes { margin-top: 18px; color: #526256; font-size: .78rem; line-height: 1.9; }
.store-statistics-notes p { margin: 4px 0; }
.store-statistics-notes summary { width: fit-content; min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 700; }
.store-statistics-notes details p { max-width: 85ch; }
.store-statistics-notes a { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
    .store-statistics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .store-statistic { padding: 18px 14px; border-radius: 14px; }
    .store-statistic:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .store-statistic-icon { margin-bottom: 12px; }
    .store-statistic-product, .store-statistic-empty { font-size: 1rem; }
}
@media (max-width: 359px) {
    .store-statistics-grid { grid-template-columns: minmax(0, 1fr); }
}
