@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --color-primary: #D71921;
  --color-secondary: #222534;
  --color-success: #198754;
  --color-info: #0dcaf0;
  --color-warning: #fd7e14;
  --color-danger: #dc3545;
  --color-light: #f8f9fa;
  --color-dark: #212529;
  --color-white: #ffffff;
  --t4-heading-color: #2B2D42;
  --body-bg-color: #ffffff;
  --body-text-color: #666666;
  --body-link-color: #D71921;
  --body-link-hover-color: #D10024;
  --mainnav-text-color: #495057;
  --mainnav-link-color: #202634;
  --mainnav-link-hover-color: #D71921;
  --mainnav-link-active-color: #D71921;
  --footer-bg-color: #15161D;
  --footer-text-color: #ffffff;
  --footer-link-color: #D71921;
  --footer-link-hover-color: #D71921;
  --heading-font-family: 'Montserrat', Arial, sans-serif !important;
  --body-font-family: 'Open Sans', Arial, sans-serif !important;
}

:focus-visible {
  outline-color: var(--color-primary);
}

@media (min-width: 768px) {
  .only-mobile {
    display: none;
  }
}

/* Pattern: Primary */
.t4-palette-blue {
  background-color: #D71921;
  color: #f8f9fa;
}

/* Navbar */

.t4-palette-mainnav {
  background-color: #ffffff;
  color: #202634;
}

.t4-palette-mainnav a:hover {
  color: #D71921;
}

.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:hover,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:focus,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:active,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:hover,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:focus,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:active {
  color: #D71921;
}

.t4-palette-mainnav .t4-megamenu .navbar-nav>li.animating>.nav-link {
  color: #D71921;
}

.t4-palette-mainnav .t4-megamenu .navbar-nav>li.active>a,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li.active>.nav-link {
  color: #D71921;
}

.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:hover .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:focus .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li a:active .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:hover .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:focus .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li .nav-link:active .item-caret {
  border-top-color: #D71921;
}

.t4-palette-mainnav .t4-megamenu .navbar-nav>li.active>a .item-caret,
.t4-palette-mainnav .t4-megamenu .navbar-nav>li.active>.nav-link .item-caret {
  border-top-color: #D71921;
}

/* Sub navigation */
.t4-palette-mainnav .t4-megamenu .navbar-nav li.active li.active .nav-link {
  color: #D71921;
}

.t4-palette-mainnav .nav>li a:hover,
.t4-palette-mainnav .nav>li a:focus,
.t4-palette-mainnav .nav>li a:active,
.t4-palette-mainnav .nav>li .nav-link:hover,
.t4-palette-mainnav .nav>li .nav-link:focus,
.t4-palette-mainnav .nav>li .nav-link:active {
  color: #D71921;
}

.t4-palette-mainnav .nav>li.active>a,
.t4-palette-mainnav .nav>li.active>a.nav-link .t4-palette-mainnav .nav>li.active:hover>a,
.t4-palette-mainnav .nav>li.active:hover>a.nav-link {
  color: #D71921;
}

/* Sub nav */
.t4-palette-mainnav .nav>li.active li a {
  color: #202634;
}

.t4-palette-mainnav .nav li.active li a:hover,
.t4-palette-mainnav .nav li.active li a:focus,
.t4-palette-mainnav .nav li.active li a:active {
  color: #D71921;
}

.t4-palette-mainnav .nav li.active li.active>a {
  color: #D71921;
}

.t4-header,
.t4-offcanvas .t4-off-canvas-header {
  background-color: #15161D;
  border-bottom: solid 3px #D71921;
}

#t4-header .eshop-cart .eshop-items>a i {
  color: #ffffff;
}

.t4-col.eshop-cart {
  display: flex;
  justify-content: end;
  align-items: center;
}

.eshop-content {
  padding: 10px;
}

.t4-header .t4-row.row {
  justify-content: space-between;
  align-items: center;
}

.t4-col.eshop-cart #eshop-cart {
  margin: auto;
}

#t4-header #eshop-quote .eshop-quote-items>a {
  font-size: 15px;
  font-weight: bold;
  line-height: 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  padding: 10px 8px 10px 12px;
  text-transform: uppercase;
}

#t4-header .eshop-quote .eshop-quote-items>a i {
  color: #ffffff;
  font-size: 30px;
}

.btn.js-offcanvas-trigger.t4-offcanvas-toggle.c-button {
  padding: 0;
}

/* Logo next to cart on mobile */
@media (max-width: 768px) {
  #t4-header .t4-section-inner .t4-col.logo {
    width: 50%;
  }
}

/* Section: t4 top bar */

@media (max-width: 992px) {
  .t4-top-bar {
    display: none;
  }
}

.eshop-topmenu .custom {
  height: 100%;
  display: flex;
}

.header-links-wrapper {
  display: flex;
  align-items: center;
}

ul.header-links {
  margin-bottom: 0;
}

.header-links li {
  display: inline-block;
  margin-right: 15px;
  font-size: 16px;
}

