/* Other */

.color-white h1, 
.color-white h2,
.color-white h3,
.color-white h4,
.color-white p {
  color: var(--color-white);
}

.darkMask {
	filter: brightness(80%)
}

.cross-table__cell {
  border-radius: 0!important;
}


h1, h2, h3, h4 {
  --heading-font-weight: 300;
  color: var(--color-primary)
}

.table--expanded {
  border-bottom: 0;
}

a, .link {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Buttons */
:root {
    --btn-font-size: var(--text-md);
    --btn-padding-x: var(--space-lg);
    --btn-padding-y: var(--space-xs);
    --btn-radius: 50px;
}

.btn {
  font-weight: 700!important;
  text-transform: uppercase!important;
}

.btn--primary {
  background: var(--color-accent-light);
  color: var(--color-white);
  border: 2px solid var(--color-accent-light);
}

.btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn--secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-size: var(--text-xs);
}

.btn--secondary:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
  font-size: var(--text-xs);
}

.btn--accent {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--accent:hover {
  background: var(--color-primary-light);
  color: var(--color-white);
  border: 2px solid var(--color-primary-light);
}

.btn--accent-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--accent-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--link {
  text-decoration: none;
  cursor: pointer;
  color: var(--color-white);
}

.btn--link, .btn--link span, .btn--link path {
  transition: all 0.3s;
}

.btn--link:hover {
  color: var(--color-accent);
}

.btn--link:hover span, .btn--link:hover path {
  border-color: var(--color-accent);
  stroke: var(--color-accent)!important;
}


/* Footer */

@media (min-width: 64rem) {
  .footer-v2__list {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .footer-v2__list > li:first-child .footer-nav {
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
  }
}

.footer-nav {
  display: grid;
  gap: var(--space-xs);
}


.footer-link {
	text-decoration: none;
	color: var(--color-primary-light);
	transition: all 0.3s;
}

.footer-link:hover {
	color: var(--color-primary-dark);
	text-decoration: underline;
}


.footer-socials:hover svg path {
  fill: var(--color-accent);
}

/* Carousel */
:root {
  --carousel-item-auto-size: 290px;
}


@media (min-width: 1023px) {
  .card-news {
    --carousel-item-auto-size: 415px;
    transition: all 0.3s;
  }
}



.card-v2__caption:hover {
  background: linear-gradient(hsla(var(--color-accent-h), var(--color-accent-s), var(--color-accent-l), 0), hsla(var(--color-accent-darker-h), var(--color-accent-darker-s), var(--color-accent-darker-l), 0.9));
}

.card-image {
  transition: opacity 0.3s ease;
}

.carousel__item:hover .card-image {
  opacity: 0.9;
}

.carousel-link_content {
  transition: all ease 0.3s;
}

.carousel-link:hover .carousel-link_content {
  transform: translateY(-10px);
}

/* Grid */
.catalog-card {
  border-radius: 0;
  transition: all 0.3s;
}

.catalog-card:hover {
  background-color: var(--color-bg-dark);
}

.catalog-link-card-figure {
  transition: all 0.3s;
}

.catalog-link-card:hover .catalog-link-card-figure {
  transform: scale(1.2);
}

/* Advantages */
.card-v14-custom {
  background-color: transparent;
  box-shadow: none;
  transition: all 0.3s;
}

.card-v14-custom:hover {
	transform: translateY(-10px);
  box-shadow: none;
  background-color: transparent;
}

.card-v14-custom:hover .link-fx-1, .card-v14-custom:hover p, .card-v14-custom:hover svg {
	color: var(--color-white);
}

.card-v14-custom .link-fx-1::before {
	display: none;
}

.card-v14-custom:hover .icon circle {
	stroke-dashoffset: 200;
	transition: stroke-dashoffset 0.2s 0.1s;
}

.card-v14-custom:hover .icon line {
	transform: rotate(-180deg);
}

.card-v14-custom:hover .icon line:last-child {
	transform: rotate(180deg);
}

.card-v14-custom .link-fx-1 .icon {
	position: static;
	transform: translateX(0%) rotate(90deg);
}

.card-v14-custom .link-fx-1  {
	height: auto;
	padding: 0;
}

/* Slider */

.loop-slideshow .slideshow__content {
  clip-path: unset;
}

.slideshow__item--dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Высота затемнения */
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
  pointer-events: none; /* Чтобы не мешать кликам */
  z-index: 3;
}


.slideshow__height{
  min-height: 100vh;
  height: auto;
}


.slideshow__item-custom{
  justify-content: space-between;
  align-items: flex-center;
}

.loop-slideshow__navigation {
  width: calc(100% - 2 * var(--component-padding));
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max-width-sm);
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 3;
}

.loop-slideshow__nav-item {
  flex: 1;
}

.loop-slideshow__nav-item button::before {
	background-color: var(--color-white);
}

.loop-slideshow__nav-item button {
  width: 100%;
	background-color: rgba(255, 255, 255, 0.6);
  height: 2px;
}

.loop-slideshow__nav-item button:hover {
	background-color: rgba(255, 255, 255, 0.8);
}

