/*------------------------------------*\
  #Root
\*------------------------------------*/

:root{
  --Primary-color:  #006562;
  --Secondary-color:  #ffc500;
  --Accent-color:  #59debb;

  --Text-color:  #006562;
  --Button-color:  #006562;
  --Button-hover-color: rgba(0,101,98,.7);
  
  /* Neutral Colors */
  --White-color: #fff;
  --Black-color: #333;
  --Light-Grey-color: #f6f8f8;
  --Dark-Grey-color: #edf1f0;

  --Danger-color: #D4111B;
  --Danger-hover-color: #cc3c3c;
}

/*------------------------------------*\
  #BASE
\*------------------------------------*/
body{
  line-height: 1.2;
}

/* Buttons */
.catfish-button,
.button,
a{
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

html:not(.page-dynamicproduct-editor) .catfish-button{
  font-size: 0.9rem;
  font-weight: 500;
  padding: .75rem 1.25rem;
  height: auto;
}

html:not(.page-dynamicproduct-editor) .catfish-button:not(.is-danger, .is-outlined, #deleteall, #continueshoppingDummy, .changepasswordbutton){
  &:hover,
  &:focus,
  &:active{
      background-color: var(--Button-hover-color);
      box-shadow: unset;
  }
}

#deleteall, .is-danger{
  background-color: var(--Danger-color);
  font-size: 0.9rem;
  font-weight: 500;

  &:hover{
      background-color: var(--Danger-hover-color);
  }
}

#continueshoppingDummy, .is-outlined{
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
  border-color: var(--Button-color);
  border: 1px solid;
  color: var(--Primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  
  &:hover{
      border: 1px solid var(--Button-hover-color);
      background-color: var(--Button-hover-color);
      color: #fff;
  }
}

html:not(.page-dynamicproduct-editor) .button{
  font-size: 0.9rem;
}

html:not(.page-dynamicproduct-editor) .button:has(.is-primary){
  background-color: var(--Button-color);

  &:hover{   
      background-color: var(--Button-hover-color);
  }
}

/* Typography */
.title{
  font-size: 1.8em;
}

/* Label */
.catfish-select:focus, .catfish-select.is-focused, .catfish-select:active, .catfish-select.is-active,
.input:focus, .input.is-focused, .input:active, .input.is-active, .catfish-input:focus, .catfish-input.is-focused, .catfish-input:active, .catfish-input.is-active, .catfish-select:focus, .catfish-select.is-focused, .catfish-select:active, .catfish-select.is-active, .textarea:focus, .textarea.is-focused, .textarea:active, .textarea.is-active, .catfish-textarea:focus, .catfish-textarea.is-focused, .catfish-textarea:active, .catfish-textarea.is-active{
  border-color: var(--Secondary-color);
  box-shadow: none;
}

.catfish-input, .catfish-select, .textarea, .catfish-textarea, .select select{
  padding: 17px 16px;
  height: auto;
}

.catfish-input, .catfish-select, .textarea, .catfish-textarea, .select select, label{
  font-size: .8rem;
}
/*------------------------------------*\
  #UTILITIES
\*------------------------------------*/

/*------------------------------------*\
  #COMPONENTS
\*------------------------------------*/
/* Product card */
.listWrapper{
  justify-content: center;

  .sub-category-item,
  .small-product-item{
    height: 80%;
  }
}

/* Category card */
.sub-category-grid .listWrapper .item-box .sub-category-item .category-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item .product-title{
  transform: translateY(0);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  text-align: left;
  top: 0;
  height: 40%;
  font-weight: 500;
}

.sub-category-grid .listWrapper .item-box,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item{
  transition: opacity .3s;
  -webkit-transition: opacity .3s;
  -moz-transition: opacity .3s;
  -ms-transition: opacity .3s;
  -o-transition: opacity .3s;
}

.sub-category-grid .listWrapper .item-box:hover,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item:hover{
  opacity: .7;
}

