﻿

/************************************
MISC
************************************/
html, body {
  height: 100%;
}

body {
}

.site-wrapper {
  background-image: var(--ps-body-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  min-height: 100%;
  position: relative;
}

img.aspect-16-9 {
  aspect-ratio: 16 / 9;
}

/************************************
NAVIGATION
************************************/
header {
  transition: all 0.5s ease 0s;
  position: relative;
}

@media screen and (min-width: 992px) {
  header._sticky .navbar {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    background-color: var(--ps-navbar-bg);
    left: 0;
    transition: all 0.2s ease 0s;
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    -ms-box-shadow: 0 0 3px rgba(0,0,0,0.2);
    box-shadow: 0 0 3px rgba(0,0,0,0.2)
  }
}

/* Main Navbar */
.navbar {
  background-color: var(--ps-navbar-bg);
  --bs-navbar-color: var(--ps-nav-link-color);
  --bs-navbar-hover-color: var(--ps-nav-link-hover-color);
  --bs-navbar-active-color: var(--ps-nav-link-active-color);
  --bs-navbar-nav-link-padding-x: 1rem;
  --bs-navbar-toggler-padding-y: 0.50rem;
  --bs-navbar-toggler-padding-x: 1rem;
  --bs-navbar-toggler-font-size: 1rem;
  --bs-navbar-toggler-border-radius: var(--bs-border-radius);
  width: 100%;
  transition: ease transform .35s, ease padding .35s;
  border-bottom: 1px solid rgba(var(--ps-navbar-bg-rgb),.4);
}

  header._sticky {
    height: var(--navHeight);
  }

/*    .navbar._no-sticky {
      transform: translateY(-100%);
    }

    .navbar._sticky {
      transform: translateY(0);
    }

  @media(min-width:768px) {
    .navbar {
      --bs-navbar-padding-y: .5rem;
    }

      .navbar._sticky {
        --bs-navbar-padding-y: .5rem;
      }
  }*/

@media(max-width:991px) {
  .navbar .navbar {
    --bs-navbar-nav-link-padding-x: 1rem;
  }
}

.navbar-main .navbar-nav {
  --bs-nav-link-font-size: var(--ps-nav-link-font-size);
  --bs-nav-link-font-weight: var(--ps-nav-link-font-weight);
  flex-wrap: wrap;
}

.navbar .nav-link {
  border-radius: var(--bs-border-radius);
}

  .navbar .nav-link[aria-expanded="true"] .fa-angle-down {
    transform: rotate(-180deg);
  }

  .navbar .nav-link:focus,
  .navbar .nav-link:hover,
  .navbar .nav-link.hover {
    color: var(--bs-nav-link-hover-color);
    background-color: var(--ps-nav-link-hover-bg);
  }

.navbar-nav.navbar-separator {
  border-left: 1px solid rgba(var(--bs-primary-rgb),.7);
  padding-left: .5rem;
  margin-left: .5rem;
}

.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .show > .nav-link {
  color: var(--bs-navbar-active-color);
  background-color: var(--ps-nav-link-active-bg);
}

.navbar-main .navbar-nav .nav-link.hover > .fa {
  transform: rotate(-180deg);
}

/* Shortcut navbar */
.navbar.navbar-shortcut {
  --bs-navbar-nav-link-padding-x: 1rem;
  background-color: var(--ps-navbar-shortcut-bg);
}

.navbar-shortcut .navbar-nav {
  --bs-nav-link-font-size: .9rem;
  --bs-nav-link-color: #fff;
  flex-wrap: wrap;
}

/* Brand/logo */
.navbar-logo.logo-size-small {
  height: 40px;
}

.navbar-logo.logo-size-medium {
  height: 50px;
}

.navbar-logo.logo-size-large {
  height: 70px;
}

@media(max-width:991px) {
  .navbar-logo {
    height: 30px !important;
  }
}

/* Mobile toggler */
.navbar-toggler {
  background-color: rgba(var(--bs-primary-rgb),1);
  color: rgba(var(--ps-primary-text-rgb),1);
}

/* Mega menu */
.mega-menu {
  position: absolute;
  z-index: 1000;
  top: calc(var(--navHeight) + 1px);
  left: 0;
  width: 100%;
  --mm-bg-color: var(--ps-navbar-bg);
  --mm-link-gutter: .5rem;
  --mm-link-padding-y: .5rem;
  --mm-link-padding-x: .5rem;
}

  .mega-menu ._wrapper {
    position: relative;
    padding: 3rem;
    background-color: var(--mm-bg-color);
    border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
    z-index: 100;
  }


.mega-menu-backdrop {
  position: fixed;
  display: none;
  top: 0;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.2);
  backdrop-filter: blur(2px);
}