.header-links li:last-child {
  margin-right: 0px;
}

.header-links li a {
  color: #FFF;
}

.header-links li a:hover {
  color: #D10024;
}

.header-links li i {
  color: #D10024;
  margin-right: 5px;
}

@media only screen and (max-width: 991px) {
  .header-links.pull-left {
    float: none !important;
  }

  .header-links.pull-right {
    float: none !important;
    margin-top: 5px;
  }
}

.footer-contact .header-links-wrapper {
  justify-content: center;
}

#t4-top-breadcrumbs .bg-overlay {
  opacity: 1;
}

#t4-main-menu {
  border-bottom: 3px solid #E4E7ED;
  font-family: var(--heading-font-family);
  z-index: 100;
}

/* Grid */

@media (min-width: 992px) {
  .com_eshop.view-product .t4-main-body .t4-col.col-md {
    width: 100%;
  }
}

/* Carousel settings */

.container-banner {
  margin: 0px;
}

.carousel-inner {
  background-color: #15161D;
  height: auto;
}

.carousel-item img {
  width: 100%;
  height: auto;
  /* Adjusts height based on image size */
  object-fit: contain;
  /* Ensures the whole image is visible */
}

.carousel-caption {
  height: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  color: white;
}


.carousel-caption .carousel-caption-centered {
  padding: 30px;
  background-image: #15161D;
  width: 100%;
  text-align: center;
}

.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3,
.carousel-caption h4 {
  font-size: 2rem;
  color: white;
}

@media (width < 768px) {
  .carousel-caption .carousel-caption-centered {
    background: rgba(0, 0, 0, 0.7);
  }

  .carousel-caption {
    left: 5% !important;
    right: 5% !important;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

@media (width >=768px) {
  .carousel-caption .carousel-caption-centered {
    width: 75%;
    padding: 60px;
    text-align: left;
  }

  .carousel-caption h1 {
    font-size: 3rem;
  }

  .carousel-caption .carousel-caption-centered img {
    margin: 0;
  }
}

@media (width >=992px) {
  .carousel-caption .carousel-caption-centered {
    width: 60%;
    padding: 60px;
    text-align: left;
  }

  .carousel-caption .carousel-caption-centered img {
    margin: 0;
  }
}

@media (width >=1200px) {
  .carousel-caption .carousel-caption-centered {
    width: 50%;
    padding: 60px;
    text-align: left;
  }

  .carousel-caption .carousel-caption-centered img {
    margin: 0;
  }
}

.carousel-indicators [data-bs-target] {
  background-color: var(--color-primary);
  border: 3px white solid;
  width: 10px;
  height: 10px;
  border-radius: 10px;
}

/* Double carousel */

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active.flex.row {
  display: flex;
  flex-direction: row;
  --t4-gutter-x: 0;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active.flex.row .col-md-6 {
  padding-left: 0;
  padding-right: 0;
}

/* Styling buttons and inputs */

.form-select,
.form-control,
select,
.t4-module .eshop-filter .input-group-addon {
  border-radius: 0px;
}

.input-group-addon .icon-search {
  border-radius: 0px;
}

/* Styling breadcrumbs */
.breadcrumb {
  padding: 20px 1rem;
}

.breadcrumb li {
  padding-top: 5px;
  padding-bottom: 5px;
}

.t4-top-breadcrumbs {
  background-color: #FBFBFC;
  border-bottom: 1px solid #E4E7ED;
  font-family: var(--heading-font-family);
}

.breadcrumb .icon {
  display: none;
  font-weight: 700;
}

.breadcrumb .pathway,
.breadcrumb-item {
  text-transform: uppercase;
  color: #8D99AE;
  font-size: .8rem;
}

.breadcrumb .pathway:hover {
  color: var(--body-link-hover-color);
}

.breadcrumb-item.active {
  color: var(--t4-heading-color);
}

.breadcrumb-item .divider {
  padding: 0px 15px;
  color: #8D99AE;
}

/* Styling cathegory page - product list */

.eshop-filter .eshop-filter-reset-all {
  border: none;
}

.t4-module .eshop-filter>a {
  background-color: transparent;
  color: #2B2D42;
  text-transform: uppercase;
  font-size: 1.2;
  font-weight: 600;
}

.eshop-filter .panel-collapse,
.eshop-filter:nth-last-child(2) .panel-collapse {
  border: none;
}

.panel-collapse .input-group-addon .icon-search::before {
  margin-top: 3px;
}

.eshop-container>hr:first-of-type {
  display: none;
}

.eshop-categories-list .eshop-category-wrap,
.eshop-sub-categories-list .eshop-category-wrap {
  border: none;
}

.eshop-product-sorting b,
.eshop-product-show b {
  font-weight: normal;
  text-transform: uppercase;
}

.panel-body select#product_in_stock {
  width: 100% !important;
}

#eshop-price.panel-collapse .panel-body {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

select {
  font-family: var(--body-font-family);
}

.ajax-block-product {
  box-shadow: 0px 0px 0px 0px #E4E7ED, 0px 0px 0px 1px #E4E7ED;
}

.ajax-block-product:hover {
  box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px var(--color-primary);
}

.eshop-info-block h4.eshop-product-title {
  text-align: center;
  font-weight: 700;
}

.eshop-info-block h4.eshop-product-title a:hover {
  color: var(--color-primary);
}

#products-list {
  padding-left: 1rem;
  padding-right: 1rem;
}

div#cboxOverlay {
  background: #15161D;
}

