/*
Theme Name: Dr Calin Pop Wholesale
Description: Theme for Dr Calin Pop Wholesale
Version: 1.0.0
Author: Doru-Alexandru Florea
Author URI: https://dafcode.com
Author Email: dorualexandruflorea@gmail.com
Text Domain: drcalinpop-wholesale
*/

/*-------------------------------------------------------------------------*/
/*	Globally Applied Styles
/*-------------------------------------------------------------------------*/

@font-face {
  font-family: "AvenirLight";
  src:
    url("assets/fonts/avenir_light.woff2") format("woff2"),
    url("assets/fonts/avenir_light.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
*,
body,
span,
p,
div,
label,
input,
td,
tr,
table {
  font-family: "AvenirLight";
}
body {
  font-size: 17px;
  color: black;
}

.drcalinpop-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
}

/*-------------------------------------------------------------------------*/
/*	Header
/*-------------------------------------------------------------------------*/

.site-header {
  background: #fff;
  z-index: 999;
  position: relative;
  transition: box-shadow 0.2s ease;
}

body.scrolled .site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.admin-bar.scrolled .site-header {
  top: 32px;
}

body.scrolled .site-header > div {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.site-header .site-header-logo img {
  max-height: 60px;
  width: auto;
}

.site-header #main-navigation > ul > li > a {
  padding: 15px;
  line-height: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
}

.site-header #main-navigation > ul > li > a.dropdown-toggle::after {
  margin-left: 10px;
}

.site-header #main-navigation > ul > li.current-menu-item > a {
  background: #000000;
  color: #fff;
}

.site-header #main-navigation > ul > li:hover .dropdown-menu {
  display: block;
}

.site-header #main-navigation > ul > li .dropdown-menu {
  padding: 0px;
  border: none;
}

.site-header #main-navigation > ul > li .dropdown-menu a:not(:last-child) {
  border-bottom: 1px solid #c4c4c4;
}

.site-header #main-navigation > ul > li .dropdown-menu a {
  background: #000000;
  color: #fff;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 500;
}

.site-header #main-navigation > ul > li .dropdown-menu a:hover {
  color: #14aecf;
}

.site-header #main-navigation > ul > li .dropdown-menu a.active {
  color: #14aecf;
}

.site-header a.top-cart-icon {
  color: #000000;
  font-size: 22px;
}

.site-header a.top-cart-icon span {
  font-size: 10px;
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d9534f;
  line-height: 16px;
  text-align: center;
  color: #fff;
}

/*-------------------------------------------------------------------------*/
/*	Default Page Template
/*-------------------------------------------------------------------------*/

.default-page-header {
  background: #d1d1d1;
}
.default-page-header h1 {
  font-size: 20px;
}

/*-------------------------------------------------------------------------*/
/*	Product Page - Common
/*-------------------------------------------------------------------------*/

.product-page__title{
      background: #d1d1d1;
}
.product-page__title h1{
  font-size: 20px;
}
.product-page__form .btn {
  background: #d1d1d1;
  color: #000000;
  border: none;
}
.product-page__form .btn:hover {
  background: #000000;
  color: #fff;
}
.product-page__form input[type="number"] {
  appearance: auto;
  -moz-appearance: number-input;
}
.product-page__form input[type="number"]::-webkit-outer-spin-button,
.product-page__form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: inner-spin-button;
  opacity: 1;
}
.product-content-block--before-cart p,
.product-content-block--after-cart p {
  margin-bottom: 0;
}
#accessory-product-modal img {
    max-height: 250px;
}
#accessory-product-modal #accessory-product-modal-description {
    max-width: 600px;
}
#accessory-product-modal .modal-body button {
    background: #d1d1d1;
    color: #000;
    border-radius: 6px;
    display: inline-block;
    padding: 10px;
    width: 200px;
    border: none;
}
#accessory-product-modal .modal-body button:hover {
    background: #000;
    color: #fff;
}

/*-------------------------------------------------------------------------*/
/*	WooCommerce
/*-------------------------------------------------------------------------*/

.drcalinpop-followup-notice {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 8px;
     white-space: nowrap;
    padding: 20px;
}
/* Single Product */
#drcalinpop-single-product {
    background: #f2f2f2;
}

.single-product-buy-btn {
    padding: 15px 30px;
    font-size: 18px;
    display: inline-block;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    margin-top: 15px;
}

.single-product-buy-btn.buy-fixlite-btn {
    background: #f67813;
}

.single-product-buy-btn.buy-spare-parts-btn {
    background: #23aecf;
}

.single-product-buy-btn:hover {
    opacity: 0.8;
}

/* Slide in cart */

#slide-in-cart {
    position: fixed;
    background-color: #fff;
    z-index: 9999;
    right: -500px;
    left: auto !important;
    width: 400px;
    height: 100%;
    top: 0;
    transition: all 0.4s;
    box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 18%);
}

body.admin-bar #slide-in-cart {
    top: 32px;
}

