/*
Theme Name: Cộng đồng web Child
Description: Theme is rewritten from Congdongweb, serving the products of Cong Dong Web
Author: CDW - Rewrite by UX-Themes
Template: congdongweb
Version: 1.1.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
 font-family: Baskerville;
 src: url(https://ajbeautysupplies.com/wp-content/themes/congdongwebchild/font/Baskerville.woff2);
}
@font-face {
 	font-family: cdw-swiss;
	font-weight: 400;
	font-style: normal;
	font-display: swap;
 	src: url(https://ajbeautysupplies.com/wp-content/themes/congdongwebchild/font/main1.woff2);
}
.nav-dropdown .menu-item-has-children>a, .nav-dropdown .nav-dropdown-col>a, .nav-dropdown .title>a {
    color: #0a75bc;
    text-transform: capitalize;
    font-size: 18px;
    border-bottom: 1px solid !important;
    display: block;
    font-weight: bold;
}
.nav-dropdown>li.image-column, .nav-dropdown>li.nav-dropdown-col {
    width: auto;
}
.custom-category-header {
  display: none;
}
div#top-bar p, div#top-bar a {
    font-size: 14px;
    color: #fff;
}
.cdw-banner p {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    opacity: 0.6;
}
.cdw-banner p.dark {
    opacity: 1;
    color: #fff;
}
.cdw-banner h1 {
    font-family: Baskerville;
    font-size: 65px;
	line-height:72px;
}
div#masthead .flex-col.hide-for-medium.flex-left ul.header-nav.header-nav-main.nav.nav-left.nav-size-medium.nav-spacing-xlarge {
    display: flex;
    justify-content: center;
}
body{
	font-family: cdw-swiss;
}
.shop-page-title .title-overlay {
    display: none;
}
.shop-page-title.category-page-title.page-title{
    height: 450px;
	position:relative;
}
.shop-page-title.featured-title .title-bg {
  background-position: center !important;
}
h1.shop-page-title.is-xlarge {
    font-family: Baskerville;
    font-size: 65px;
    line-height: 72px;
}
.featured-title .page-title-bg .title-bg.fill.bg-fill.parallax-active {
    background: url(/wp-content/uploads/2024/10/banner-shop.jpg);
}
.shop-page-title.category-page-title.page-title .page-title-inner.flex-row.medium-flex-wrap.container {
    position: absolute;
    width: 40%;
    bottom: 20px;
    right: 20px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 30px;
    text-align: right;
}
.term-description p::first-letter {
    margin: 0 .3rem 0 0;
    font-size: 4rem;
    float: left;
    line-height: 1;
    font-weight: bold;
}
span.price:before {
    content: 'Salon/Spa Price: ';
    color: #0a75bc;
	padding-right:5px;
    font-weight: bold;
}
.price-wrapper .price del {
    order: 1;
}
span.amount {
	color: #0a75bc;
}
del span.amount {
    color: #6f6f6f;
}
p.name.product-title.woocommerce-loop-product__title a{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.price-wrapper .price del {
    font-size: 90%;
    order: 1;
    padding-left: 5px;
    color: #000;
}
.price-wrapper .price {
    display: flex;
	margin-top:10px;
    align-items: flex-end;
}
.cdw-filtel p.woocommerce-result-count {
    display: contents;
}
.cdw-filtel {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.row.category-page-row {
    max-width: 1400px;
}
/*home*/
.frame-category-home h2 {
  font-size: 1.3125rem;
  line-height: 1;
  font-weight: 400;
  padding-bottom: 5px;
  margin-bottom: 0;
  margin-top: 20px;
}
.add-to-cart-button a {
    border: none !important;
    background: #474747 !important;
    color: #fff !important;
    padding: 5px 30px;
    border-radius: 10px;
	display:none;
}
.off-canvas .off-canvas-cart {
    width: 30%;
}
p.woocommerce-mini-cart__buttons.buttons {
    display: flex;
    column-gap: 10px;
}
p.woocommerce-mini-cart__buttons.buttons a {
    border-radius: 10px;
    padding: 10px;
}
.add-to-cart-button {
    position: absolute;
    top: -60px;
    right: 0;
    left: 0;
    margin: auto;
    display: inline-table;
}
.product-small.box:hover .add-to-cart-button a {
	display:block;
}
.add-to-cart-button a.primary.is-small.mb-0.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.is-outline.added {
    display: none;
}
.add-to-cart-button a.added_to_cart.wc-forward {
    padding: 10px 30px;
    margin-top: 10px;
}