.mega-menu.show .mega-menu-backdrop {
  display: block;
}

.megamenu-subpage-name{
  color: var(--ps-nav-link-color);
}

.megamenu-list,
.megamenu-item {
  margin-top: var(--mm-link-gutter);
}

.megamenu-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ps-nav-link-color);
  padding: var(--mm-link-padding-y) var(--mm-link-padding-x) var(--mm-link-padding-y) var(--mm-link-padding-x);
  border-radius: .5rem;
}

  .megamenu-link:hover {
    background-color: var(--ps-nav-link-hover-bg);
  }

    .megamenu-link:hover ._title {
      color: var(--ps-nav-link-hover-color);
    }

  .megamenu-link.active ._title {
    color: var(--ps-nav-link-active-color);
  }

  .megamenu-link ._icon {
    font-size: 2rem;
    margin-right: .5rem;
    color: rgba(var(--bs-primary-rgb),1);
  }

  .megamenu-link ._details {
    display: flex;
    flex-direction: column;
  }

    .megamenu-link ._details ._title {
      font-weight: var(--ps-nav-link-font-weight);
    }

    .megamenu-link ._details ._description {
      font-size: 0.75rem;
      color: #444;
    }

/* Mobile menu */
.toggle-mobile-menu[aria-expanded="false"] .fa-times,
.toggle-mobile-menu[aria-expanded="true"] .fa-bars {
  display: none;
}

.mobile-menu {
  --bs-navbar-active-color: rgba(var(--bs-primary-rgb),1);
  --bs-nav-link-padding-y: 1.5rem;
  --bs-nav-link-padding-x: 1rem;
  --ps-mobile-menu-top-position: calc(var(--navHeight) + 1px);
  --ps-nav-items-list-style: none;
  --ps-nav-items-margin: 0;
  --ps-nav-items-padding: 0;
  --ps-submenu-background-color: #fff;
  z-index: 999;
  top: var(--ps-mobile-menu-top-position);
  overflow-y: scroll;
}

  .mobile-menu,
  .mobile-menu .submenu {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    transition: all 0.1s ease;
    -webkit-transform: translate(100%);
    -ms-transform: translate(100%);
    transform: translate(100%);
    background: var(--ps-submenu-background-color);
    outline: none !important;
  }

      .mobile-menu .submenu {
       /* z-index: 1000;*/
        top: var(--ps-mobile-menu-top-position);
        overflow: overlay;
      }

      .mobile-menu.show,
      .mobile-menu .submenu.show {
        -webkit-transform: translate(0);
        -ms-transform: translate(0);
        transform: translate(0);
      }

.mobile-menu-wrapper {
  position: relative;
}

.mobile-menu-nav-items {
  list-style: var(--ps-nav-items-list-style);
  margin: var(--ps-nav-items-margin);
  padding: var(--ps-nav-items-padding);
}

.mobile-menu .nav-link {
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0;
  display: flex;
}

  .mobile-menu .nav-link.active {
    color: var(--bs-navbar-active-color);
  }

  .mobile-menu .nav-link ._icon {
    font-size: 1.3rem;
    line-height: 0;
  }

.mobile-menu .nav-item-back {
  --bs-nav-link-color: var(--bs-secondary);
}

.mobile-menu .nav-item-parent {
  --bs-nav-link-font-weight: var(--ps-body-bold-font-weight);
}

/* Mobile toolbar */
.mobile-menu .navbar-nav-toolbar {
  flex-direction: row;
  align-items: center;
  --bs-nav-link-padding-x: 10px;
  background: #f6f6f6;
  padding: .5rem 1.5rem;
}

  .mobile-menu .navbar-nav-toolbar .nav-link {
    display: block;
    border: none;
  }