.slideshow__btn {
  width: var(--slideshow-btn-height);
  border-radius: 50%;
  border: 1px solid;
  border-color: hsla(0, 0%, 100%, .2);
}

.slideshow__btn:hover {
  border-color: var(--color-accent);
  background-color: transparent;
}

.slideshow__btn:hover .icon {
  color: var(--color-accent);
}


/* Contacts */
.feature-v15 .feature-v15__link{
  background-color: var(--color-accent);
  color: var(--color-white);
}

.feature-v15 .feature-v15__link-custom {
  background-color: var(--color-bg-darker);
  color: var(--color-black);
  border: unset;
}

.feature-v15 .feature-v15__icon{
  font-size: 42px;
}

.feature-v15 .feature-v15__link-custom:hover{
  background-color: var(--color-bg-darker);
  color: var(--color-black);
}


.feature-v15__bg {
  z-index: unset;
}

/* Promo */


/* Promo V2 */

.feature-v5__content {
  background-color: var(--color-bg-darker);
}

/* Promo Images */

.modal-img-btn::after {
  border-radius: var(--radius-md);
}

/* Pomo List */

.hiw-list__counter-custom::before {
  display: none;
}

/* Color Feature */
.color-swatches__list {
  grid-gap: var(--space-sm);
}

@media (max-width: 64rem) {
  .color-swatches__list {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 64rem) {
  .color-swatches__list {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr!important;
  }
  
  .prod-color-feature .color-swatches {
    --color-swatch-size: 64px;
    top: unset;
    transform: unset;
    bottom: var(--space-xl);
  }
}

.color-swatches__item {
  transition: all 0.3s;
}

.color-swatches__item:hover {
  transform: scale(1.2);
}

.color-swatches__item--selected {
  transform: scale(1.2);
}

.color-swatches__item--selected .color-swatches__swatch::before {
  display: none;
}

/* Side Nav */

:root {
  --nav-button-bottom-height: 150px;
}

.toc__wrapper {
	width: 130px;
	height: calc(100% - var(--nav-button-bottom-height));
	
	z-index: 4;
}

.toc__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  opacity: .1;
}

.toc__link {
	color: var(--color-white);
	text-transform: uppercase;
	font-weight: 700;
}

.toc__link::before {
	left: auto;
	right: 0;
}

.toc__link:hover {
	color: var(--color-white);
}

.toc__link:hover::before {
	color: var(--color-white);
	background-color: var(--color-contrast-low);
}

.toc--static .toc__link--selected::before {
	background-color: var(--color-accent-lighter);
}

.toc--static {
	box-shadow: none;
}

.toc--static .toc__link {
	display: flex;
}

.toc--static[class*=position-sticky] {
	top: 50%;
}

/* Car Preview */

.car-preview {
	min-height: 100vh;
	height: auto;

	display: flex;
	align-items: center;

	padding-top: var(--space-xl);
	padding-bottom: var(--space-xl);
}

@media (max-width: 768px) {
	.car-preview {
		align-items: end;
	}
}

@media (max-width: 1023px) {
  .car-preview__bottom {
    height: 500px;
  }
}

@media (min-width: 64rem){
  .car-preview--right .promo__content {
    position: relative;
    padding: var(--space-md);

    border: var(--radius-lg);
  }

  .car-preview--right .promo__content::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: .1;

    border-radius: var(--radius-lg);

    z-index: -1;
  }
}


@media (min-width: 1024px) and (max-width: 1600px) {
	.car-preview--left {
		padding-left: 110px;
	}
}

/* Tabs Accordion */

.tabs__controls-custom {
  width: 100%;
  max-width: max-content;
  border: 1px solid var(--color-primary);
  padding: var(--space-xxxxs);
  border-radius: var(--radius-xl);
  transition: all 0.3s;
  overflow-x: auto;
}

@media (min-width: 1024px) {
  .tabs__controls-custom {
    width: max-content;
  }
}


.tabs__controls-custom .tabs__control {
  border-radius: var(--radius-xl);
  padding: var(--space-xs) var(--space-sm);
  font-weight: 600;
  transition: all 0.3s;
  width: max-content;
}

.tabs__controls-custom .tabs__control[aria-selected=true] {
  background-color: var(--color-bg-darker);
  text-decoration: none;
}

.tabs__controls-custom .tabs__control:focus {
  outline: none;
  outline-offset: unset;
}

/* Page car */

.card-car__chip-wrapper {
	position: absolute;
  left: 10px;
  top: 10px;
}

.chip--car-hit {
	background-color: hsla(var(--color-primary-h), var(--color-primary-s), var(--color-primary-l));
}

.chip--car-stock {
	background-color: #45C655;
}

.thumbslide__nav-item img {
  border-radius: var(--radius-md);
}

.thumbslide__nav-item--active::after {
  border-radius: var(--radius-md);
}


.product-v2 .thumbslide {
  --thumbslide-thumbnail-auto-size: 70px;
  --thumbslide-thumbnail-grid-gap: var(--space-xxxs);
}