.woocommerce a.remove {
    width: 30px;
    height: 22px;
    position: relative;
    transition: opacity 200ms;
    vertical-align: top;
    display: block;
    -webkit-appearance: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    text-indent: -9999px;
}
.woocommerce a.remove:before, .woocommerce a.remove:after {
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAQCAQAAACMnYaxAAAAXUlEQVR4XsWQQQrAQAgD84Pti/JSoaftN1MCdgXxXgYvGfUQyABE4DEIUJmeuKgVlJI5em0RGTesFXXZuLwCzvL2pYbHmfCTNSXxpyyajLGClFy7K1dgaaho7YYovIpO3rju6hYFAAAAAElFTkSuQmCC) 0 0 no-repeat;
    left: 8px;
    position: absolute;
    right: 8px;
    top: 2px;
    display: inline-block;
    content: '';
}
.woocommerce a.remove:before{
    height: 6px;
    transform-origin: -7% 100%;
    -moz-transform-origin: -7% 100%;
    -webkit-transform-origin: -7% 100%;
    transition: transform 150ms;
    -moz-transition: transform 150ms;
    -webkit-transition: transform 150ms;
    width: 14px;
}
.woocommerce a.remove:after{
    background-position: -1px -4px;
    height: 12px;
    margin-left: 1px;
    margin-right: 2px;
    margin-top: 4px;
    width: 11px;
}
.header-button a {
    text-transform: capitalize;
}
.woocommerce a.remove:hover:before{
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition: transform 250ms;
    -moz-transition: transform 250ms;
    -webkit-transition: transform 250ms;
}
.woocommerce a.remove:hover {
    background: transparent;
}
div#cart-popup .cart-popup-title.text-center {
    text-align: left;
}
div#cart-popup .cart-popup-title.text-center .is-divider {
    width: 100%;
    background: #0a75bc;
    max-width: 100%;
    height: 1px;
}
.col.post-item .is-divider {
    display: none;
}
.col.post-item h5 {
    color: #797979;
    font-family: Baskerville;
}
.cdw-date {
    font-size: .75rem;
    text-transform: uppercase;
    color: #797979;
    opacity: .6;
    letter-spacing: .1em;
    margin-bottom: 10px;
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}

.product-list .box .box-image img {
  width: 30px;
  height: 30px;
  padding: 0;
}
.product-list .box .box-text {
  padding: 0px 5px;
}

.product-list .box .box-text .header-title {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
}
.product-list .product-category {
  padding: 5px 5px;
}
.cdw-social-header .icon {
  margin-bottom: 10px;
}

.cdw-shop-all a {
  font-weight: bold;
  color: #0a75bc !important;
}

.cdw-shop-all a span {
  margin-right: 20px;
  color: #ca5e00;
}

.product-list-without-image {
  margin-left: 25px !important;
}

.product-list-without-image .box .box-image {
  display: none;
}
.product-list-without-image .box .box-text {
  padding: 0px 5px;
}

.product-list-without-image .box .box-text .header-title {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 500;
}

.product-list-without-image .product-category {
  padding: 0 5px;
  position: relative;
}
.product-list-without-image .product-category .col-inner {
  padding-left: 5px;
}
.product-list-without-image .product-category.col:before {
  content: "";
  display: block;
  border: 2px solid;
  border-radius: 100%;
  width: 1px;
  height: 1px;
  color: red;
  position: absolute;
  top: 50%;
}
.header-bottom .container .product_list_widget li {
  border: unset;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  padding: 3px 15px;
}

.header-bottom .container .product_list_widget li a {
  padding-left: 45px;
}