/* Pagination */
.pagination {
  --bs-pagination-bg: none;
  --bs-pagination-border-width: 0;
  --bs-pagination-border-radius: var(--bs-border-radius);
  --bs-pagination-active-color: var(--ps-nav-link-active-color);
  --bs-pagination-active-bg: var(--ps-nav-link-active-bg);
  --bs-pagination-active-border-color: var(--ps-nav-link-active-bg);
  --bs-pagination-hover-color: var(--ps-nav-link-hover-color);
  --bs-pagination-hover-bg: var(--ps-nav-link-hover-bg);
  --bs-pagination-hover-border-color: var(--ps-nav-link-hover-bg);
}

/************************************
CONTAINERS AND ROWS
************************************/
@media (min-width:992px) {
  .container-sm {
    max-width: 768px;
  }
}

.row {
  --bs-gutter-x: var(--ps-column-gutter-x);
  --bs-gutter-y: var(--ps-column-gutter-y);
}

/************************************
BREADCRUMB
************************************/
.breadcrumb-wrapper {
  background-color: rgba(244,245,246,.5);
}

.breadcrumb {
  --bs-breadcrumb-padding-x: 0;
  --bs-breadcrumb-padding-y: .80rem;
  --bs-breadcrumb-font-size: .75rem;
  --bs-breadcrumb-divider: "\f105";
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}

.breadcrumb-item + .breadcrumb-item::before {
  font-family: "Font Awesome 5";
}

.breadcrumb-item a {
  color: var(--bs-body-color);
  text-decoration: none;
}

.breadcrumb-item.active a {
  font-weight: var(--ps-body-bold-font-weight);
}

  .breadcrumb-item a:hover,
  .breadcrumb-item.active a:hover {
    color: rgba(var(--bs-link-hover-color-rgb),var(--ps-link-hover-opacity,1));
  }

/************************************
CUSTOM
************************************/
/* Page header */
.page-header {
  display: flex;
  flex-direction: column;
  position: relative;
}

.page-header-banner {
  display: flex;
  flex-direction: column;
}

  .page-header-banner ._image {
    width: 100%;
  }

/* Image label */
.image-label {
  z-index: 10;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5rem 0.8rem;
  color: rgba(var(--ps-primary-text-rgb),1);
  background-color: rgba(var(--bs-primary-rgb),1);
  border-top-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
}

.umb-module {
  background-color: var(--color-bg);
}

.modules-flex-height .umb-module {
  flex-grow: 1;
  height: 100%;
}

/************************************
FORMS
************************************/
/* Label */
.umbraco-forms-label {
  font-weight: var(--ps-body-bold-font-weight);
}

.umbraco-forms-tooltip .fa {
  color: var(--bs-link-color);
}

.umbraco-forms-indicator {
  color: var(--bs-danger);
}

/* Forms fields */
.form-control,
.form-select {
  background-color: #fff;
}

.form-control,
.form-check-input {
  border-width: var(--ps-border-width);
}

  .form-check-input:checked {
    background-color: var(--bs-success);
    border-color: var(--bs-success);
  }

  .form-control.input-validation-valid {
    border-color: var(--bs-success);
  }

  .form-control.input-validation-error {
    border-color: var(--bs-danger);
  }

  .form-control:disabled {
    opacity: .5;
  }

/* Validation message */
.field-validation-error {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: .875em;
  color: var(--bs-danger-text);
}

/************************************
SOCIAL COLORS
************************************/
.text-color-twitter {
  color: #1DA1F2;
}

.text-color-linkedIn {
  color: #0A66C2;
}

/************************************
PRODUCTS LIST
************************************/
/* Menu */

@media (min-width:992px){
  .ps-products-menu {
    position: sticky;
    top: 0;
    height: 100%;
    max-height: 100svh;
    border-right: 1px solid var(--bs-border-color);
    padding-right: 1rem;
  }
}

.ps-list-group-category-menu {
  --bs-list-group-border-color: transparent;
  --bs-list-group-item-padding-x: 0;
}

/* Sorting */
.ps-products-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.ps-list-view {
  display: flex;
  align-items: center;
  gap: .3rem;
  width: 100%;
}

.ps-products-hit {
  font-weight: var(--ps-body-bold-font-weight);
  flex-shrink:0;
}

