

/* Start:/local/components/general_lubricants/tag.page/templates/.default/style.css?17785437704803*/
.tag {
  width: 100%;
}
.tag .heading-1 {
  max-width: 100%;
}
.tag__wrapper {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  padding: clamp(30px, 3.5vw, 60px) 0;
  border-top: 1px solid #ddd;
  align-items: start;
}
.tag-description {
  margin-bottom: 30px;
  padding: 15px;
  background: #f5f5f5;
  border-left: 4px solid #864393;
}
.tag-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}
.tag-item {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition:
    color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}
.tag-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.tag-item-image {
  position: relative;
  overflow: hidden;  
  margin-bottom: 20px;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
}
.tag-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

.tag-item-title {
  font-size: 18px;
  text-align: center;
  line-height: 120%;
  font-weight: 400;
  margin-bottom: 10px;
}
.tag-item-link__wrapper {
  align-content: end;
  flex-grow: 1;
}
.tag-item-link {
  display: inline-block;
  width: 100%;
  padding: 8px 16px;
  background: #864393;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
}
.tag-item-link:hover {
  background: #673272;
}
.tag-content {
  flex-basis: 70%;
  flex-grow: 1;
}
.tags-navigation {
  display: flex;
  position: sticky;
  top: var(--sticky-header-offset, 24px);
  flex-direction: column;
  padding: clamp(10px, 2vw, 20px);
  background: #f8f8fa;
  border: 1px solid #eeeef3;
  border-radius: 6px;
  gap: 20px;
  flex-basis: 350px;
  z-index: 20;
}
.tag-link {
  cursor: pointer;
  transition: background 0.2s;
  font-size: clamp(14px, 2vw, 16px);
  min-width: 250px;
  text-align: left;
  transition: all 0.3s ease-in-out;
}
.tag-link:hover {
  color: #864393;
}
.tag-link.active {
  color: #864393;
  font-weight: 600;
}

@media (max-width: 991px) {
  .tags-navigation {
    position: sticky;
    top: var(--sticky-header-offset, 16px);
    display: flex;
    flex-flow: row;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-basis: 100%;
    z-index: 20;
    background: #f8f8fa;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  }
  .tag-link {
    min-width: auto;
    padding: 10px;
  }
}

/* СТРАНИЦА ТЕГОВ */

.tags-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 30px 0;
  overflow: hidden;
  border-radius: 6px;
}

.tags-grid-item {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  outline: 1px solid #eeeef3;
  outline-offset: -1px;
  background-color: hsla(0, 0%, 86.7%, 0);
  color: #878a92;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.tags-grid-item:hover {
  color: white;
  background: #864393;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tags-grid-link {
  height: 100%;
  width: 100%;
  display: block;
  padding: 40px;
  text-decoration: none;
  color: inherit;
}

.tags-grid-name {
  font-size: 18px;
  line-height: 120%;
  margin-bottom: 10px;
}

.tags-grid-description {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
  transition: all 0.3s ease-in-out;
}

.tags-grid-item:hover .tags-grid-description {
  color: #ffffff9f;
}
@media (max-width: 768px) {
  .tags-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tag-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .tag-item-image {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .tags-grid {
    grid-template-columns: 1fr;
  }
  .tag-items {
    grid-template-columns: 1fr 1fr;
  }  
}
.tag-categories {
  width: 100%;
  padding-top: clamp(10px, 3.5vw, 20px);
}
.category-list {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  padding-left: 0;
}
.category-list li {
  list-style-type: none;
  margin-bottom: 0;
}
.category-link {
  display: flex;
  flex-flow: column;
  padding: clamp(10px, 2vw, 20px);
  border: 1px solid #666;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}
.category-link:hover {
  background: #864393;
  color: #fff;
  border-color: #864393;
}

.category-link:hover {
  background: #864393;
  color: #fff;
  border-color: #864393;
}
.category-iblock {
  font-size: 12px;
  font-weight: 600;
  color: #878a92;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
}

.category-link:hover .category-iblock {
  color: #ffffff85;
}

.tag-categories__wrapper {
  width: 100%;
  padding: clamp(30px, 3.5vw, 60px) 0;
  border-top: 1px solid #ddd;
}

/* End */
/* /local/components/general_lubricants/tag.page/templates/.default/style.css?17785437704803 */