.t4-module .eshop-filter .badge-info {
  background: transparent;
  color: #666;
  font-weight: normal;
}

.t4-module .eshop-filter .badge-info:after {
  border-right-color: #666;
}

/* REMOVE RESET BECAUSE OF A BUG */
.eshop-filter .eshop-filter-reset-all {
  display: none;
}

/* Category - product list */

.sortPagiBar .btn:focus {
  color: white;
}

.blog-list .item-readmore .search .btn-toolbar .eshop-buttons a.quote:before,
.eshop-buttons .blog-list .item-readmore .search .btn-toolbar a.quote:before,
.eshop-buttons .btn-primary.quote:before,
.eshop-buttons .search .btn-toolbar .blog-list .item-readmore a.quote:before,
.eshop-buttons .search .btn-toolbar .quote.btn:before,
.grid .eshop-buttons .btn-primary.quote:before,
.search .btn-toolbar .blog-list .item-readmore .eshop-buttons a.quote:before,
.search .btn-toolbar .eshop-buttons .quote.btn:before {
  content: none;
}

.btn.btn-primary:focus {
  color: white;
}

/* Quote and cart modal */

#cboxContent .controls a {
  margin: 5px;
}

/* Product detail */

.product-info .product-desc,
.product-info .buttons-info,
.product-info .product-cart {
  padding: 10px 5px;
  border-bottom: 1px solid #E7E7E7;
}

.product-cart .eshop-quantity {
  margin: 0;
}

.blog-list .item-readmore a,
.btn {
  --t4-btn-padding-x: 30px;
  --t4-btn-padding-y: 10px;
  --t4-btn-border-radius: 200px;
  padding: var(--t4-btn-padding-y) var(--t4-btn-padding-x);
}

.com-content-category-blog .readmore {
  text-align: center;
}

.buttons-info {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .product-info .product-cart {
    text-align: left;
  }

  .product-cart {
    align-items: center;
  }
}

.product-image.cboxElement img {
  width: 100%;
}

.product-info .image-additional .slick-next,
.product-info .image-additional .slick-prev {
  top: 40%;
}

.product-info .image-additional .slick-prev.slick-arrow {
  left: 23px;
}

.btn.btn-primary {
  text-transform: uppercase;
  font-weight: bold;
  border: solid var(--color-primary) 3px;
}

.btn.btn-secondary {
  text-transform: uppercase;
  font-weight: bold;
  border: solid var(--color-secondary) 3px;
}

.btn.btn-primary:hover {
  opacity: none;
  color: var(--color-primary);
  background: transparent;
}

.product-info .product-short-desc {
  border-bottom: 1px solid #E7E7E7;
  padding: 10px 5px;
}

/* Cart and quote cart */

.success {
  border-radius: 0px;
}

.eshop-mini-quote-info td {
  border-bottom: none;
}

.eshop-mini-quote-info table {
  border-bottom: 1px solid #E4E7ED;
}

.eshop-quote-content {
  right: 40%;
  width: 400px;
  max-width: 400px;
}

@media (max-width: 768px) {
  .eshop-quote-content {
    right: -40px;
  }
}

.eshop-quote-content .checkout {
  padding-top: 0.5rem;
}

/* Advantages section */

.advantages {
  display: grid;
  margin: 3rem 0;
  padding: 2rem 0;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}

.advantages>div {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantages h2,
.advantages h3,
.advantages h4 {
  font-size: 20px;
  margin-top: 1rem;
}

.advantages.advantages-left h2,
.advantages.advantages-left h3,
.advantages.advantages-left h4 {
  font-size: 16px;
  margin-top: 1rem;
}

.advantages img {
  margin-top: 0.5rem;
  width: 30%;
  height: auto;
}

.advantages.advantages-left img {
  margin-top: 0;
}

.advantages.advantages-5 {
  margin: 0 0;
}

@media (min-width: 992px) {
  .advantages {
    grid-template-columns: repeat(4, 1fr);
  }

  .advantages>div {
    border-right: 1px solid #E4E7ED;
  }

  .advantages>div:last-of-type {
    border-right: none;
  }

  .advantages.advantages-5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .advantages.advantages-5 img {
    width: 20%;
  }

  .advantages-left>div {
    flex-direction: row;
    border-left: 1px solid #E4E7ED;
    border-right: none;
    text-align: left;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
  }

  .advantages.advantages-left h2,
  .advantages.advantages-left h3,
  .advantages.advantages-left h4 {
    margin-bottom: 0;
    margin-top: 0;
  }
}

@media (max-width: 992px) {
  .advantages div {
    padding: 1rem;
  }

  .advantages img {
    width: 50%;
  }
}

/* Category list */

.module .eshop-category-wrap {
  position: relative;
  overflow: hidden;
  margin: 15px 0px;
}

.module .eshop-category-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  width: 50%;
  background: var(--color-primary);
  opacity: 0.9;
  -webkit-transform: skewX(-45deg);
  -ms-transform: skewX(-45deg);
  transform: skewX(-45deg);
  z-index: 5;
  pointer-events: none;
  cursor: pointer;
}

