/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/*
FAQ:
  1. Główny font zmieniamy w dashboardzie za pomocą "Use Any Font" (ostatni plugin w sidebarze), zakładka Assign Font
  2. Zdjcięcie tła na "Stronie głównej" zmieniamy w dashboardzie za pomocą "Pages > Strona główna > przewijamy na sam dół > Ustawienia Salient > Background Image"
  3.
*/

body h2 {
  text-transform: none !important;
}

.container-wrap {
  background: #17201b url('./bg.jpg') no-repeat top center !important;
}

/*.post-type-archive-product.woocommerce .container-wrap,
.tax-product_cat.woocommerce .container-wrap,*/
.woocommerce .material.product .product-wrap .product-meta {
  background: #17201b url('./bg.jpg') no-repeat top center !important;
}

.woocommerce .material.product .product-wrap .product-meta {
  height: 100%;
}

body[data-header-format="left-header"] #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]).current-menu-ancestor > a,
body[data-header-format="left-header"] #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]).current-menu-item > a,
body[data-header-format="left-header"] #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]).current_page_item > a,
body[data-header-format="left-header"] #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]).open-submenu > a,
body[data-header-format="left-header"] #header-outer[data-lhe="animated_underline"] #top nav > ul > li:not([class*="button_"]) > a:hover {
  color: #17201b !important;
}

/* Material product categories: text */
.woocommerce #sidebar .wc-block-product-categories-list-item:hover > .wc-block-product-categories-list-item-count,
.woocommerce #sidebar div ul .current-cat > .count,
.woocommerce #sidebar div ul li a:hover~.count,
.woocommerce #sidebar div ul li.chosen > a~.count {
  color: #17201b !important;
}

.ascend.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.ascend.woocommerce .woocommerce.widget_price_filter .price_slider:not(.ui-slider):after,
.ascend.woocommerce .woocommerce.widget_price_filter .price_slider:not(.ui-slider):before,
.ascend.woocommerce-page .widget_price_filter .ui-slider .ui-slider-handle,
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity,
.cart .quantity input.plus,
.cart .quantity input.minus,
.woocommerce-mini-cart .quantity input.plus,
.woocommerce-mini-cart .quantity input.minus {
  background-color: #d08810 !important;
  background-image: linear-gradient(30deg, #d08810, #efc550, #fbf4bb);
  border: 1px solid #d08810;
  color: #684408 !important;
}

.cart .quantity input.plus:hover,
.cart .quantity input.minus:hover,
.woocommerce-mini-cart .quantity input.plus:hover,
.woocommerce-mini-cart .quantity input.minus:hover {
  color: #684408 !important;
  opacity: 0.85 !important;
}

.woocommerce .nectar-shop-header {
  background: transparent url('./hr.png') no-repeat bottom center !important;
  background-size: contain !important;
  padding-bottom: 10px !important;
}

/* Filtrowanie produktów */
.select2-container .select2-dropdown,
 .woocommerce-ordering .select2-results__option {
  background: #f9d590 !important;
  color: #684408 !important;
}

.woocommerce-ordering .select2-results__option {
  padding: 6px !important;
}

body .select2-container--default .select2-results__option[aria-selected=true],
body .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #d08810 !important;
  background-image: linear-gradient(30deg, #d08810, #efc550, #fbf4bb) !important;
  border: 1px solid #d08810;
  border-radius: 2px !important;
  padding: 5px !important;
}

/* Material product cards: text */
.woocommerce ul.products li.product.material h2,
.woocommerce-page ul.products li.product.material h2,
.woocommerce ul.products li.product.material .price,
.woocommerce-page ul.products li.product.material .price,
.woocommerce ul.products li.product.material .price del,
.woocommerce-page ul.products li.product.material .price del {
  color: #f9d590 !important;
}

/* Add-to-cart */
.woocommerce-page .woocommerce-message .button,
.wc-block-cart .wc-block-cart__submit-container .wc-block-components-button:not(.is-link),
.wc-block-cart.has-dark-controls .wc-block-cart-items th {
  color: #f9d590 !important;
}

.woocommerce ul.products li.product.material .product-add-to-cart a,
.woocommerce-page ul.products li.product.material .product-add-to-cart a,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
  color: #f9d590 !important;
  border-color: #f9d590 !important;
  border-radius: 2px;
  background-image: linear-gradient(30deg, #d08810, #efc550, #fbf4bb);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
  border: 2px solid #684408 !important;
  color: #684408 !important;
}

/* Message po dodaniu do koszyka */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
  color: #17201b !important;
}

