.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.6rem 1.8rem;
  justify-content: left;
  padding-left: 0;
}

.product-cards > li,
.product-cards > li.catalog-mosaic-item {
  background: none !important;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  list-style-type: none;
  position: static;
  transition: none;
}

.product-cards > li:hover {
  transform: none;
}

.cover-home,
.cover-list-page {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  padding-bottom: 2rem;
}

.home-loading {
  min-height: 280px;
}

.cover-home-section-title {
  font-weight: 800;
  margin: 0;
}

.cover-ribbon-header {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  margin: 0.5rem 0 0.75rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.cover-ribbon-header > .cover-home-section-title {
  flex: 0 0 auto;
  max-width: max-content;
  white-space: nowrap;
  width: auto;
}

.cover-ribbon-nav {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.35rem;
}

.cover-ribbon-admin-summary {
  color: #667085;
  flex: 0 0 auto;
  margin-left: 0.25rem;
}

.cover-ribbon-count {
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  color: #344054;
  font-weight: 700;
  padding: 0.12rem 0.35rem;
  white-space: nowrap;
}

.cover-ribbon-current-switch .mud-switch-label {
  font-size: 0.78rem;
}

.cover-rail {
  width: 100%;
}

.cover-rail-head,
.cover-list-head {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cover-rail-title {
  color: #111827;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.cover-rail-title-row {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cover-rail-catalog-link {
  color: #673ab7;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.cover-rail-catalog-link:hover,
.cover-rail-catalog-link:focus-visible {
  text-decoration: underline;
}

.cover-rail-subtitle {
  color: #667085;
  display: block;
}

.cover-rail-products,
.cover-home-product-row {
  display: grid;
  gap: 0.75rem;
  grid-auto-columns: 200px;
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 0.1rem 0 0.7rem;
  scroll-snap-type: x proximity;
}

.cover-rail-products-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fill, minmax(235px, 235px));
  justify-content: start;
  padding: 0.1rem 0 0.7rem;
}

.cover-home-infinite-sentinel {
  height: 1px;
  width: 100%;
}

.cover-list-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 200px));
}