@media (max-width: 992px) {
  .module .eshop-category-wrap::before {
    width: 70%;
  }
}

.module .eshop-category-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1px;
  width: 100%;
  background: var(--color-primary);
  opacity: 0.9;
  -webkit-transform: skewX(-45deg) translateX(-100%);
  -ms-transform: skewX(-45deg) translateX(-100%);
  transform: skewX(-45deg) translateX(-100%);
  z-index: 5;
  pointer-events: none;
  cursor: pointer;
}

.module .eshop-category-wrap img {
  width: 100%;
}

.module .eshop-category-wrap .eshop-info-block {
  position: absolute;
  top: 0;
  width: 60%;
  padding: 30px;
  z-index: 10;
  text-align: left;
  pointer-events: none;
  cursor: pointer;
}

.module .eshop-categories-list .eshop-category-wrap .eshop-info-block {
  background-color: transparent;
}

.module .eshop-categories-list .eshop-category-wrap .eshop-info-block h5,
.eshop-categories-list .eshop-category-wrap .eshop-info-block h5 a {
  font-size: 1.7rem;
  color: white;
}

.module .eshop-category-wrap:hover .image>a>img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.module .eshop-category-wrap .image>a>img {
  z-index: 1;
  position: relative;
  transition: 0.2s all;
}

/* Category page */

/* .t4-main-body .eshop-categories-list .eshop-category-wrap .image, .t4-main-body .eshop-sub-categories-list .eshop-category-wrap .image {
  display: none;
} */

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap .eshop-info-block {
  background-color: var(--color-secondary);
  border-radius: 100px;
}

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap .eshop-info-block h5 {
  margin: 0;
}

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap .eshop-info-block a {
  color: white;
}

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap:hover .eshop-info-block {
  opacity: 0.85;
}

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap .image>a>img {
  transition: 0.2s all;
}

.t4-main-body .eshop-sub-categories-list .eshop-category-wrap:hover .image>a>img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.grid .ajax-block-product .eshop-image-block:hover .eshop-buttons {
  top: 40%;
}

#products-list {
  gap: 1.5%;
}

.products-list-container.block.grid #products-list .col-6 {
  width: 49.25%;
}

@media (min-width: 768px) {
  .products-list-container.block.grid #products-list .col-md-4 {
    width: 32.3%;
  }
}

@media (max-width: 992px) {
  .product-price {
    gap: 0.5rem;
  }
}



.eshop-info-block .eshop-product-price {
  display: flex;
  flex-direction: column;
}

.products-list-container.block.grid #products-list .eshop-product-price,
.products-list-container.block.grid #products-list .eshop-info-block .eshop-product-price .eshop-sale-price,
.products-list-container.block.grid #products-list .eshop-info-block .eshop-product-price .eshop-base-price {
  text-align: center;
}

.eshop-info-block .eshop-product-price .eshop-base-price {
  font-weight: light;
  font-size: 18px;
  line-height: normal;
}

.eshop-base-price,
.eshop-base-price {
  color: var(--t4-heading-color);
}

#t4-featured-product .eshop-price,
#t4-featured-product .eshop-sale-price {
  float: none;
  text-align: center;
}

.products-list-container.block.list #products-list .eshop-product-title {
  text-align: left;
  font-size: 20px;
  line-height: normal;
  margin-top: 0;
  margin-bottom: 0;
}

.products-list-container.list .eshop-buttons {
  text-align: right;
  margin: 15px;
  float: right;
  align-content: end;
}

.products-list-container.list .eshop-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products-list-container.list .eshop-info-block {
  float: none;
  width: 100%;
  padding: 0;
}

.products-list-container.list .eshop-info-block.eshop-pricebuy-block {
  display: flex;
  justify-content: space-between;
}

.products-list-container.list .ajax-block-product.spanbox {
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .products-list-container.list .ajax-block-product.spanbox {
    flex-direction: column;
  }
}

.products-list-container.list .eshop-buttons {
  position: inherit;
  margin: 0;
}

.products-list-container.list .eshop-image-block {
  width: 100%;
}

.products-list-container.list .eshop-info {
  width: 100%;
}

