/* Variables */
body {
  --ji-admin-bar-height: 0px;
  --ji-so-bar-height: 53px;
  --ji-top-bar-height: 43px;
  --ji-header-top-height: 85px;
  --ji-navigation-height: 58px;

  --ji-admin-bar-bottom: calc(var(--ji-admin-bar-height));
  --ji-so-bar-bottom: calc(var(--ji-admin-bar-bottom) + var(--ji-so-bar-height) - 0.5px);
  --ji-top-bar-bottom: calc(var(--ji-so-bar-bottom) + var(--ji-top-bar-height) - 0.5px);
  --ji-header-top-bottom: calc(var(--ji-top-bar-bottom) + var(--ji-header-top-height) - 0.5px);
  --ji-navigation-bottom: calc(var(--ji-header-top-bottom) + var(--ji-navigation-height));
}
body:not(:has(.ji-so-bar)) {--ji-so-bar-height:0px;}
body:is(.admin-logged,.jh-admin-bar):not(.jh-admin-bar-hidden) {--ji-admin-bar-height:25px;}
@media (max-width: 991px) {
    body {--ji-admin-bar-height:0px !important;}
}

/* Delivery bar */
.ji-so-bar {background: #2a314a;color:#fff;width:100%;border-bottom:1px solid #505c86;}
.ji-so-bar .container {display: flex;align-items: center;padding-block:10px;overflow-x:auto;}
.ji-so-bar .container::before, .ji-so-bar .container::after {content:unset;}
.ji-so-bar__title {font-weight: bold;padding-right: 30px;line-height: 1.2;white-space: nowrap;}
.ji-so-bar__items {display: contents;}
.ji-so-bar__method {max-width: 300px;padding-inline: 30px;white-space:nowrap;}
.ji-so-bar__method-name {font-weight: bold;}
.ji-so-bar__method-time {font-size: 0.9em;line-height: 1;}
.ji-so-bar__method-time::before {content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;background: red;}
.ji-so-bar__method.--green .ji-so-bar__method-time::before {background: #319540;}

.free-gift h4 {font-size: 18px;font-weight: bold;display: block;}
.free-gift {border: 1px solid #dadada;padding: 15px;border-radius: 20px;margin-bottom: 25px;}
.free-gift label {cursor: initial;}

.products-block.products .p-bottom .p-tools {flex:0;}
.products-block.products .p.has-tb-coupon-flag .price-final {display: inline-block;}
.products-block.products .p.has-tb-coupon-flag .price strong {font-weight: 700;}
.products-block.products .p .tb-price-coupon {margin-top:5px;color:#1a1a1a;}
.products-block.products .p .tb-price-coupon__price {font-size: 18px;font-weight: 800;color: #b21253;}
.products-block.products .p .tb-price-coupon__code {font-weight: 700;}

.p-detail.has-tb-coupon-flag .price-final span {font-weight: 700;font-size: 25px;color:#333;}
.p-detail .tb-price-coupon {margin-bottom: 10px;}
.p-detail .tb-price-coupon__price {font-size: 28px;font-weight: 800;color: #b21253;}
.p-detail .tb-price-coupon__code {font-weight: 700;color:#333;}
.p-detail .p-detail-info {row-gap:5px;}
.p-detail .p-detail-info .flags {display: contents;}
.p-detail .p-detail-info .flag {max-width: unset;}
.p-info-wrapper .detail-parameters tr:has(.delivery-time) th {border-bottom: 0;padding-bottom: 10px;padding-top:0;}
.p-info-wrapper .shipping-options::before {content: "";display: inline-block;mask: var(--icon-truck--dark) no-repeat center / 100%;width: 24px;height: 18px;background: currentColor;position: relative;top: 3px;margin-right: 2px;}
.p-detail .delivery-time-custom {font-size: 1.0625rem;color:#009901;}
.p-info-wrapper .delivery-time-label {display: none;}
.p-info-wrapper .delivery-time {display: none;}

.qdt-wrap {margin:25px 0;flex:0 0 100%;color:#000;font-size:12pt;font-weight: 400;}
.qdt-wrap>* {max-width: 565px;}
.qdt-title {color:#000;font-weight: bold;font-size:18px;margin: 0 0 10px;}
.qdt-table {width:100%;}
.qdt-table__row td {padding:4px 10px;white-space: nowrap;}
.qdt-table__row.--active td {font-weight: bold;}
.qdt-table__row .qdt-table__price {width:0px;white-space: nowrap;}
.qdt-table__row.--active .qdt-table__price {color:#b21253;}
.qdt-table__row .qdt-table__discount {text-align: right;white-space: unset;}
.qdt-computed {text-align: center;margin:6px 0;font-weight: bold;font-size:17px;}
.qdt-computed__amount {color:#b21253;}
.qdt-note {margin:10px 0 0;font-size: 14px;}

.subcategories.with-image li.parametric {position: relative;}
.subcategories.with-image li.parametric::before {content: '\e910';z-index: 1;background-color: transparent;font-family: shoptet;position: absolute;right: 20px;top: 50%;margin-top: -4px;font-size: 8px;line-height: 8px;color: #000;}
.subcategories.with-image li.parametric:hover::before {color: #5cb359;}
.subcategories.with-image li.parametric a::before {content: ""!important;background-size: contain;background-repeat: no-repeat;right: initial;left: 10px;margin-top: -20px;width: 40px;height: 40px;}

body.in-elektricka-vozitka .subcategories.with-image li.parametric a .text {margin-left: 55px;}
.subcategories.with-image li.parametric a[href*="/blogujeme/udrzba-elektrickych-auticek/"]::before {background-image: url(img/parametric/Jak.jpg);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-audi/"]::before {background-image: url(img/parametric/Audi.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-bmw/"]::before {background-image: url(img/parametric/BMW.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-ford/"]::before {background-image: url(img/parametric/Ford.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-jeep/"]::before {background-image: url(img/parametric/Jeep.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-land-rover/"]::before {background-image: url(img/parametric/LandRover.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-mercedes/"]::before {background-image: url(img/parametric/Mercedes.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-toyota/"]::before {background-image: url(img/parametric/Toyota.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-volkswagen/"]::before {background-image: url(img/parametric/VW.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auticko-volvo/"]::before {background-image: url(img/parametric/Volvo.png);}
.subcategories.with-image li.parametric a[href*="/elektricke-auto-pro-dve-deti/"]::before {background-image: url(img/parametric/DveDeti.jpg);}
.subcategories.with-image li.parametric a[href*="/detska-bugina/"]::before {background-image: url(img/parametric/Buginy.jpg);}
.subcategories.with-image li.parametric a[href*="/elektricka-motokara/"]::before {background-image: url(/user/documents/img/parametric/motokaraMH.jpg);}

@media (max-width: 767px) {
  .subcategories.with-image li.parametric a::before {width: 25px;height: 25px;margin-top: -12px;}
  body.in-elektricka-vozitka .subcategories.with-image li.parametric a .text {margin-left: 30px;}
}

.detail-parameters th, .detail-parameters td{padding-top: 5px;}
.tab-content .detail-parameters .group-header {color: inherit;}
.tab-content .detail-parameters .group-header td{text-align: center;border: 0;width: 100%;display: flex;}
.tab-content .detail-parameters .group-footer td{padding: 0;display: none;}
.tab-content .detail-parameters .group-footer.--last td{padding: 10px 0;display: table-cell;}

.extended-description>h3 {color: #000;font-size: 18px;margin: 0;padding: 15px 0;}
.extended-description>h3::after {content: "Győződjön meg arról, hogy pontosan ezt keresi";display: block;font-size: 14px;font-weight: normal;padding: 10px;}

.extended-description {width: 100%;}
.tab-content .detail-parameters {display: block;}
.tab-content .detail-parameters tbody {display: flex;flex-direction: column;}
.tab-content .detail-parameters .group-header {cursor: pointer;}
.tab-content .detail-parameters .group-header td {align-items: center;position: relative;padding: 15px 0!important;text-align: left;color: #000!important;font-size: 18px;border-top: 1px solid #bbbbbb;}
.tab-content .detail-parameters .group-header td::after {content: "";content: "\e911";position: absolute;font-family: shoptet;font-size: 12px;transform: rotate(180deg);right: 0;top: 50%;margin-top: -7px;}
.tab-content .detail-parameters .group-header.--toggled td::after {color: #aa3185;transform: rotate(0);}
.tab-content .detail-parameters .group-inner {padding-bottom: 20px;display: none;}
.tab-content .detail-parameters .group-inner.--opened {display: block;}
.tab-content .detail-parameters tr {width: 100%;display: flex;justify-content: space-between;}
.tab-content .detail-parameters tr.group-footer {border-color: #fff;background: #fff;margin-top: -2px;display: block;height: 3px;position: relative;}
.tab-content .detail-parameters td {width: 50%;color: #000;text-align: left;}
.tab-content .detail-parameters th {width: 50%;color: #000;}

@media (max-width: 479px) {
  .qdt-table__row td {padding-inline: 5px;}
  .qdt-table__row .qdt-table__quantity {padding-left:0;}
  .qdt-table__row .qdt-table__discount {padding-right:0;}
}

.sidebar {border-right: 1px solid #f0f0f0;}
.sidebar h4 {padding: 15px 0!important;text-transform: initial;font-size: 18px!important;}

.filter-section:not(.otevreny) .parametric-slider-wrapper {display: none;}

.box-categories {border-bottom: 0!important;}
.box-categories h4 {margin: 0;position: relative;cursor: pointer;}
.box-categories h4::after {content: "\e911";top: 50%;margin-top: -6px;font-family: shoptet;position: absolute;font-size: 12px;right: 6px;transform: rotate(180deg);}
.box-categories h4.--toggled::after {transform: rotate(0deg);color: #aa3185;}
.box-categories #categories {display: none;}
.box-categories #categories.--opened {display: block;padding-bottom: 20px;}
.box.box-bg-variant {padding-bottom: 0;}
.box.box-sm.box-filters {padding: 0;}

#filters .otevreny h4::after {color: #aa3185;}

.filter-section-boolean [class~=param-filter-top] {margin: 0;padding: 0!important;}
.filter-section-boolean:not(.otevreny) .param-filter-top form {display: none!important;}

/* Delivery time */
.ji-shipping-dt {padding-inline: 20px 10px;font-size: 14px;width:145px;}
.radio-wrapper .ji-shipping-dt {order:2;padding-inline: 0 0;}
.ji-shipping-dt.--green {color:#2bb947;}
.ji-shipping-dt__title {line-height: 1.3;}
.ji-shipping-dt__time {font-weight: 700;}

@media (max-width: 767px) {
  .shipping-options-popup .shipping-row {flex-flow:row wrap;row-gap:5px;}
  .shipping-options-popup .ji-shipping-dt {flex:0 0 100%;order:10;margin-top:2px;text-align: right;padding:0;}
  .radio-wrapper input[type=radio]+label {flex-flow: row wrap;}
  .radio-wrapper .ji-shipping-dt {order:5;flex:0 0 100%;padding:5px 0 0 35px;font-size: 15px;}
  .ji-shipping-dt>* {display: inline;}
}

/* Widgets */
@media (min-width: 992px) {
  .user-action-in {position: relative;}
  .popup-widget.login-widget, .admin-logged .popup-widget.login-widget {top:calc(var(--ji-top-bar-bottom) - 15px);right:0;left:unset;margin-left: unset;}
  .popup-widget.cart-widget, .admin-logged .popup-widget.cart-widget {top:calc(var(--ji-header-top-bottom) - 20px);right:-28px;left:unset;margin-left: unset;}
}

:root {
  --icon-truck--dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M8.528 16.826c.007.887-.51 1.69-1.307 2.035a2.096 2.096 0 0 1-2.332-.465 2.23 2.23 0 0 1-.47-2.388 2.135 2.135 0 0 1 1.974-1.356 2.1 2.1 0 0 1 1.507.633c.4.408.626.962.628 1.541v0ZM18.701 16.826c.007.887-.51 1.69-1.307 2.035a2.096 2.096 0 0 1-2.332-.465 2.23 2.23 0 0 1-.47-2.388 2.135 2.135 0 0 1 1.974-1.356 2.1 2.1 0 0 1 1.507.633c.4.408.626.962.628 1.541Z' clip-rule='evenodd'/%3E%3Cpath fill='%23000' d='M14.18 17.576a.75.75 0 1 0 0-1.5v1.5Zm-5.655-1.5a.75.75 0 0 0 0 1.5v-1.5Zm4.905.75a.75.75 0 1 0 1.5 0h-1.5Zm1.5-5.267a.75.75 0 0 0-1.5 0h1.5Zm-.75 4.517a.75.75 0 0 0 0 1.5v-1.5Zm.25 1.5a.75.75 0 1 0 0-1.5v1.5Zm4.267-1.5a.75.75 0 1 0 .007 1.5l-.007-1.5Zm2.265-1.591.75-.003a.75.75 0 0 0-.011-.13l-.739.133Zm.215-3.058a.75.75 0 1 0-1.476.264l1.476-.264Zm-6.998-5.3a.75.75 0 0 0 0 1.5v-1.5Zm3.58.75v.75h.015l-.015-.75Zm1.62.674.539-.521-.54.52Zm.64 1.667-.749-.021a.743.743 0 0 0 .011.153l.739-.132Zm-.32 2.473a.75.75 0 0 0 1.477-.264l-1.476.264Zm-4.77-4.814a.75.75 0 1 0-1.5 0h1.5Zm-1.5 4.682a.75.75 0 1 0 1.5 0h-1.5Zm0-4.682a.75.75 0 0 0 1.5 0h-1.5Zm.75-.8h.75v-.005l-.75.005ZM13.113 5v.75h.005L13.114 5ZM3.505 5l-.007.75h.007V5Zm-.75.31-.533-.528.532.529Zm-.317.765-.75-.007v.007h.75Zm0 9.675h-.75v.007l.75-.007Zm.316.764.532-.528-.532.528Zm.751.311v-.75h-.007l.007.75Zm.753.75a.75.75 0 1 0 0-1.5v1.5Zm9.922-6.766a.75.75 0 0 0 0 1.5v-1.5Zm6.26 1.5a.75.75 0 1 0 0-1.5v1.5Zm-6.26 3.767H8.525v1.5h5.655v-1.5Zm.75.75v-5.267h-1.5v5.267h1.5Zm-.75.75h.25v-1.5h-.25v1.5Zm4.524 0a2.993 2.993 0 0 0 2.14-.919l-1.079-1.042c-.286.296-.67.46-1.068.461l.007 1.5Zm2.14-.919a3.111 3.111 0 0 0 .868-2.175l-1.5.007c.003.425-.16.83-.447 1.126l1.079 1.042Zm.857-2.304-.524-2.926-1.476.264.523 2.926 1.477-.264Zm-7.522-6.726h3.58v-1.5h-3.58v1.5Zm3.595 0c.395-.008.78.15 1.065.445l1.079-1.042a2.94 2.94 0 0 0-2.175-.903l.03 1.5Zm1.065.445c.285.295.443.701.431 1.125l1.5.042a3.057 3.057 0 0 0-.852-2.21l-1.08 1.043Zm.442 1.278.419 2.341 1.476-.264-.418-2.34-1.477.263Zm-5.853-2.473v4.682h1.5V6.877h-1.5Zm1.5 0v-.8h-1.5v.8h1.5Zm0-.805c-.007-.995-.804-1.829-1.82-1.822l.01 1.5c.153-.001.309.13.31.332l1.5-.01ZM13.114 4.25H3.505v1.5h9.609v-1.5Zm-9.602 0c-.485-.005-.95.19-1.29.532L3.286 5.84c.06-.06.137-.09.212-.089l.014-1.5Zm-1.29.532c-.34.343-.53.806-.534 1.286l1.5.014c0-.095.038-.182.098-.243L2.222 4.782Zm-.534 1.293v9.675h1.5V6.075h-1.5Zm0 9.682c.004.48.194.943.534 1.286l1.064-1.057a.349.349 0 0 1-.099-.243l-1.5.014Zm.534 1.286c.34.343.805.537 1.29.532l-.014-1.5a.294.294 0 0 1-.212-.09l-1.064 1.058Zm1.283.532h.753v-1.5h-.753v1.5Zm10.675-5.266h6.26v-1.5h-6.26v1.5Z'/%3E%3C/svg%3E");
}