.sub-category-grid .listWrapper .item-box .sub-category-item .picture,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item .picture{
  position: absolute;
  height: 70%;
  bottom: 0;
}

.sub-category-grid .listWrapper .item-box .sub-category-item .category-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item .product-title {
  transform: translateY(0%) !important;
  padding: 1rem 1rem 2rem 1rem;
  -webkit-transform: translateY(0%) !important;
  -moz-transform: translateY(0%) !important;
  -ms-transform: translateY(0%) !important;
  -o-transform: translateY(0%) !important;
}

.sub-category-grid .listWrapper .item-box .sub-category-item .category-title,
.sub-category-grid .listWrapper .item-box .sub-category-item:hover .category-title,
.sub-category-grid .listWrapper .item-box .sub-category-item:focus .category-title,
.sub-category-grid .listWrapper .item-box .sub-category-item:active .category-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item:hover .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item:focus .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item:active .product-title{
  background-color: var(--Primary-color);
}

.sub-category-grid .listWrapper .item-box,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item{
  border-top: 1px solid var(--Primary-color);
}

.sub-category-grid .listWrapper .item-box .sub-category-item .category-title a,
.homeFeaturedCategoriesWrapper .listWrapper .listItem .small-product-item .category-item .product-title a{
  color: var(--White-color);
}

.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item {
  border-top: 1px solid var(--Secondary-color);
}

.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item .category-title,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:hover .category-title,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:focus .category-title,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:active .category-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:hover .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:focus .product-title,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:active .product-title{
  background-color: var(--Secondary-color);
}

.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item .category-title a,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:hover .category-title a,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:focus .category-title a,
.sub-category-grid .listWrapper .listItem:nth-child(even) .item-box .sub-category-item:active .category-title a,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item .product-title a,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:hover .product-title a,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:focus .product-title a,
.homeFeaturedCategoriesWrapper .listWrapper .listItem:nth-child(even) .small-product-item .category-item:active .product-title a{
  color: var(--Text-color);
}

/* Product Cards */
.catfish-default-product-box .product-title,
.homeFeaturedProductsWrapper .listWrapper .listItem .item-box .catfish-default-product-box .product-title{
  font-weight: 500;
}

.homeFeaturedProductsWrapper .listWrapper .listItem .item-box .catfish-default-product-box .product-item--info .add-info{
  background-color: var(--Light-Grey-color);
}

.homeFeaturedProductsWrapper .listWrapper .listItem .item-box .catfish-default-product-box .product-item--image .picture img,
.catfish-default-product-box .product-item--image .picture img{
  object-fit: contain;
}

.category-product-section .listWrapper .listItem:has(.item-box),
.homeFeaturedProductsWrapper .listWrapper .listItem:has(.item-box){
  background-color: var(--Light-Grey-color);
}

.homeFeaturedProductsWrapper .listWrapper .listItem .item-box .catfish-default-product-box .product-item--info .add-info .addtocart input,
.catfish-default-product-box .addtocart input {
  background: var(--Secondary-color);
  color: var(--Primary-color);
  font-weight: 500;

  &:hover{
    background-color: rgba(255, 197, 0, .7) !important;
  }
}

@media screen and (max-width: 1279px) and  (min-width: 1088px) {
  & .listItem{
      width: 33.333333% !important;
  }
}

@media screen and (max-width: 475px) {

  & .listItem{
      width: 100% !important;
  }
}

@media screen and (max-width: 600px) {
  .listWrapper .listItem.column.is-6-mobile{
    width: 100%;
    height: 100%;
  }
}

