/*!
Theme Name: CBD
Theme URI: https://www.cbwebsitedesign.co.uk/
Author: Creative Brand Design
Author URI: https://www.cbwebsitedesign.co.uk/
Description: Creative Brand Design
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cbd
*/

/* Shop sidebar fix */
section.s-shop {
	overflow: unset;
}

.s-shop .content-with-sidebar > div:first-of-type {
	height: 95%;
}

.s-shop .content-with-sidebar .sidebar-block-wrap {
	position: sticky;
	top: 15%;
}

/* Shop remove gap between shop and appointment sections */
.content-with-sidebar {
	margin-bottom: 0px;
}

/* Shop Load more button margin */
.btn-page-wrap .btn {
	margin-bottom: 20px;
}

/* Hidding in stock total */
.product-card-info .stock {
	display: none;
}

.hero-product-price-wrap .stock {
	display: none;
}

/* Hidding stock quantity */
.single-product .quantity {
	display: none;
}

/* Wishlist remove button */
.cart.shop_table .product-remove .remove_from_wishlist:before {
	content: 'X';
	font-size: 30px;
}

/* Hide Price Sold Page */
.page-template-page-sold .product-card-price {
    display: none;
}

/* Hide Jewellery Type and Ring Style on product page */
.hero-product-property.JewelleryType, .hero-product-property.RingStyle {
    display: none;
}

/* Fix search display products */
@media (max-width: 768px) {
    .search .shop-products-grid.js-search-results {
        display: block;
    }
}

/* Pop-up */
.pop-up {
	position: fixed;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.5);
	display: none;
}

.pop-up.active {
	display: block;
}

.pop-up .inner-pop-up {
	background-color: #CBDBCF;
	margin: 15% auto;
	padding: 20px;
	width: 50%;
	min-height: 50vh;
	border: 1px solid #888;
	position: relative;
	overflow: hidden;
}

.pop-up .bg-image {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.pop-up .bg-image svg {
	opacity: 0.2;
	scale: 1.2;
}

.pop-up .pop-up-title h2 span {
/* 	color: var(--additional-color); */
	font-style: italic;
}

.pop-up .home-pop-up-content {
    width: 75%;
    text-align: center;
}

.pop-up .close {
	font-size: 2rem;
	position: absolute;
	right: 5%;
	top: 5%;
	font-weight: 400;
	cursor: pointer;
	z-index: 20;
}

.pop-up-inner-content {
	min-height: 50vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: inherit;
	z-index: 10;
}

.pop-up .newsletter-form .gform_wrapper.gravity-theme .gfield_checkbox .gchoice label {
	width: min(100%, 400px);
}

@media(max-width: 768px) {
	.pop-up .close {
		padding: 0.5rem 1rem;
	}
	
	.pop-up .inner-pop-up {
		margin: 50% auto;
	}
	
	.pop-up .inner-pop-up {
		width: 90%;
	}
	
	.pop-up .bg-image svg {
		scale: 1;
	}
}

@media(max-width: 991px) {
    /*Drop down mobile menu change*/
    .top-mnu>li>a {
        width: 90%;
        padding: 20px 0 20px 10%;
    }
    .top-mnu li.menu-item-has-children::after {
        z-index: 10000;
    }
    
}

.form-row .checkbox span, .form-row [class*="checkbox"] span, .wc_payment_method label, .woocommerce-shipping-methods label {
    position: unset;
}

.wc_payment_method.payment_method_takepayments {
    position: relative;
}

.wc_payment_method.payment_method_ppcp-gateway label {
    position: relative;
}

.woocommerce-terms-and-conditions-checkbox-text {
    position: relative !important;
}

.form-row.form-row-wide.mailchimp-newsletter span{
    position: relative;
}

.sticky-banner {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-weight: 600;
    line-height: 20px;
}

.sticky-banner.menu-open {
    display: none;
}

.s-single-content.category-content .container {
    padding: 0;
    width: 100%;
}

.s-single-content.category-content .single-page-content {
    margin: clamp(0px, 1.5vw, 100px) auto;
    width: 100%;
}