.chart {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: #f9f9f9;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateX(100%);
    padding: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.chart-header {
    position: sticky;
    top: 0;
    background: #f9f9f9;
    z-index: 10;
}

.show-chart {
    transform: translateX(0);
}

.close-chart {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 30px;
    color: #333;
}

.close-chart:hover {
    color: #bb1e1e;
}

.chart-divider {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #ccc;
}

.sizeguide {
    user-select: none;
    -webkit-user-drag: none;
    cursor: default;
    margin-top: 50px;
    align-items: center;
}

.chart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.58);
    display: none;
    z-index: 1000;
}

.show-chart-overlay {
    display: block;
}

@media (max-width: 768px) {
    .chart {
        width: 75%;
    }
}