/*-----------------------------------------------------------------------------------
	
	Theme Name: Glamhub
	Theme URI: https://glamhub.md
	Description: Premium WordPress Theme for Glamhub
	Author: Roșca Grigore
	Author URI: https://marketing.md
	Version: 999.0
	Tags: glamhub, cosmetics
	Text Domain: grosca
	License: GNU General Public License version 3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
	
-----------------------------------------------------------------------------------*/

/* Homepage Header */
body.page-template-template-homepage header.header {
	height: auto !important;
}

/* Bestsellers Button */
@media screen and (min-width: 768px) {
    .hits__btn {
        width: 217px;
        margin: 0 auto;
		display: flex;
    }
}
@media screen and (max-width: 767px) {
    .hits__btn {
        display: none;
    }
}

/* Language Selector */
.language-chooser li {
    display: inline-block;
}

.language-chooser li:first-child a {
    margin-right: 10px;
}

.language-chooser li a img {
	width: 25px;
}

@media screen and (max-width: 1280px) {
    .desktop-langs {
	    display: none;
    }
}

.mobile-langs {
	position: relative;
}

.mobile-langs .language-chooser {
	margin: 0;
    position: absolute;
	top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* WooCommerce Cart */
#basket-root .basket-content .woocommerce,
#basket-root .basket-content .woocommerce .woocommerce-notices-wrapper{
	display: contents;
}

#basket-root .basket-content .woocommerce table.shop_table {
	border: none;
	margin-top: 2rem;
}

#basket-root .basket-content .woocommerce .cart-empty {
	width: 100%;
	display: block;
}

#basket-root .basket-content .woocommerce .return-to-shop {
	display: none;
}

#basket-root .basket-content .basket-content__aside .wc-proceed-to-checkout {
	padding: 0;
}

#basket-root .basket-content .basket-content__aside form .form-row input.input-text,
#basket-root .basket-content .basket-content__aside form .form-row textarea {
	color: #444;
    line-height: 28px;
	display: block;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	border: 1px solid #aaa;
    border-radius: 4px;
	box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    margin: 0 0 -4px;
    user-select: none;
    -webkit-user-select: none;
}

#basket-root .basket-content .basket-content__aside form .shipping-calculator-form button.button {
	margin-top: 10px;
	margin-bottom: 5px;
}

@media screen and (min-width: 768px) {
    .page-template-template-checkout .order-box #billing_country_field,
    .page-template-template-checkout .order-box #billing_state_field,
    .page-template-template-checkout .order-box #shipping_country_field,
    .page-template-template-checkout .order-box #shipping_state_field{
	    width: calc(50% - (16px * 1 / 2));
    }
}

@media screen and (max-width: 768px) {
    .page-template-template-checkout .order-box #billing_country_field,
    .page-template-template-checkout .order-box #billing_state_field,
    .page-template-template-checkout .order-box #shipping_country_field,
    .page-template-template-checkout .order-box #shipping_state_field{
	    width: 100%;
		margin-bottom: 28px;
    }
}

.page-template-template-checkout .order-box #billing_country_field,
.page-template-template-checkout .order-box #billing_state_field,
.page-template-template-checkout .order-box #shipping_country_field,
.page-template-template-checkout .order-box #shipping_state_field{
	min-height: 56px;
    padding: 16px 20px;
    color: #25282c;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    border: 1px solid #d6d8dc;
    -webkit-transition: border-color 0.2s ease-in-out;
    -o-transition: border-color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out;
}

.page-template-template-checkout .order-box #billing_country_field label,
.page-template-template-checkout .order-box #billing_state_field label,
.page-template-template-checkout .order-box #shipping_country_field label,
.page-template-template-checkout .order-box #shipping_state_field label{
	color: #7b8289;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
}

.page-template-template-checkout .order-box #billing_country_field label > abbr.required,
.page-template-template-checkout .order-box #billing_state_field label > abbr.required,
.page-template-template-checkout .order-box #shipping_country_field label > abbr.required,
.page-template-template-checkout .order-box #shipping_state_field label > abbr.required {
	font-weight: 400;
    font-size: 16px;
	color: #c33149;
}

.page-template-template-cart .woocommerce-shipping-destination,
.page-template-template-cart .woocommerce-shipping-calculator {
	display: none;
}

.page-template-template-cart ul#shipping_method li {
	margin-bottom: 0px;
}

