@font-face {font-family: 'Clear'; font-weight: 400; font-stretch: normal; src: url("../fonts/Jost-400.woff2") format("woff2"); }
@font-face {font-family: 'Clear'; font-weight: 700; font-stretch: normal; src: url("../fonts/Jost-700.woff2") format("woff2"); }
@font-face {font-family: 'Clear'; font-weight: 900; font-stretch: normal; src: url("../fonts/Jost-900.woff2") format("woff2"); }

.mega {background: #FDDF00; line-height: 1; padding: 0 15px!important; border-radius: 15px; }
.mega .uk-navbar-nav > li > a {min-height: 40px !important;}

.1 {font-size: 1.5rem;}


joomla-alert[type="success"] {background-color: #fff; border-radius: 10px; box-shadow:  0px 11px 15px -7px rgba(0,0,0,.2), 0px 24px 38px 3px rgba(0,0,0,.1), 0px 9px 46px 8px rgba(0,0,0,.1); border-color: transparent; border-top: 3px #17499F; color: #000; position: absolute; top: 25%; left: 50%; transform: translate(-50%, -50%); width: 300px; padding: 40px 20px; z-index: 9;}

joomla-alert .joomla-alert--close {right: -1.85rem; top: -2.3rem;}

.alert-heading {display: none;}
.alert-message {font-weight: 700; text-transform: uppercase; color: #000;}

.colonka {padding: 50px; background: #eee;}

.widget_video {display: block; position: fixed; bottom: 70px; left: 50px; width: 100px; border-radius: 15px; box-shadow: 1px 1px 15px #b3b3b3;}
.widget_video video {border-radius: 15px;}


.hover-section {
    /* background-color: #f5f5f5; */
    transition: background-color 0.4s ease;
}

.hover-section:has(.item-1:hover) {
    background-color: #2f4f4f;
}

.hover-section:has(.item-2:hover) {
    background-color: #3a5fcd;
}

.hover-section:has(.item-3:hover) {
    background-color: #8b4513;
}

.hover-section:has(.item-4:hover) {
    background-color: #8b4518;
}

.hover-section:has(.item-5:hover) {
    background-color: #8b8513;
}

.hover-section:has(.item-6:hover) {
    background-color: #8b4583;
}



/*JoomShopping*/
.tm-qty input.uk-form-width-small{width: 80px;}
.tm-checkout-menu{}

.tm-price{width: 140px;padding-left: 50px;}
.tm-quantity{width: 80px;padding-left: 50px;}

.uk-grid-divider>:not(.uk-first-column)::before {left: 25px;}

.tm_manufacturer_logo {width: 120px;}

.tm-img-product .uk-label{background: none;}
.tm-filter .uk-form-label{width: 130px;}
.tm-filter .uk-form-controls{margin-left: 145px;}
.tm-filter .uk-form-width-small{width: 80px;}
.tm-filter .uk-width-small{width: 110px;}

.tm-image-card {min-height: 140px;}
.tm-image-product {height: 200px;}

.tm-payment-img img{width: 30px;}
.tm-payment-shipping img{width: 140px;}

.uk-alert-success {
  display: none;
}


.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

/* лёгкий zoom при наведении — оживляет карточку */
.video-card:hover video,
.video-card:focus-visible video {}

.video-card:hover .video-card__num, .video-card:hover .video-card__title{color: rgba(255,255,255,.5); transition: all 400ms;}

/* затемнение снизу, чтобы белый текст читался на любом кадре */
.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(8, 15, 35, .65), rgba(8, 15, 35, 0) 50%);
  pointer-events: none;
}

.video-card__num,
.video-card__title {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transition: all 400ms;
}

.video-card__num {
  top: 14px;
  left: 18px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
  opacity: .9;
}

.video-card__title {
  left: 18px;
  right: 18px;
  bottom: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
}

.video-card:focus-visible {
  outline: 3px solid #4da3ff;
  outline-offset: 3px;
}