.ps-product-sort {
  flex-shrink: 0;
}

/* Product list */
.ps-product-list.row {
  --line-gap: 2px;
  --line-offset: calc(var(--line-gap) / 2);
  --line-thickness: 1px;
  --line-color: var(--bs-border-color);
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  overflow: hidden;
}
.ps-product-list-item-wrapper {
  position:relative;
}
.ps-product-list-item-wrapper::before,
.ps-product-list-item-wrapper::after {
  content: '';
  position: absolute;
  background-color: var(--line-color);
  z-index: 1;
}
.ps-product-list-item-wrapper::after {
  inline-size: 100vw;
  block-size: var(--line-thickness);
  inset-inline-start: 0;
  inset-block-start: calc(var(--line-offset) * -1);
}
.ps-product-list-item-wrapper::before {
  inline-size: var(--line-thickness);
  block-size: 100vh;
  inset-block-start: 0;
  inset-inline-start: calc(var(--line-offset) * -1);
}


/* Product item */
.ps-product-list-item {
  --product-item-padding: 1rem;
  --product-item-border-width: 0px;
  --product-item-border-color: var(--bs-border-color);
  --product-item-border-style: solid;
  --product-item-border-radius: 0;
  --product-item-hover-bg: transparent;
  --product-item-hover-shadow: inset 0px 0px 5px rgba(var(--bs-body-color-rgb),.20) !important;
  --product-item-flex-direction: column;
  --product-item-body-text-align: left;
  --product-item-body-padding: 1rem 0 0 0;
  --product-item-image-width: 100%;
  --product-item-image-border-width: 0;
  --product-item-image-border-color: var(--bs-border-color);
  --product-item-image-border-style: solid;
  --product-item-image-border-radius: var(--bs-border-radius);
  --product-item-title-font-weight: var(--ps-body-bold-font-weight);
  --product-item-title-text-decoration: none;
  --product-item-title-line-clamp: 2;
  --product-item-title-color: inherit;
  --product-item-title-hover-color: var(--bs-link-hover-color);
  --product-item-title-info-margin-top: auto;
  --product-item-summary-line-clamp: 2;
  --product-item-stock-color: var(--bs-secondary);
  --product-item-stock-font-size: .75rem;
  --product-item-price-color: var(--bs-body-color);
  --product-item-price-font-size: var(--ps-h4-font-size);
  --product-item-price-font-weight: var(--ps-body-bold-font-weight);
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: var(--product-item-flex-direction);
  border-width: var(--product-item-border-width);
  border-color: var(--product-item-border-color);
  border-style: var(--product-item-border-style);
  border-radius: var(--product-item-border-radius);
  padding: var(--product-item-padding);
}

  .ps-product-list-item:hover {
    background-color: var(--product-item-hover-bg);
    box-shadow: var(--product-item-hover-shadow);
  }


  .ps-product-list-item .ps-product-img img {
    width: var(--product-item-image-width);
    border-width: var(--product-item-image-border-width);
    border-style: var(--product-item-image-border-style);
    border-color: var(--product-item-image-border-color);
    border-radius: var(--product-item-image-border-radius);
  }

  .ps-product-list-item .ps-product-body {
    text-align: var(--product-item-body-text-align);
    padding: var(--product-item-body-padding);
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .ps-product-list-item .ps-product-title {
    text-decoration: var(--product-item-title-text-decoration);
    font-weight: var(--product-item-title-font-weight);
    color: var(--product-item-title-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--product-item-title-line-clamp);
    overflow: hidden;
  }

  .ps-product-list-item:hover .ps-product-title,
  .ps-product-list-item .ps-product-title:focus {
    color: var(--product-item-title-hover-color);
  }

  .ps-product-list-item .ps-product-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--product-item-summary-line-clamp);
    overflow: hidden;
  }

  .ps-product-list-item .ps-product-info {
    margin-top: var(--product-item-title-info-margin-top);
  }

  .ps-product-list-item .ps-product-stock {
    color: var(--product-item-stock-color);
    font-size: var(--product-item-stock-font-size);
  }

  .ps-product-list-item .ps-product-price {
    color: var(--product-item-price-color);
    font-size: var(--product-item-price-font-size);
    font-weight: var(--product-item-price-font-weight);
  }

  .ps-product-list[data-view="list"].row {
    --bs-gutter-y: 0;
  }