#slide-in-cart.active {
    right: 0px;
}

#slide-in-cart .slide-in-cart-header {
    padding: 10px 30px;
}

#slide-in-cart .slide-in-cart-header .close-slide-in-cart {
    cursor: pointer;
    color: #d1d1d1;
    font-size: 32px;
}

#slide-in-cart #slide-in-cart-content {
    height: 100%;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget {
    list-style: none outside;
    padding: 0 30px;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 0;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li:not(:last-child) {
    border-bottom: 1px solid #d1d1d1;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-image {
    width: 20%;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-content {
    width: 80%;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-image img {
    max-width: 100%;
    height: auto;
    padding-right: 10px;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-content .quantity .amount {
    display: block;
    color: #ff6600;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-content p,
#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-content dl.variation,
#slide-in-cart #slide-in-cart-content ul.product_list_widget li .woocommerce-mini-cart-item-content dl.variation dd {
    margin-bottom: 0;
}

#slide-in-cart #slide-in-cart-content ul.product_list_widget li a.remove {
    position: absolute;
    right: 0;
    top: 20px;
    color: #d9534f;
}

#slide-in-cart #slide-in-cart-content .woocommerce-mini-cart-footer {
    position: absolute;
    bottom: 0;
    left: 30px;
    right: 30px;
    border-top: 1px solid #d1d1d1;
    z-index: 10;
    padding-bottom: 40px;
    background: #fff;
}

#slide-in-cart #slide-in-cart-content .woocommerce-mini-cart-footer .woocommerce-mini-cart__total {
    padding: 25px 0;
    margin-bottom: 0;
}

#slide-in-cart #slide-in-cart-content .woocommerce-mini-cart-footer .woocommerce-mini-cart__total span {
    float: right;
    color: #ff6600;
}

#slide-in-cart #slide-in-cart-content .woocommerce-mini-cart__buttons a {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: #000;
    text-align: center;
    display: inline-block;
    height: 50px;
    line-height: 48px;
    padding: 0 40px;
    text-transform: uppercase;
    border: 1px solid #000;
    width: 100%;
    margin-bottom: 15px;
    text-decoration: none;
}


/* Cart Page */

body.woocommerce-cart,
body.woocommerce-checkout {
    overflow-x: hidden;
}
body.woocommerce-cart #page-content>.container,
body.woocommerce-checkout #page-content>.container {
    padding-top: 0 !important;
}

body.woocommerce-cart #page-content>.container>h1,
body.woocommerce-checkout #page-content>.container>h1 {
    background: #d1d1d1;
    font-size: 24px;
    color: #000000;
    padding: 10px 999px;
    margin-left: -999px;
    margin-right: -999px;
    text-transform: uppercase;
}

body.woocommerce-page table.shop_table {
    padding: 15px;
    margin-top: 30px;
}

body.woocommerce-cart table.cart .product-thumbnail img {
    width: 100px;
}

.woocommerce-page #payment #place_order {
    background: #000;
    border-radius: 6px;
    border: none;
    color: #fff;
    padding: 0.76rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-page #payment #place_order:hover {
    background: white;
    color: #000;
    border:1px solid;
}

body.woocommerce-cart button:hover,
body.woocommerce-cart .button:hover {
    background: #000000;
}

body.woocommerce-cart input#coupon_code {
    padding: 0.36rem 0.66rem;
    line-height: 1.8;
    font-size: 20px;
}

body.woocommerce-cart .checkout-button:after {
    content: "→";
    margin-left: .5rem;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: #000000;
    color: #fff;
    max-width: 280px;
    margin: 0 auto;
    padding: 10px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: white;
    color: #000000;
    border: 1px solid;
}

body.woocommerce-cart .woocommerce-cart-form .button {
    background: #d1d1d1;
    color: #000;
    font-weight: 400;
    cursor: pointer;
    padding: 0.76rem 1rem;
    border-radius: 6px;
    border: none;
}

body.woocommerce-cart .woocommerce-cart-form .button:hover {
    background: #000;
    color: #fff;
}

body.woocommerce-cart .cart_totals>h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

body.woocommerce-cart .cart-continue-shopping-btn a {
    background-color: #d1d1d1 !important;
    color: #000 !important;
    font-weight: 400;
}

body.woocommerce-cart .cart-continue-shopping-btn a:hover {
    background-color: #000 !important;
    color: #fff !important;
}

body.logged-in .my-account-guest-only-message {
    display: none;
}

/*-------------------------------------------------------------------------*/
/*	Simple Product Page
/*-------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------*/
/*	Footer
/*-------------------------------------------------------------------------*/

.site-footer .site-footer-widgets ul {
  list-style-type: none;
  padding: 0;
}
.site-footer .site-footer-widgets ul li a {
  color: #fff;
  text-decoration: none;
}


/*-------------------------------------------------------------------------*/
/*	Responsive
/*-------------------------------------------------------------------------*/