/* Copyright 2026 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #import=//resources/cr_elements/cr_hidden_style_lit.css.js
 * #import=//resources/cr_elements/cr_icons_lit.css.js
 * #import=//resources/cr_elements/cr_shared_vars.css.js
 * #import=//shopping-insights-side-panel.top-chrome/shared/sp_shared_style.css.js
 * #include=cr-hidden-style-lit cr-icons-lit sp-shared-style
 * #css_wrapper_metadata_end */

.section {
  flex-direction: column;
  display: flex;
  padding: 16px;
}

.sp-card {
  padding: 16px;
}

.panel-title {
  color: var(--cr-primary-text-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

.panel-subtitle {
  color: var(--cr-primary-text-color);
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.section-title {
  color: var(--cr-primary-text-color);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.history-subtitle {
  color: var(--cr-secondary-text-color);
  font-size: 12px;
  line-height: 16px;
  margin-top: 8px;
}

#titleSection > .section-details {
  margin-top: 8px;
}

#historySection > .section-details {
  margin-top: 0;
}

.panel-subtitle,
.section-title,
.history-subtitle {
  max-width: 100%;
}

#priceRange {
  overflow: hidden;
}