.ps-product-list[data-view="list"] .ps-product-list-item-wrapper {
  width: 100% !important;
}

.ps-product-list[data-view="list"] .ps-product-list-item {
  --product-item-flex-direction: row;
  --product-item-image-width: 150px;
  --product-item-image-border-width: 0;
  --product-item-body-padding: 0 0 0 1rem;
  --product-item-title-info-margin-top: 0;
}

@media (max-width: 768px){
  .ps-product-list[data-view="list"] .ps-product-list-item {
    --product-item-image-width: 40px;
  }
  .ps-product-list-item {
    --product-item-summary-line-clamp: 1;
  }
}



/************************************
PRODUCT DETAILS
************************************/
@media (min-width: 768px) {
  .ps-buy-box {
    border-left: 1px solid var(--bs-border-color);
  }
}

.ps-buy-box .ps-buy-box-item + .ps-buy-box-item {
  margin-top: 1rem;
}

/************************************
CART
************************************/
.cart .cart-header {
  border-bottom: 3px solid var(--bs-border-color);
  display: flex;
  font-size: .9rem;
  justify-content: flex-end;
  padding: 10px 0;
  text-align: right;
}

  .cart .cart-header .cart-header-wrapper {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

    .cart .cart-header .cart-header-wrapper > div {
      flex: 0 1 119px;
      padding-left: 10px;
      padding-right: 10px;
    }

.cart .cart-item {
  display: flex;
  padding: 1rem 0;
}

  .cart .cart-item + .cart-item {
    border-top: 1px solid var(--bs-border-color);
  }

  .cart .cart-item .cart-details {
    display: flex;
    margin-right: auto;
    position: relative;
    width: 60%;
  }

    .cart .cart-item .cart-details .cart-image {
      margin-right: 1rem;
      flex-shrink: 0;
    }

    .cart .cart-item .cart-details .cart-title {
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }

  .cart .cart-item .cart-action {
    display: flex;
    justify-content: flex-end;
    flex: 1 1 auto;
    align-items: center;
    justify-content: end;
    text-align: right;
  }

    .cart .cart-item .cart-action > div {
      flex: 0 1 119px;
      padding-left: 10px;
      padding-right: 10px;
    }

    .cart .cart-item .cart-action .cart-quantity input[type=number] {
      -moz-appearance: textfield;
    }
      .cart .cart-item .cart-action .cart-quantity input::-webkit-outer-spin-button,
      .cart .cart-item .cart-action .cart-quantity input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
      }

.cart .cart-footer {
  border-top: 3px solid var(--bs-border-color);
  padding: 10px 0;
  display: flex;
  justify-content: flex-end;
}

  .cart .cart-footer .cart-footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: right;
  }

@media (max-width: 992px) {
  .cart .cart-header,
  .cart .cart-price {
    display: none;
  }

  .cart .cart-item {
    flex-direction: column;
  }

    .cart .cart-item .cart-details {
      width: 100%;
    }

    .cart .cart-item .cart-action {
      justify-content: flex-start;
      margin-top: 1rem;
    }

      .cart .cart-item .cart-action > div {
        flex: 0 1 auto;
      }

      .cart .cart-item .cart-action .cart-quantity {
        margin-right: auto;
        padding-left: 0;
        width: 100px;
      }

      .cart .cart-item .cart-action .cart-delete {
        padding-right: 0;
      }
}

@media (max-width: 768px) {
  .cart .cart-footer {
    display: block;
  }
}

/************************************
TOASTIFY
************************************/
.toastify-primary {
  margin-top: 4rem;
  background: var(--bs-primary);
}
.toastify-success {
  margin-top: 4rem;
  background: var(--bs-success);
}
.toastify-danger {
  margin-top: 4rem;
  background: var(--bs-danger);
}
/************************************
ANIMATION - KEYFRAMES
************************************/
@-webkit-keyframes slide-up {
  from {
    transform: translateY(0.5rem);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@keyframes slide-up {
  from {
    transform: translateY(0.5rem);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

@-webkit-keyframes slide-left {
  from {
    transform: translateX(100%);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}

@keyframes slide-left {
  from {
    transform: translateX(100%);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}