/* Cart Coupon */
.page-template-template-cart .shop_table_responsive.cart .coupon input.input-text {
	width: 55%;
	height: 56px;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    border: 1px solid #d6d8dc !important;
	padding: 0.618em 1em !important;
	margin: 0 !important;
}

.page-template-template-cart .shop_table_responsive.cart .coupon button.button {
	height: 56px;
	padding: 0.618em 1em !important;
}

/* Checkout Coupon */
.page-template-template-checkout .woocommerce-form-coupon {
	width: 100%;
	max-width: 600px;
}

.page-template-template-checkout .woocommerce-form-coupon .form-row {
	margin-top: 20px;
}

.page-template-template-checkout .woocommerce-form-coupon .form-row input.input-text {
	width: 100%;
	height: 56px;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    border: 1px solid #d6d8dc !important;
	padding: 0.618em 1em !important;
	margin: 0 !important;
}

.page-template-template-checkout .woocommerce-form-coupon .form-row button.button {
	width: 100%;
	height: 56px;
	padding: 0.618em 1em !important;
}

.page-template-template-checkout .wc_payment_methods input.input-radio {
	-webkit-appearance: radio;
}

.page-template-template-checkout .wc_payment_methods label {
	cursor: pointer;
}

.page-template-template-checkout .agree_with_policy input.input-checkbox { 
	-webkit-appearance: checkbox;
}

.page-template-template-checkout .agree_with_policy label {
	line-height: 1 !important;
}

/* Thankyou Page */
@media screen and (max-width: 900px) {
    .woocommerce ul.order_details li {
        display: block;
        width: 100%;
        border-right: none;
        border-bottom: 1px dashed #d3ced2;
        padding: 15px 0;
    }
}

/* WooCommerce Notifications */
.only-one-notification .woocommerce-notices-wrapper .woocommerce-message:not(:first-of-type){
	display: none;
}

/* Subscribe Notification */
.subscribe-success {
	position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #4bb543;
    max-width: 300px;
    padding: 20px;
    color: #fff;
}

/* Filters Call */
.viwcpf-off_canvas-icon-wrap {
	display: none;
}

.catalog-head__control .viwcpf-off_canvas-icon-wrap {
	display: initial;
    position: initial;
    width: auto;
    height: auto;
    max-height: 24px;
    background: transparent;
    border-radius: unset;
    z-index: unset;
}

/* Wishlist */
.yith-wcwl-add-to-wishlist .feedback {
	background: #f1f4f6;
    padding: 7px;
    font-size: 12px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.yith-wcwl-add-to-wishlist .feedback .yith-wcwl-icon,
.yith-wcwl-add-to-wishlist .yith-wcwl-icon {
	font-size: 24px;
	color: #000;
	vertical-align: middle;
}

.page-template-template-wishlist .wishlist-title-with-form {
	display: none;
}

.page-template-template-wishlist .yith-wcwl-form {
	margin-top: 2rem;
}

.product-template-default.single-product .yith-wcwl-add-to-wishlist {
	margin-top: 0px;
}

.product-template-default.single-product .block-product__box .feedback {
	background: transparent;
    font-size: 0px;
    padding: 0;
    border-radius: 0px;
}

.product-template-default.single-product .yith-wcwl-add-button i.yith-wcwl-icon,
.product-template-default.single-product .feedback i {
	margin-right: 0px;
}

/* Customer Styles */
.mt-5 {
	margin-top: 5rem !important;
}

.mt-2 {
	margin-top: 2rem !important;
}

.card-preview__content h3.category-title {
	font-size: 32px;
	color: #25282c;
}

/* Developer */
.footer__bottom .developer img {
	vartical-alignment: middle;
	height: 40px;
}

/* Buton Outline */
.btn--radius {
	border-radius: 100px;
}
	
.btn--outline {
	color: #333;
    border: 1px solid #d1d1d1;
	display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 48px;
    padding: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    border-radius: 100px;
    -webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
    -o-transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
    transition: color .2s ease-in-out, background-color .2s ease-in-out, border-color .2s ease-in-out;
}

.btn--outline:not(:disabled):hover {
    color: #6d6d6d;
    border-color: #6d6d6d;
}

.btn--outline.increase-font {
    font-size: 16px;
	font-weight: 600;
}

/* Paination */
.pagination__list .pagination__item span {
	border-radius: 50%;
}

/* Product Tags */
.swiper-tags .swiper-slide a.tag {
	border-radius: 100px;
}

/* Footer Social */
.footer-social .btn--icon .icon {
    width: 40px;
    height: 40px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) { 
	.footer__main .footer__about {
		text-align: center;
	}
	
	.footer__main .footer-social {
		justify-content: center;
	}
}

.copy-container {
	font-family: "Optima Lt Cyrillic", sans-serif;
	max-width: 1400px;
    margin: 0 auto;
}

.card-product .card-product__name {
	font-size: 15px;
}

.block-product__box .tabs__content .tabs__tab {
	font-family: "Optima Lt Cyrillic", sans-serif;
}

@media screen and (min-width: 1440px) {
    .block-product__title {
        margin-bottom: 32px;
        font-size: 28px;
		font-family: "Optima Lt Cyrillic", sans-serif;
    }
}

.page-template-template-about .about .block-about {
	font-family: "Optima Lt Cyrillic", sans-serif;
}

.page-template-template-brands .card-brand__content .card-brand__text {
	font-family: "Optima Lt Cyrillic", sans-serif;
}

.tax-product_brand .block-brand__short,
.tax-product_brand .block-brand__full {
	font-family: "Optima Lt Cyrillic", sans-serif;
}

.card-product .card-product__marks .card-product__mark,
.block-product__marks .block-product__mark {
	border-radius: 100px;
}

.swiper-main .swiper-pagination.swiper-pagination-horizontal .swiper-pagination-bullet {
	border-radius: 50%;
}

.swiper-main .swiper-pagination.swiper-pagination-horizontal .swiper-pagination-bullet:after {
	border-radius: 50%;
}

.swiper-main{
	margin-top: 58px;
}

.block-brand__picture {
	height: 100%;
}

@media screen and (max-width: 768px) {
    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, 
    .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
	    background-color: #fff !important;
    }
}