.products-list-container .eshop-attibutes {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.products-list-container.grid .eshop-attibutes {
  font-size: 14px;
  justify-content: center;
  gap: 0.5rem;
}


.products-list-container.list .eshop-wrap-image {
  display: flex;
  align-items: center;
}

.products-list-container.list .ajax-block-product.spanbox {
  border-bottom: none;
}

.products-list-container.list .eshop-info-block .eshop-product-price {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.products-list-container.list .eshop-info-block .eshop-product-price>div {
  align-content: end;
}

.products-list-container.list .eshop-info-block .eshop-product-price .eshop-product-price-novat {
  font-size: 14px;
  font-weight: light;
}

.products-list-container.list .eshop-info-block .eshop-product-price .eshop-product-price-novat .product-price {
  color: #222534;
  font-size: 18px;
  font-weight: bold;
}

.products-list-container.list .eshop-buttons p,
.products-list-container.list .eshop-buttons .eshop-cart-area {
  margin-bottom: 0;
}

.products-list-container.list .eshop-buttons .btn.btn-primary {
  opacity: none;
  color: var(--color-primary);
  background: transparent;
}

.products-list-container.list .eshop-buttons .btn.btn-primary:hover {
  opacity: none;
  color: white;
  background: var(--color-primary);
}


@media (max-width: 992px) {
  .products-list-container.list .eshop-buttons {
    display: none;
  }
}

.grid .eshop-buttons .btn-primary:before {
  top: 14px;
}

.grid .eshop-table,
.products-list-container.list .eshop-table {
  width: 100%;
}

.grid .eshop-attibutes,
.grid .eshop-product-price {
  margin-bottom: 1rem;
}

.grid .eshop-info-block {
  padding: 0px;
}

.grid .ajax-block-product .eshop-info {
  padding: 10px;
}

#products-list>* {
  padding: 0;
}

/* Pagination */

.pagination {
  --t4-pagination-border-radius: 0;
  flex-wrap: wrap;
  justify-content: end;
}

@media (max-width: 992px) {
  .pagination {
    padding: 0.5rem;
  }

  .pagination li {
    margin-bottom: 0.3rem;
  }
}

.page-link,
.page-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Inputs */

/* select {
  border-radius: var(--bs-border-radius);
} */

/* Helper classes */

.hide-mobile,
.hide-desktop {
  display: block;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }
}

/* Youtube video iframe */

.video-youtube {
  text-align: center;
  padding: 2rem;
}

.video-youtube iframe {
  height: auto;
  width: 50%;
  min-height: 360px;
}

@media (max-width: 768px) {
  .video-youtube {
    text-align: center;
    padding: 1rem 0rem;
  }

  .video-youtube iframe {
    width: 100%;
    min-height: 300px;
  }
}

/* Product description */

.product-info joomla-tab>joomla-tab-element,
joomla-tab[view="accordion"],
joomla-tab[view="accordion"] joomla-tab-element[active] {
  box-shadow: none;
  border: none;
}


/* Related products */

#related-products .related_products_main .eshop-info-block .row {
  justify-content: center;
}

#related-products .related_products_main {
  padding: 0 0;
  box-shadow: 0px 0px 0px 0px #E4E7ED, 0px 0px 0px 1px #E4E7ED;
}

#related-products .related_products_main:hover {
  box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px var(--color-primary);
}

#related-products .price {
  color: var(--color-primary);
  clear: both;
  display: block;
  font-size: 15px;
  font-weight: bold;
  line-height: normal;
  width: 100%;
  margin-bottom: 1rem;
}

.slick-slide>div {
  padding: 0.5rem;
}

#related-products .btn-primary:before {
  display: none;
}

/* Select form */

select.form-control {
  appearance: auto !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;
}

/* Alert box */

.alert,
.com_config #page-site .h1,
.com_config #page-site h1,
.contact .contact-miscinfo {
  border-radius: 0px;
}

/* Forms */

.row .form-group .form-control {
  min-width: 100%;
}

.row .form-group {
  padding: 0.5rem;
}

.row hr {
  margin-top: 1rem !important;
  margin-bottom: 1rem;
}

.form-control-label {
  margin-bottom: 0.5rem;
}

/* Footer */

#t4-footer .t4-col.footer.col-sm.col-md-7 {
  width: 100%;
}

.container-header,
.footer {
  background-image: none;
}

.footer .grid-child {
  background-color: #15161D;
  box-shadow: none;
}

.footer {
  margin-top: 35px;
}

.mod-footer {
  width: 100%;
}

.footer {
  background-color: #15161D;
}

.footer-logo {
  width: 100%;
  text-align: center;
  padding: 1rem 0rem;
}

.footer-logo img {
  width: 30%;
}

@media (max-width: 768px) {
  .footer-logo img {
    width: 70%;
  }
}

.footer-copyright {
  text-align: center;
  padding: 1rem 0rem;
}

.footer-contact {
  text-align: center;
  padding: 1rem 0rem;
}

.mod-footer h2 {
  font-size: 1.5rem;
  text-align: center;
  color: white;
}