.cover-ribbon-section {
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.cover-ribbon-shell {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.cover-ribbon-shell-scrollable {
  padding: 0 0.15rem;
}

.cover-ribbon-viewport {
  max-width: 100%;
  min-width: 0;
  overflow: hidden !important;
  width: 100%;
}

.cover-ribbon-list {
  box-sizing: border-box;
  cursor: grab;
  display: grid;
  gap: 3.5rem;
  grid-auto-columns: 225px;
  grid-auto-flow: column;
  -ms-overflow-style: none;
  overflow: hidden !important;
  padding: 0.2rem 0.6rem 0.8rem;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
}

.cover-ribbon-list-dragging {
  cursor: grabbing;
  user-select: none;
}

.cover-ribbon-list::-webkit-scrollbar {
  display: none !important;
  height: 0;
  width: 0;
}

.cover-ribbon-scroll.mud-button-root {
  background-color: #fff !important;
  border: 1px solid #e9dff8;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.18);
  color: #673ab7 !important;
  height: 36px;
  min-width: 42px;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  width: 42px;
}

.cover-ribbon-scroll.mud-button-root .mud-icon-root {
  color: #673ab7 !important;
}

.cover-ribbon-scroll.mud-button-root:hover,
.cover-ribbon-scroll.mud-button-root:focus-visible {
  background-color: #673ab7 !important;
  color: #fff !important;
}

.cover-ribbon-scroll.mud-button-root:hover .mud-icon-root,
.cover-ribbon-scroll.mud-button-root:focus-visible .mud-icon-root {
  color: #fff !important;
}

.cover-ribbon-scroll.mud-button-root:disabled,
.cover-ribbon-scroll.mud-button-root.mud-disabled {
  background-color: #f7f7f7 !important;
  border-color: #e0e0e0;
  box-shadow: none;
  color: #b7b7b7 !important;
}

.cover-ribbon-scroll.mud-button-root:disabled .mud-icon-root,
.cover-ribbon-scroll.mud-button-root.mud-disabled .mud-icon-root {
  color: #b7b7b7 !important;
}

.cover-ribbon-item {
  margin-bottom: 15px;
  min-width: 0;
}

.cover-ribbon-collage {
  aspect-ratio: 1 / 1;
  border: 1px solid #d0d5dd;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  width: 100%;
}

.cover-ribbon-collage-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
}

.cover-ribbon-tile {
  align-items: center;
  background: #f2f4f7;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}

.cover-ribbon-tile img {
  display: block;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  width: 100%;
}

.cover-ribbon-placeholder {
  color: #98a2b3;
  font-size: 0.8rem;
  font-weight: 800;
  overflow: hidden;
  padding: 0.25rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-ribbon-title {
  color: #101828;
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 0.35rem;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-ribbon-button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
  width: 100%;
}

.cover-ribbon-button:hover,
.cover-ribbon-button:focus-visible {
  color: #673ab7;
  outline: none;
  text-decoration: underline;
}

.cover-ribbon-item-selected .cover-ribbon-collage {
  border-color: #673ab7;
  box-shadow: 0 0 0 3px rgba(103, 58, 183, 0.18);
}

.cover-ribbon-item-selected .cover-ribbon-title {
  color: #673ab7;
}

.cover-ribbon-date {
  color: #101828;
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
  margin-top: 0.45rem;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-ribbon-subtitle {
  color: #101828;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-ribbon-item-past .cover-ribbon-title,
.cover-ribbon-item-past .cover-ribbon-date,
.cover-ribbon-item-past .cover-ribbon-subtitle {
  color: #c62828;
}

.cover-product-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  scroll-snap-align: start;
  width: 100%;
}

.cover-product-card-readonly .cover-product-image {
  cursor: default;
}

.cover-product-image {
  aspect-ratio: 1 / 1;
  background: #f2f4f7;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  position: relative;
  width: 100%;
}

.cover-product-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cover-product-image-empty {
  align-items: center;
  color: #667085;
  display: flex;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.cover-product-badge {
  background: #1f7a5b;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  left: 0.5rem;
  line-height: 1rem;
  padding: 0.25rem 0.45rem;
  position: absolute;
  top: 0.5rem;
}

.cover-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.32rem;
  padding: 0.5rem;
}

.cover-product-line {
  color: #101828;
  display: block;
  font-size: 0.88rem;
  line-height: 1.15rem;
  overflow: hidden;
  text-align: left;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-product-article,
.cover-product-detail {
  font-weight: 800;
}

.cover-product-meta {
  align-items: center;
  color: #667085;
  display: grid;
  font-size: 0.74rem;
  gap: 0.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  min-height: 1.45rem;
}

.cover-product-meta span {
  background: #f2f4f7;
  border: 1px solid #eaecf0;
  overflow: hidden;
  padding: 0.12rem 0.28rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-product-price-row {
  align-items: baseline;
  display: flex;
  flex: 1 1 auto;
  font-size: 0.78rem;
  gap: 0.22rem;
  justify-content: flex-start;
  min-width: 0;
}

.cover-product-price {
  color: #101828;
  font-size: 0.93rem;
  font-weight: 800;
  white-space: nowrap;
}

.cover-product-price-login {
  color: #673ab7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cover-product-price-login:hover,
.cover-product-price-login:focus-visible {
  color: #4a2a82;
}

.cover-product-base-price {
  color: #667085;
  font-size: 0.72rem;
  text-decoration: line-through;
  white-space: nowrap;
}

.cover-product-actions {
  align-items: center;
  display: flex;
  gap: 0.3rem;
  justify-content: space-between;
}

.cover-product-stepper {
  align-items: center;
  border: 1px solid #d0d5dd;
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 24px 26px 24px;
  height: 32px;
}

.cover-product-stepper span {
  color: #7a3a0a;
  font-weight: 700;
  text-align: center;
}

.cover-product-cart {
  height: 32px;
  min-width: 34px;
  width: 34px;
}

.cover-admin-dialog .mud-dialog-content {
  background: #fff;
  overflow-x: auto;
}

.cover-admin-dialog-title {
  font-style: italic;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.cover-admin-table {
  border-bottom: 1px solid #d0d5dd;
  border-left: 1px solid #d0d5dd;
  display: grid;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.cover-admin-table > * {
  align-items: center;
  border-right: 1px solid #d0d5dd;
  border-top: 1px solid #d0d5dd;
  display: flex;
  min-height: 2rem;
  min-width: 0;
  overflow: hidden;
  padding: 0.2rem 0.35rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cover-admin-table > div {
  font-weight: 800;
}

.cover-admin-refer-table {
  grid-template-columns: 0.65fr 1.25fr 1fr 1.6fr 0.55fr 0.9fr 0.9fr 0.75fr 0.75fr;
}

.cover-admin-cover-table {
  grid-template-columns: minmax(130px, 1fr) minmax(90px, 0.7fr) minmax(90px, 0.7fr) minmax(210px, 1.6fr) minmax(85px, 0.7fr) minmax(90px, 0.8fr) minmax(80px, 0.65fr) minmax(150px, 1fr) minmax(150px, 1fr);
}

.cover-admin-offers {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.cover-admin-offer-table {
  grid-template-columns: minmax(130px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr);
}

.cover-admin-table-title {
  grid-column: 1 / -1;
  justify-content: center;
}

.cover-admin-warning {
  font-style: italic;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 700px) {
  .cover-rail-products,
  .cover-home-product-row {
    grid-auto-columns: 190px;
  }

  .cover-rail-products-grid {
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  }

  .cover-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cover-ribbon-list {
    gap: 1.35rem;
    grid-auto-columns: minmax(210px, 78vw);
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .cover-ribbon-scroll {
    height: 40px;
    min-width: 40px;
    width: 40px;
  }

  .cover-ribbon-shell-scrollable {
    padding: 0;
  }

  .cover-admin-refer-table,
  .cover-admin-cover-table,
  .cover-admin-offer-table {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    overflow-x: auto;
  }

  .cover-admin-offers {
    grid-template-columns: 1fr;
  }
}