.widget-title.shop-sidebar{
    line-height: 18px;
    color: #333;
    cursor: pointer;
    padding: 19px 16px 19px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-weight: 400;
    position:relative;
}
.widget-title.shop-sidebar::after{
    content: "";
    display: inline-block;
    position: absolute;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 8H8V13C8 13.55 7.55 14 7 14C6.45 14 6 13.55 6 13V8H1C0.45 8 0 7.55 0 7C0 6.45 0.45 6 1 6H6V1C6 0.45 6.45 0 7 0C7.55 0 8 0.45 8 1V6H13C13.55 6 14 6.45 14 7C14 7.55 13.55 8 13 8Z' fill='%23333333'/%3E%3C/svg%3E%0A");
    margin: 0;
    background-size: auto;
    width: 14px;
    height: 14px;
    right: 0;
    top: 39%;
}
.widget.woocommerce.open .widget-title.shop-sidebar::after{
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='2' viewBox='0 0 14 2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 2H1C0.45 2 0 1.55 0 1C0 0.45 0.45 0 1 0H13C13.55 0 14 0.45 14 1C14 1.55 13.55 2 13 2Z' fill='%23333333'/%3E%3C/svg%3E%0A");
    top: 50%;
    width: 14px;
    height: 2px;
}

.widget.woocommerce{
    height: auto;
    border-bottom: 1px solid #dcdcdc;
    transition: all, .2s;
    margin-bottom:0px;
} 
.widget.woocommerce:not(.open) ul,
.widget.woocommerce:not(.open) form{
    display:none;
}
.widget.woocommerce form{
    display: block;
    position: relative;
    font-size: 13px;
    font-weight: normal;
    list-style: none;
    margin: 0 0 10px 0;
    max-height: 215px;
    padding: 0;
}

.widget.woocommerce .wc-layered-nav-term>a{
    position: relative;
    display: flex;
    align-items: center;
}
.widget.woocommerce .wc-layered-nav-term.chosen>a:before{
    border-radius: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='9' viewBox='0 0 10 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.87228 0.646861C9.91277 0.693296 9.94489 0.748459 9.9668 0.809191C9.98872 0.869923 10 0.935029 10 1.00078C10 1.06653 9.98872 1.13164 9.9668 1.19237C9.94489 1.2531 9.91277 1.30827 9.87228 1.3547L3.78613 8.35314C3.74575 8.39969 3.69778 8.43663 3.64496 8.46183C3.59215 8.48703 3.53553 8.5 3.47835 8.5C3.42117 8.5 3.36455 8.48703 3.31173 8.46183C3.25892 8.43663 3.21095 8.39969 3.17056 8.35314L0.127489 4.85392C0.045859 4.76006 0 4.63275 0 4.5C0 4.36725 0.045859 4.23994 0.127489 4.14608C0.209118 4.05221 0.319832 3.99948 0.435274 3.99948C0.550716 3.99948 0.66143 4.05221 0.743059 4.14608L3.47835 7.29238L9.25671 0.646861C9.29709 0.600308 9.34507 0.563374 9.39788 0.538173C9.4507 0.512972 9.50732 0.5 9.5645 0.5C9.62168 0.5 9.6783 0.512972 9.73111 0.538173C9.78393 0.563374 9.8319 0.600308 9.87228 0.646861Z' fill='white'/%3E%3C/svg%3E%0A");
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #333333;
    opacity: 1;
    content:"";
}
.widget.woocommerce .wc-layered-nav-term:not(.chosen)>a::before {
    background-color: #f1f1f1;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0;
    height: 18px;
    line-height: 12px;
    text-align: center;
    width: 18px;
    content: "";
    display: block;
    margin-right:10px;
    background-color: transparent;
}

.widget.woocommerce .wc-layered-nav-term> .ux-swatch--color+a::before {
    content: none;
}
.widget.woocommerce .is-divider.small{
    display:none;
}

.widget_price_filter .price_label span{
    display: inline-block;
    min-width: auto;
    vertical-align: middle;
    outline: 0 !important;
    border: 1px solid #c1c1c1;
    background-color: #fff;
    box-shadow: none;
    box-sizing: border-box;
    color: #666;
    float: none;
    margin: 0;
    min-height: auto;
    -moz-appearance: textfield;
    padding: 5px 8px;
    height: 29px;
    width: 88px;
    font-size: 10px;
    border-radius: 1px;
    letter-spacing: 0;
}
.widget_price_filter .price_slider_amount .button {
    position: absolute;
    bottom: -35px;
    left: 0px;
}
.price_slider_wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-bottom: 40px;
}
.price_slider_wrapper .price_slider.ui-slider{
    order:2;
    margin-top: 10px;
}.widget_price_filter .price_slider_amount {
    text-align: center;
}