.footer-socials,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2rem;
  font-size: 1.5rem;
  justify-content: center;
  padding: 1rem;
}

.footer-socials a:hover {
  color: var(--cassiopeia-color-primary) !important;
}

.footer-links a {
  text-transform: uppercase;
  font-family: var(--cassiopeia-font-family-headings);
  color: white;
  font-family: var(--heading-font-family);
  font-weight: 700;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  text-decoration: none;
  color: var(--color-primary);
}

/* Off-canvas menu */

.t4-offcanvas .t4-off-canvas-header .close:active span,
.t4-offcanvas .t4-off-canvas-header .close:focus span,
.t4-offcanvas .t4-off-canvas-header .close:hover span {
  -webkit-transform: none;
  transform: none;
}

.t4-offcanvas .t4-off-canvas-header .close {
  background-color: transparent;
}

.t4-offcanvas .t4-off-canvas-header .close span {
  color: white;
  margin-top: 1px;
}

.t4-offcanvas .t4-off-canvas-body .t4-module .module-inner {
  padding: 0px;
}

/* Responsivity of product page */

@media (max-width: 768px) {
  .com_eshop .page-title.eshop-title {
    font-size: 1.5rem;
  }

  .eshop-next-nav a.float-end,
  .eshop-pre-nav a.float-start {
    margin-top: 20px;
  }

  joomla-tab[view="accordion"]>button,
  joomla-tab>joomla-tab-element {
    display: block !important;
  }

  joomla-tab[view="accordion"]>button[aria-expanded="true"],
  joomla-tab[view="accordion"]>button:focus,
  joomla-tab[view="accordion"]>button {
    pointer-events: none;
    cursor: not-allowed;
    padding-left: 0px;
  }

  joomla-tab button[aria-expanded="true"]:after {
    display: none;
  }
}

joomla-tab>joomla-tab-element {
  border-radius: 0px;
}

joomla-tab button[aria-expanded="true"]:after {
  background-color: var(--color-primary);
}

joomla-tab[view="accordion"]>button[aria-expanded="true"],
joomla-tab[view="accordion"]>button:focus,
joomla-tab[view="accordion"]>button {
  background: transparent;
  border: none;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

joomla-tab button[aria-expanded="true"]:after,
joomla-tab button[aria-selected="true"]:after {
  display: none;
}

joomla-tab button[role="tab"][aria-expanded="true"],
joomla-tab button[role="tab"][aria-selected="true"] {
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .product-cart {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 767px) {
  .product-info .product-cart #add-to-cart {
    margin-bottom: 0px;
  }
}

/* Responsivity of pages page */

@media (max-width: 768px) {
  .t4-main-body {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.article-body {
  overflow: hidden;
}

/* Hide captcha badge */

.grecaptcha-badge {
  visibility: hidden !important;
}

/* Category res */

@media (max-width: 768px) {
  .eshop-product-show {
    display: none;
  }
}

/* Checkout */

#quote-form-area form {
  padding: 0.5rem;
}

#quote-form {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.checkout-content>* {
  margin-bottom: 1rem;
}

.eshop-cart .eshop-checkout {
  background: none;
}

.com_eshop.view-checkout .page-title.eshop-title,
.com_eshop.view-compare .page-title.eshop-title {
  display: block;
}

/* Search */

#eshop-search .input-prepend {
  display: flex;
}

#eshop-search .input-prepend .inputbox.product_search {
  padding: 0rem 1rem;
  margin: 0px;
  height: auto !important;
  border-radius: 100px 0px 0px 100px;
}

#eshop-search .input-prepend .btn {
  border-radius: 0px 100px 100px 0px;
  height: 100%;
  margin: 0;
  padding: 0.5rem 1.5rem;
}



@media (max-width: 992px) {
  .t4-col.eshop-search {
    display: none !important;
  }

}

/* @media (max-width: 992px) {
  #t4-main-menu .btn-primary:before {
    display: none !important;
  }

} */

/* Blog */

/* .blog-items > .blog-item {
  padding: 0px;
}  */

.blog-item>div {
  box-shadow: 0px 0px 0px 0px #E4E7ED, 0px 0px 0px 1px #E4E7ED;
  height: 100%;
}

.blog-item>div:hover {
  box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px var(--color-primary);
}

.mod-articles-item.blog-item {
    height: 100%;
}

.mod-articles-title {
  padding: 0 0.5rem;
}

