/* Skupna postavitev. Znamke in njihove barve sodijo v ločene teme. */
.os-recommendations {
  --os-rec-font: inherit;
  --os-rec-color: #202531;
  --os-rec-price-color: #202531;
  --os-rec-muted: #657080;
  --os-rec-accent: #202531;
  --os-rec-button-bg: #202531;
  --os-rec-button-color: #fff;
  --os-rec-button-border: #202531;
  --os-rec-button-hover-bg: #3d4656;
  --os-rec-button-hover-color: #fff;
  --os-rec-button-hover-border: #3d4656;
  --os-rec-radius: 6px;
  --os-rec-align: left;
  --os-rec-title-size: 24px;
  --os-rec-title-weight: 700;
  --os-rec-name-size: 15px;
  --os-rec-name-weight: 400;
  --os-rec-name-case: none;
  --os-rec-price-size: 20px;
  --os-rec-image-height: 210px;
  max-width: 1300px;
  width: 100%;
  margin: 40px auto;
  padding: 0;
  clear: both;
  color: var(--os-rec-color);
  font-family: var(--os-rec-font);
  font-size: 14px;
  line-height: 1.5;
  text-align: var(--os-rec-align);
  container-type: inline-size;
}
.os-recommendations[hidden] { display: none !important; }
.os-recommendations *, .os-recommendations *::before, .os-recommendations *::after { box-sizing: border-box; }
.os-recommendations .os-rec-title {
  position: static;
  display: block;
  float: none;
  width: auto;
  max-width: none;
  height: auto;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--os-rec-color);
  font-family: var(--os-rec-font);
  font-size: var(--os-rec-title-size);
  font-weight: var(--os-rec-title-weight);
  line-height: 1.25;
  text-align: var(--os-rec-align);
  text-transform: none;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.os-recommendations .os-rec-title::before, .os-recommendations .os-rec-title::after,
.os-recommendations .os-rec-card h3::before, .os-recommendations .os-rec-card h3::after { display: none; content: none; }
.os-recommendations .os-rec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.os-recommendations .os-rec-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.os-recommendations .os-rec-product-link { color: inherit; text-decoration: none; }
.os-recommendations .os-rec-product-link { display: block; }
.os-recommendations .os-rec-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--os-rec-image-height);
  object-fit: contain;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.os-recommendations .os-rec-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  height: 4.2em;
  min-height: 0;
  max-height: none;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--os-rec-color);
  font-family: var(--os-rec-font);
  font-size: var(--os-rec-name-size);
  font-weight: var(--os-rec-name-weight);
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: var(--os-rec-name-case);
  text-align: var(--os-rec-align);
  overflow: hidden;
  overflow-wrap: anywhere;
}
.os-recommendations .os-rec-product-link:hover h3 { color: var(--os-rec-accent); }
.os-recommendations .os-rec-pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 8px;
  min-height: 38px;
  margin: 0 0 12px;
}
.os-recommendations .os-rec-price { color: var(--os-rec-price-color); font-size: var(--os-rec-price-size); font-weight: 700; line-height: 1.3; white-space: nowrap; }
.os-recommendations .os-rec-old-price { color: var(--os-rec-muted); font-size: 13px; line-height: 1.4; white-space: nowrap; }
.os-recommendations .os-rec-cart, .os-recommendations .os-rec-options {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: auto 0 0;
  padding: 10px 12px;
  border: 2px solid var(--os-rec-button-border);
  border-radius: var(--os-rec-radius);
  background: var(--os-rec-button-bg);
  box-shadow: none;
  color: var(--os-rec-button-color);
  font-family: var(--os-rec-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.os-recommendations .os-rec-cart:hover, .os-recommendations .os-rec-options:hover {
  background: var(--os-rec-button-hover-bg);
  color: var(--os-rec-button-hover-color);
  border-color: var(--os-rec-button-hover-border);
}
.os-recommendations .os-rec-status:empty { display: none; }
.os-recommendations .os-rec-status { padding: 8px 0; }
.os-recommendations :focus-visible { outline: 3px solid var(--os-rec-accent); outline-offset: 3px; }
.os-recommendations button:disabled { opacity: .6; cursor: wait; }
@container (max-width: 900px) {
  .os-recommendations .os-rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 600px) {
  .os-recommendations .os-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .os-recommendations .os-rec-title { font-size: 21px; margin-bottom: 24px; }
  .os-recommendations .os-rec-card img { height: 150px; }
  .os-recommendations .os-rec-card h3 { font-size: 14px; }
  .os-recommendations .os-rec-price { font-size: 19px; }
  .os-recommendations .os-rec-cart, .os-recommendations .os-rec-options { font-size: 12px; padding: 10px 6px; }
}
.os-rec-consent { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.os-rec-consent button { font-size: 13px; white-space: normal; }