.page-template-template-cart .block-basket,
.page-template-template-checkout .block-order {
	background-color: #fff;
}

#add_payment_method #payment, 
.woocommerce-cart #payment, 
.woocommerce-checkout #payment {
	background-color: #fff;
}

.page-template-template-cart .woocommerce-cart-form__contents .btn,
.page-template-template-cart .woocommerce-cart-form__contents .coupon #coupon_code,
.page-template-template-cart .woocommerce-cart-form__contents .coupon .button,
.page-template-template-cart .wc-proceed-to-checkout a,
.page-template-template-checkout #place_order,
.page-template-template-checkout .checkout_coupon .button,
.page-template-template-checkout .checkout_coupon .input-text {
	border-radius: 100px;
}

/* Glamhub Discount */
.card-product .glamhub-discount,
.block-product .glamhub-discount {
	position: absolute;
	top: 0px;
    left: 0px;
    z-index: 9;
    color: #fff;
	border-right: 50px solid transparent;
    border-top: 50px solid black;
	width: 50px;
    height: 50px;
}

.card-product .glamhub-discount span,
.block-product .glamhub-discount span {
	color: #fff;
    position: absolute;
    top: -45px;
    left: 5px;
    font-size: 11px;
}

/* Glamhub Prices */
.card-product__price .card-product__priceNew,
.block-control__price .block-control__priceNew {
	color: black;
}

.card-product__price .card-product__priceOld,
.block-control__price .block-control__priceOld {
	color: black;
}

/* Rewriting color schema to Purple */

/* Desktop Header */
header.header .header__fixed {
	border-bottom: 1px solid #59178A !important;
	background-color: #C4A6DE; !important;
}

header.header .header-btn .icon,
header.header .header-link .icon {
	fill: #59178A !important;
}

/* Mobile Bottom Panel */
header.header .header-panel {
	border-top: 1px solid #59178A !important;
	background-color: #C4A6DE; !important;
}

header.header .header-panel__link .icon {
	fill: #59178A !important;
}

header.header .header-panel__link {
	color: #59178A !important;
}

/* Footer */
footer.footer {
	border-top: 1px solid #59178A !important;
	background-color: #C4A6DE !important;
}

footer.footer .footer__bottom:before {
	background-color: #59178A !important;
}

footer.footer .footer-social .btn--outline {
	border: 1px solid #59178A !important;
}

footer.footer .footer__time {
	color: #59178A !important;
}

/* Add to cart CTA */
.card-product .card-product__btn.btn--outline {
	background-color: #C4A6DE !important;
    color: #59178A !important;
	text-transform: uppercase !important;
	border: 1px solid #59178A !important;
}

.block-product__box .block-control__control .add_to_cart_button.btn--outline {
	background-color: #C4A6DE !important;
    color: #59178A !important;
	text-transform: uppercase !important;
	border: 1px solid #59178A !important;
}