.item-image.pull-left,
.pull-left.item-image {
  margin-right: 0px;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.item-content {
  padding: 1rem;
  padding-bottom: 2rem;
}

.mod-articles-item-content {
  padding-bottom: 1px;
}

.item-content .page-header h2,
.item-content .page-header h2 a,
.mod-articles-item-content h4,
.mod-articles-item-content h4 a {
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

.categories-list .h1,
.categories-list h1,
.page-header .h1,
.page-header h1 {
  margin-bottom: 3rem;
}

.com-content-article__body h1,
.com-content-article__body h2,
.com-content-article__body h3,
.com-content-article__body h4,
.com-content-article__body h5,
.com-content-article__body h6 {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.mod-articles-item-content h4 a:hover {
  color: var(--body-link-color);
}

.mod-articles-item-content h4 {
  margin-top: 2rem;
}

.blog-item .article-info {
  justify-content: center;
}

.mod-articles-date {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.item-image img {
  max-width: 100%;
  height: 15rem;
  width: 100%;
  text-align: center;
  object-fit: cover;
}

h1 {
  margin-bottom: 1.5rem;
}

.categories-list .h1,
.categories-list h1,
.page-header .h1,
.page-header h1 {
  font-size: var(--h1-font-size);
  text-transform: none;
  text-align: center;
}

.item-page .article-info {
  justify-content: center;
  margin-bottom: 1rem;
}

/* Products slider */

.splide__arrow {
  border-radius: 0px;
}

.splide__pagination__page.is-active {
  background: var(--color-primary);
  opacity: 1;
}

.splide__pagination {
  position: relative;
  margin-top: 1rem;
}

.splide .ajax-block-product {
  margin: 2px;
}

.splide .ajax-block-product .eshop-image-block .eshop-buttons {
  position: absolute;
  top: 45%;
  width: 100%;
  text-align: center;
  z-index: 98;
  opacity: 0;
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
}

.splide .ajax-block-product .eshop-image-block:hover .eshop-buttons {
  opacity: 1;
  top: 35%;
}

#t4-featured-product .splide .btn-primary {
  float: none;
}

.splide__list .eshop-info-block .eshop-product-price .eshop-base-price {
  font-size: 12px;
}

.grid .splide__list div.ajax-block-product {
  height: 99%;
}

/* Partners section */

.partner-logo {
  height: 80px;
  /* Fixed height for all logos */
  object-fit: contain;
  width: 100%;
  /* Keep responsive */
}

.eshop-quote-content {
  display: none;
}

form.row {
  margin-left: 0;
  margin-right: 0;
}

/* Responsive search */

#t4-main-menu .eshop-search .btn-primary:before {
  display: none;
}

@media (max-width: 992px) {
  .t4-main-menu>.t4-section-inner.container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #t4-main-menu .eshop-search .btn-primary {
    padding-left: 1.5rem !important;
  }

  #eshop-search .input-prepend .inputbox.product_search {
    border: solid var(--color-primary) 2px;
  }
}


#eshop-search .input-prepend .inputbox.product_search:focus-visible {
  outline: none;
  border: solid #222534 2px;
}

/* Empty search result */

.eshop-empty-search-result {
  text-align: center;
  margin-bottom: 10rem;
}

/* Test drive form */

.machine-card {
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  padding: 0.5rem;
  position: relative;
}

.machine-card input {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 10;
}

.machine-card .machine-content {
  height: 100%;
}

.machine-card .machine-content span {
  padding: 20px 10px;
}

.machine-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: none;
}

.machine-card span {
  display: block;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  font-family: var(--heading-font-family);
  font-weight: 700;
  letter-spacing: var(--heading-letter-spacing);
  color: #333;
}

.machine-card:has(.machine-desc.open) {
  width: 50% !important;
}

@media (max-width: 768px) {
  .machine-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    margin-bottom: none;
  }

  .machine-card span {
    font-size: 13px;
  }

  .machine-card:has(.machine-desc.open) {
    width: 100% !important;
  }
}

.machine-card .machine-content {
  box-shadow: 0px 0px 0px 0px #E4E7ED, 0px 0px 0px 1px #E4E7ED;
  background-color: white;
  position: relative;
}

label.machine-card .machine-content:hover,
.machine-card:has(input:checked) .machine-content {
  box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px var(--color-primary);
  border: none;
}

input[type="radio"]:checked {
  accent-color: var(--color-primary);
}