/* Material product cards: gradient border */
.single-product .images .product-slider,
.woocommerce ul.products li.product.material,
.woocommerce-page ul.products li.product.material {
  padding: 2px !important;
  border-radius: 5px;
  background-image: linear-gradient(30deg, #fbf4bb, #a3772e, #ce963e);
}

.woocommerce .material.product .product-wrap > a {
  border: 3px solid #342a0e;
}

.woocommerce .material.product .product-wrap .product-add-to-cart a.added_to_cart,
.woocommerce .material.product .product-wrap .product-add-to-cart a > span {
  color: #17201b !important;
  border-color: #f9d590 !important;
}

.woocommerce .material.product .product-wrap .product-add-to-cart a.added_to_cart,
.woocommerce .material.product .product-wrap .product-add-to-cart a > span.text {
  color: #17201b !important;
}

.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price,
.woocommerce .material.product .product-wrap .product-add-to-cart a:hover > span {
  color: #17201b !important;
}

.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.woocommerce span.onsale, .woocommerce-page span.onsale {
  color: #17201b !important;
  font-size: .5em !important;
}

ul.products li.material.product span.onsale {
  text-transform: uppercase !important;
}

.woocommerce .container-wrap nav.woocommerce-pagination ul li span.current {
 color: #17201b !important;
}

#header-outer a.cart-contents .cart-wrap span {
  background: #ec372d !important;
  color: #fffdfd !important;
}

/* Slide-in cart */
.nectar-slide-in-cart {
  /* background: #f9d590 !important; */
}

.nectar-slide-in-cart:not(.style_slide_in_click) .widget_shopping_cart .cart_list a {
  color: #17201b !important;
}

.nectar-slide-in-cart .widget_shopping_cart .buttons a {
  color: #17201b !important;
}
.nectar-slide-in-cart .widget_shopping_cart .buttons a:hover {
  color: #f9d590 !important;
}

/* Checkout page */
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  color: #d08810 !important;
}

input[type=text],
input[type=email],
input[type=password],
input[type=tel],
input[type=url],
input[type=search],
input[type=date],
input[type=number],
textarea,
select {
  background-color: rgba(252, 237, 207, 0.75) !important;
  border: 1px solid #d08810 !important;
  border-radius: 4px !important;
  color: #17201b !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-textarea {
  background-color: #fcedcf !important;
  border: 1px solid #d08810 !important;
  border-radius: 4px !important;
  color: #17201b !important;
}

.wc-block-components-textarea::placeholder {
  color: #d08810;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
  background-image: linear-gradient(30deg, #d08810, #efc550, #fbf4bb) !important;
  color: #684408 !important
}

.wc-block-cart .wc-block-cart__submit-container
.wc-block-components-button:not(.is-link),
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:not(.is-link),
body[data-form-submit=regular] .container-wrap button[type=submit],
body[data-form-submit=regular] .container-wrap input[type=submit],
  .woocommerce.ascend .price_slider_amount button.button[type="submit"] {
  background-image: linear-gradient(30deg, #d08810, #efc550, #fbf4bb) !important;
  border: 2px solid #684408 !important;
  color: #684408 !important;
}

body[data-form-submit=regular] .container-wrap button[type=submit],
body[data-form-submit=regular] .container-wrap input[type=submit] {
  padding: 13.5px 22px !important;
}

.woocommerce.ascend .price_slider_amount button.button[type=submit] {
  padding: 5px 10px !important;
}

.image-payments {
  background-image: linear-gradient(30deg, #684408, #c99912, #f5e55b) !important;
  border: 1px solid #d08810 !important;
  border-radius: 4px !important;
  opacity: 0.75;
  padding: 10px 5px !important;
}

/* Footer */
img#FooterLogo {
  margin-bottom: 0;
  max-width: 150px;
}

div#CookiebotWidget {
  left: 202px;
  bottom: 25px;
}

#CookiebotWidget .CookiebotWidget-logo svg circle {
  fill: #fbf4bb !important;
}

#CookiebotWidget .CookiebotWidget-logo svg path {
  fill: #684408 !important;
}

.nectar-social.fixed {
  right: 25px;
  bottom: 25px;
}

@media only screen and (max-width: 999px) {
  .nectar-social.fixed.visible {
    right: 10px;
    bottom: 10px;
  }
}

body .nectar-social.fixed a i,
#ajax-content-wrap .nectar-social.fixed a i {
  color: #684408 !important;
}

/* Mobile */
#slide-out-widget-area:not(.fullscreen-alt):not(.fullscreen),
#slide-out-widget-area-bg.fullscreen,
#slide-out-widget-area-bg.fullscreen-split,
#slide-out-widget-area-bg.fullscreen-inline-images .nectar-ocm-image-wrap-outer,
#slide-out-widget-area-bg.fullscreen-alt .bg-inner,
body.material #slide-out-widget-area-bg.slide-out-from-right {
  background-color: #466253 !important;
}