/* Process to checkout CTA */
.basket-content__aside .wc-proceed-to-checkout .block-basket__btn {
	background-color: #C4A6DE !important;
	color: #59178A !important;
}

/* Place order CTA */
.order__aside .place-order button.block-order__btn {
	background-color: #C4A6DE !important;
	color: #59178A !important;
}

/* Products Counter - Bascket */
header.header .header-link__count {
	color: #C4A6DE !important;
	background-color: #59178A !important;
}

header.header .header-panel .header-panel__count {
	color: #C4A6DE !important;
	background-color: #59178A !important;
}

/* Wishlist Icon */
.yith-wcwl-add-to-wishlist .feedback .yith-wcwl-icon, 
.yith-wcwl-add-to-wishlist .yith-wcwl-icon {
	color: #59178A !important;
}

/* Products Price */
.card-product .card-product__price .card-product__priceNew {
	color: #59178A !important;
}

.block-product__box .block-control__price .block-control__priceNew {
	color: #59178A !important;
}

/* Force Fixed Header on mobile */
@media (max-width: 1279px) {
  .header__fixed {
    transform: translateY(0) !important;
  }
}

/* Section Brand CTA - Accent Button */
.section-brand .btn.btn--accent {
	background-color: #C4A6DE !important;
	color: #59178A !important;
}

.btn.btn--accent {
	background-color: #C4A6DE !important;
	color: #59178A !important;
}

.btn.btn--prime {
	background-color: #C4A6DE !important;
	color: #59178A !important;
}

/* Catalog Megamenu Desktop */
@media (min-width: 1280px) {
    .new-multi-depth-menu .header-catalog {
        position: relative;
    }

    .new-multi-depth-menu .header-catalog__list-main {
        list-style: none;
        margin: 0;
        padding: 8px 0;
        min-width: 300px;
        max-width: 350px;
        position: relative;
        height: 100%;
        display: block;
        columns: unset;
        column-count: unset;
    }

    .new-multi-depth-menu .header-catalog__list-main .header-catalog__item {
        margin-bottom: 0px;
		padding: 12px 10px;
    }

    .new-multi-depth-menu .header-catalog__item {
        position: static;
    }

    .new-multi-depth-menu .header-catalog__parent {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .new-multi-depth-menu .header-catalog__parent .link--prime {
		flex: 1;
		display: block;
		padding: 0px;
		font-size: 26px;
		font-weight: 600;
		white-space: nowrap;
		transition: color 0.2s;

    }
	
	.new-multi-depth-menu .header-catalog__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 24px;
		height: 24px;
		flex-shrink: 0;
		background: none;
		border: none;
		cursor: default;
		opacity: 1;
		pointer-events: none;
		transition: opacity 0.2s;
	}

    /* Arrow indicator */
    .new-multi-depth-menu .header-catalog__item.has-children > .header-catalog__parent {
        position: relative;
    }

    .new-multi-depth-menu .header-catalog__item.has-children > .header-catalog__parent::after {
        display: none;
    }
	
	.new-multi-depth-menu .header-catalog__item:hover > .header-catalog__parent .header-catalog__toggle {
		opacity: 0.4;
	}

    .new-multi-depth-menu .header-catalog__item:hover > .header-catalog__parent::after {
        opacity: 1;
    }

    .new-multi-depth-menu .header-catalog__item:hover > .header-catalog__parent .link--prime {
        opacity: 0.7;
    }

    /* Child items */
    .new-multi-depth-menu .header-catalog__sub {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        min-width: 220px;
		min-height: 100%;
        list-style: none;
        margin: 0;
        padding: 10px 15px 50px 15px;
        z-index: 20;
		box-sizing: border-box;
    }
	
	.new-multi-depth-menu .header-catalog__sub::before {
		content: '';
		position: absolute;
		top: 0;
		left: -20px;
		width: 20px;
		height: 100%;
	}

    .new-multi-depth-menu .header-catalog__item:hover > .header-catalog__sub {
        display: block;
    }

    .new-multi-depth-menu .header-catalog__sub li a {
        color: #25282c;
        display: block;
        padding: 10px 15px;
        font-size: 26px;
		font-weight: 600;
        white-space: nowrap;
		transition: color 0.2s;
    }

    .new-multi-depth-menu .header-catalog__sub li a:hover {
        background: none;
		opacity: 0.6;
    }
}