.machine-content .chevron {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.machine-desc {
  padding: 15px 15px 15px 30px;
  font-size: 14px;
  line-height: 1.4;
  display: none;
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.75s ease, max-height 0.75s ease;
}

.machine-desc.open {
  opacity: 1;
  max-height: none;
  display: block;
}

/* Labels */

.horizontal,
.rotated,
.round {
  box-shadow: none;
}

.round-wrapper {
  position: absolute;
}

.round-wrapper .round {
  border-radius: 4px;
  font-size: 15px;
  box-shadow: none;
  position: relative;
  display: inline-block;
}

.round-wrapper .round.small-db {
  border-radius: 0px;
  font-size: 15px;
  line-height: normal;
  padding: 5px 10px;
  margin-bottom: 3px;
}

.round-wrapper.bottom_left,
.round-wrapper.bottom_left {
  bottom: 0;
  left: 0;
  text-align: left;
}

.round-wrapper.bottom_right,
.round-wrapper.bottom_right {
  bottom: 0;
  right: 0;
  text-align: right;
}

.round-wrapper.top_left,
.round-wrapper.top_left {
  left: 0;
  top: 0;
  text-align: left;
}

.round-wrapper.top_right,
.round-wrapper.top_right {
  right: 0;
  top: 0;
  text-align: right;
}

.round.small-db.bottom_left,
.round.big-db.bottom_left {
  left: 0;
  bottom: 0;
}

.round.small-db.bottom_right,
.round.big-db.bottom_right {
  right: 0;
  bottom: 0;
}

.round.small-db.top_left,
.round.big-db.top_left {
  left: 0;
  top: 0;
}

.round.small-db.top_right,
.round.big-db.top_right {
  right: 0;
  top: 0;
}


.cut-rotated {
  z-index: 100;
}

/* Newsletter form */

.newsletter-form-wrapper {
  box-shadow: var(--t4-box-shadow) !important;
  position: relative;
  min-height: 40vh;
  padding: 5rem 1rem;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.newsletter-form-wrapper>.newsletter-form {
  max-width: 800px;
}

.newsletter-form-wrapper>.newsletter-form h2 {
  margin-bottom: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
}

.newsletter-form-wrapper>.newsletter-form input.form-control {
  min-width: 100%;
}

/* Tables */

tbody th {
  font-weight: normal;
}

/* Articles */

.article-card {
  padding: 1rem;
}

.article-card .article-card-inner {
  padding: 0.5rem 1.5rem;
  background-color: #F5F5F5;
  height: 100%;
}

/* Product list redesign */

.products-list-container .spanbox {
  background-color: #EEEEEE;
}

.eshop-info .eshop-info-block .h4,
.eshop-info .eshop-info-block h4 {
  text-transform: none;
}

.products-list-container.list .eshop-cart-area {
  margin-top: 0;
}

.products-list-container.list .eshop-quantity {
  display: none;
}

.wupicon {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-family: var(--body-font-family);
}

.wupicon::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5rem;
  background-color: currentColor;
  vertical-align: middle;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  min-width: 21px;
  min-height: 21px;
}

.products-list-container.grid .wupicon::before {
  min-width: 16px;
  min-height: 16px;
}

.wupicon-globe::before {
  mask-image: url("../../images/icons/icon-globe.svg");
  -webkit-mask-image: url("../../images/icons/icon-globe.svg");
}

.wupicon-engine::before {
  mask-image: url("../../images/icons/icon-engine.svg");
  -webkit-mask-image: url("../../images/icons/icon-engine.svg");
}

.wupicon-calendar-check::before {
  mask-image: url("../../images/icons/icon-calendar-check.svg");
  -webkit-mask-image: url("../../images/icons/icon-calendar-check.svg");
}

.wupicon-tire::before {
  mask-image: url("../../images/icons/icon-tire.svg");
  -webkit-mask-image: url("../../images/icons/icon-tire.svg");
}

.wupicon-gear::before {
  mask-image: url("../../images/icons/icon-gear.svg");
  -webkit-mask-image: url("../../images/icons/icon-gear.svg");
}

@media (max-width: 480px) {
  #products-list .eshop-image-block {
    padding: 0 0;
    /* width: 35%; */
  }

  #products-list .eshop-info {
    /* width: 65%; */
  }
}

.products-list-container a>.ajax-block-product.spanbox {
  color: var(--body-text-color);
}

@media (min-width: 768px) {

  .products-list-container.list #products-list.row a.col-md-6,
  .products-list-container.list #products-list.row a.col-md-4,
  .products-list-container.list #products-list.row a.col-md-3,
  .products-list-container.list #products-list.row a.col-md-2 {
    width: 100% !important;
  }
}

.products-list-container.block.grid #products-list,
.eshop-product-link {
  position: relative;
}

.products-list-container.block.grid .eshop-product-link,
.products-list-container.block.grid .ajax-block-product {
  height: 100%;
}

.pagination {
  --t4-pagination-focus-color: var(--color-primary);
  --t4-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(215, 25, 33, 0.25);
}

.list .ajax-block-product.spanbox {
  padding-bottom: 0;
}

/* Gallery navigation arrows */

#cboxNext {
  top: 50% !important;
  right: 25px !important;
  left: auto;
}

#cboxPrevious {
  top: 50% !important;
  left: 25px !important;
}

/* Repair gallery */
.product-info .image-additional:not(.slick-initialized) {
	display: flex;
	width: 100%;
	overflow: auto;
}

.product-info .image-additional:not(.slick-initialized) div {
	width: 33%;
	flex-shrink: 0;
	padding: 0 13px;
}

.product-info .image-additional:not(.slick-initialized) div img {
	width: 100%;
}

/* Hide attributes in filter */

.nove-stroje [id^="eshop-filter-attribute-"][id$="-container"]:not(#eshop-filter-attribute-17-container):not(#eshop-filter-attribute-30-container) {
  display: none;
}

.bazar [id^="eshop-filter-attribute-"][id$="-container"]:not(#eshop-filter-attribute-10-container):not(#eshop-filter-attribute-15-container):not(#eshop-filter-attribute-26-container) {
  display: none;
}