/* Breadcrumbs */
.breadcrumb {
  font-size: .8rem;
}
/*------------------------------------*\
  #LAYOUTS
\*------------------------------------*/
.navbar{

  .navbar-link:not(.is-arrowless)::after{
    border-color: var(--Accent-color);
  }

  .is-header-logo {
    height: 1.5rem;
  }

  .fa-lg {
    font-size: 1.1111em;
    font-weight: 400;
  }

  @media screen and (min-width: 1088px) {

    a.navbar-item,
    a.navbar-link{  
      font-size: .8rem;
      font-weight: 500;
    }

    .navbar-dropdown a.navbar-item:hover {
      background-color: var(--Light-Grey-color);
      color: var(--Primary-color);
    }
  }

  @media screen and (max-width: 1086px) {
    .navbar-search-toggle .fa-search {
      font-size: 1.1rem;
      font-weight: 400;
    }
  }
}

/* Footer */
.ict-dedicated-footer{

  @media screen and (max-width: 475px) {
  text-align: center;

    .dedicated-footer-logo{
        display: flex;
        justify-content: center;
    }

    .ict-social-links{
        justify-content: center;
    }

    ul.ict-list{
      width: 100%;
      text-align: center !important;
    }
  }

  & .dedicated-footer-logo{
      
    & img{
        object-fit: contain;
    }
  }

  & .ict-dedicated-footer-column-1 .is-flex > a{
      margin-bottom: 1rem;
  }

  p, 
  a{
    font-size: .8rem;
    font-weight: 600;
  }

  & a{
      text-decoration: underline;
      text-decoration-color: transparent;
      transition: .3s;
      text-underline-offset: 0.25rem;

      &:hover{
          color: var(--Secondary-color);
          text-decoration: underline !important;
      }
  }

  & .footer-copyright{

      & h4{
        font-size: .8rem;
        font-weight: 600;
        font-size: 70%;
      }
  }

  @media screen and (max-width: 767px) {
    .ict-dedicated-footer-column-2,
    .ict-dedicated-footer-column-3,
    .ict-dedicated-footer-column-4{
      display: none;
    }
  }
}

/* Sections */
@media screen and (max-width: 1087px){
  section.additional-description-section,
  section.related-products-section,
  .block.block-account-navigation,
  .account-page{
      padding-top: 3rem !important;
      padding-bottom: 3rem !important;
  }
}

@media screen and (max-width: 767px){
  section.section.is-large,
  .homeFeaturedProductsWrapper,
  .ict-dedicated-footer{
      padding-top: 3rem !important;
      padding-bottom: 3rem !important;
  }

  section.additional-description-section,
  section.related-products-section,
  .block.block-account-navigation,
  .account-page{
      padding-top: 1.5rem !important;
      padding-bottom: 1.5rem !important;
  }
}

/*------------------------------------*\
  #ADMIN PAGES
\*------------------------------------*/
/* General */
.pager {
  margin-top: 1.5rem;
}

/* Login page */
.login__wrapper {
  background-size: contain;
  background-position: top left;
}

/* Category page */
.category-product-section .listWrapper{
  gap: .5rem;

  .listItem{
    width: 24%;
  }
}

/* Cart page */
.shoppingcart__wrapper .cart-footer .cart-footer__container{
  border: 1px solid var(--Accent-color);
}

/* Payment Information */
#checkout-step-payment-info .payment-info td:first-child{
  width: 100%;
}

/* Order Summary */
.shoppingcart__wrapper .cartform .cartTableWrapper .cart-item-row .cart--pictures .shopping-cart__product__images__item img,
.one-page-checkout .cartTableWrapper .cart-item-row .cart--pictures .shopping-cart__product__images__item img{
  object-fit: contain;
}
/*------------------------------------*\
 #CHECKOUT STEPS
\*------------------------------------*/

/*------------------------------------*\
 #MY ACCOUNT PAGES
\*------------------------------------*/

/* Change Password */
.customer-pass-recovery{

  & .button{
    background-color: transparent;
    padding: 0;
      &:hover{
          background-color: transparent;
      }
  }

  & input.changepasswordbutton {
    padding: .75rem 1.25rem;
    height: auto;
      background-color: var(--Button-color);

      &:hover{
          background-color: var(--Button-hover-color);
      }
  }
}
/*------------------------------------*\
    #TOPIC PAGES
\*------------------------------------*/