/*
Theme Name: Bailey Business Solutions
Description: If you need any help then please contact us! https://baileybusinesssolutions.co.uk/contact/
Author: Bailey Business Solutions
Author URI: https://baileybusinesssolutions.co.uk/
Theme URI: https://baileybusinesssolutions.co.uk/
Version: 1.1
Tags: Web Design, Bailey Business Solutions
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/







:root {
    --logo-bg: #fff;
    --logo-second: #fff;

    --text-color: #d18393;

    --link-color: #d18393;
    --link-hover-color: #d18393;

}




@font-face {
    font-family: 'Montserrat';
    src: url('/wp-content/themes/BaileyBusinessSolutions/fonts/Inter-VariableFont_slnt.woff2') format('woff2'),
         url('/wp-content/themes/BaileyBusinessSolutions/fonts/Inter-VariableFont_slnt.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


p, a, div, h1, h2, h3, h4, h5, button, nav, footer, section, input, button, select {
    font-family: 'Montserrat', sans-serif; /* Added a fallback font */
    box-sizing: border-box;
}




h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}






body {
    margin: 0;
    box-sizing: border-box;
    max-width: 100vw;
    position: relative;
}


p { 
    line-height: 1.6;
    font-size: 12px;
    color: var(--text-color);
}





* {
    box-sizing: border-box;
}


div#body_container {
    min-height: 70vh;
}


html {
	scroll-behavior: smooth;
}
body {
    
}


@font-face {
    font-family: '';
    src: url('') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


body {
    
    margin: 0;
    box-sizing: border-box;
    max-width: 100vw;
    position: relative;
}

div#body_container {
    
}


p, span, label, li { 
    line-height: 1.6;
    font-size: 12px;
    color: var(--text-color);
    margin: 0px;
    letter-spacing: 0.3px;
}
a {
    color: var(--link-color);
    line-height: 1.6;
}
a:hover {
    color: var(--link-hover-color);
}

:not(.bbs-block) a {
    font-size: 12px;
}


ul {
    padding: 0px;
    margin: 0px;
}

li {
    list-style: none;
}

h1, h2, h3, h4, h5 {
    letter-spacing: 1px;
    color: var(--text-color);
}

p, a, div, h1, h2, h3, h4, h5, button, nav, footer, section, input, button, select, label, textarea, em {
    font-family: ;
    box-sizing: border-box;
}

svg {
    transition: 0.3s;
}

button {
    cursor: pointer;
    transition: 0.3s;
    
    border: none;
    outline: none;
    
}




.input-cont {
    display: grid;
    position: relative;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}
.input-cont label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 10px;
    font-size: 12px;
    pointer-events: none;
    transition: 0.2s;
    text-align: left;
}
.input-cont input:placeholder-shown, .input-cont textarea:placeholder-shown {
    padding: 10px !important;
}
.input-cont input:placeholder-shown + label, .input-cont textarea:placeholder-shown + label {
    opacity: 0;
}

.input-cont input, .input-cont select, .input-cont textarea {
    padding: 5px 10px;
    padding-top: 20px;
    width: 100%;
    outline: none;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.4;
    transition: 0.2s;
    box-sizing: border-box;
}

input[type="submit"] {
    padding: 5px 20px;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    transition: 0.3s;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
}
input[type="submit"]:hover {
    transform: scale(1.025);
}

.input-cont input.error, .input-cont select.error, .input-cont textarea.error {
    border: 1px solid #ff0000a1;
}

.baileybs-form-row > label {
    display: none;
}


.input-cont.honey {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

label {
    width: 100%;
    cursor: pointer;
    font-size: 14px;
}

input[type="radio"] {
    border-radius: 50%;
    cursor: pointer;
    margin: 0;
    outline: 1px solid #d18393;
    appearance: none;
    width: 1em !important;
    height: 1em !important;
    position: relative;
    display: flex;
    align-self: center;
    transition: 0.3s;
    align-items: center;
    overflow: hidden;
}
input[type="radio"] + label {
    margin-left: 5px;
}
input[type="radio"]:after {
    content: '';
    display: block;
    width: 95%;
    height: 95%;
    background-color: #d18393;
    border-radius: 50%;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: 0.3s;
    pointer-events: none;
}
input[type="radio"]:checked {
    outline: 1px solid #d18393;
}
input[type="radio"]:checked:after {
    transform: scale(0.8);
}




input[type="checkbox"] {
    cursor: pointer;
    margin: 0;
    outline: 1px solid #d18393;
    appearance: none;
    width: 1em;
    height: 1em;
    position: relative;
    display: flex;
    align-self: center;
    transition: 0.3s;
    align-items: center;
    overflow: hidden;
    border-radius: 2px;
    flex-shrink: 0;
}
input[type="checkbox"] + label {
    margin-left: 5px;
    cursor: pointer;
}
input[type="checkbox"]:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Capa_1' x='0px' y='0px' viewBox='0 0 507.506 507.506' style='enable-background:new 0 0 507.506 507.506;fill: %23fff;' xml:space='preserve' width='20' height='20'%3E%3Cg%3E%3Cpath d='M163.865,436.934c-14.406,0.006-28.222-5.72-38.4-15.915L9.369,304.966c-12.492-12.496-12.492-32.752,0-45.248l0,0 c12.496-12.492,32.752-12.492,45.248,0l109.248,109.248L452.889,79.942c12.496-12.492,32.752-12.492,45.248,0l0,0 c12.492,12.496,12.492,32.752,0,45.248L202.265,421.019C192.087,431.214,178.271,436.94,163.865,436.934z'/%3E%3C/g%3E%3C/svg%3E");
    content: '';
    display: block;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    transform: scale(0);
    transition: 0.3s;
    pointer-events: none;
    position: absolute;
    z-index: 2;
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
    background-position: center;
}
input[type="checkbox"]:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: #d18393;
    top: 0;
    left: 0;
    transform: scale(0);
    transition: 0.3s;
    pointer-events: none;
    border-radius: 50%;
}
input[type="checkbox"]:not(:checked):after {
    transition-delay: 0.3s;
}

input[type="checkbox"]:checked {
    outline: 1px solid #d18393;
}
input[type="checkbox"]:checked:before {
    transform: scale(1);
    transition-delay: 0.3s;
}
input[type="checkbox"]:checked:after {
    transform: scale(1.5);
}











.wp-block-button, .hover-grow {
    transition: 0.3s;
}
.wp-block-button:hover, .hover-grow:hover {
    transform: scale(1.025);
}

.hover-grow {
    transform-origin: left;
}









p.bbs-block, li.bbs-block {
    margin-bottom: 1rem;
}



.wp-block-separator {
    border-top: 2px solid #d18393;
}


p.bbs-block > a {
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
}







/*        wp pages        */

figure.wp-block-image {
    margin: 20px 0px;
}
figure.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/**        wp pages        */









.bbs_coupon_codes_top {
    margin: 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.bbs_coupon_codes_cont p {
    margin: 0px;
}
p.bbs_coupon_codes_top_right {
    text-align: right;
}
.bbs_coupon_codes_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
button.bbs_remove_coupon_code {
    background: unset;
    background-color: #d18393 !important;
    padding: 5px !important;
    font-size: 12px;
    display: flex;
    gap: 5px;
    align-items: center;
    transition: 0.3s;
    text-decoration: none !important;
    color: #fff !important;
    border-radius: 5px;
    cursor: pointer;
}
button.bbs_remove_coupon_code * {
    fill: #fff !important;
}

















/*      ARCHIVE         */

ul.products:before, ul.products:after {
    display: none !important;
}
ul.products {
    padding: 0px;
    margin: 0px;
    display: grid;
    gap: 10px 10px;
    margin: 10px 10px;
    list-style: none;
}
ul.products.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}
ul.products.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}
ul.products.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}
ul.products.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media only screen and (max-width: 770px) { 
    ul.products {
        grid-template-columns: repeat(1, 1fr) !important;
        margin: 5px 10px !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }
}






















li.bbs_product {
    position: relative;
    display: grid;
}
li.bbs_product > a {
    display: block;
    text-decoration: none;
}
li.bbs_product .bbs-product-highlights {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
    gap: 5px;
}
li.bbs_product .bbs-product-highlights span {
    padding: 5px 10px;
    background-color: #d18393;
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
}

.product-thumbnail {
    border-radius: 5px;
    overflow: hidden;
    aspect-ratio: 1;
    display: grid;
}

li.bbs_product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: grid;
}

.product-thumbnail.product-thumbnail-hover img:nth-child(2) {
    display: none;
}
li.bbs_product:hover .product-thumbnail.product-thumbnail-hover img:nth-child(1) {
    display: none;
}
li.bbs_product:hover .product-thumbnail.product-thumbnail-hover img:nth-child(2) {
    display: grid;
}
li.bbs_product h2.product_title {
    margin: 0px;
    font-size: 16px;
    margin-top: 0.5rem;
}







nav.woocommerce-breadcrumb, nav.woocommerce-breadcrumb * {
    color: #d18393;
    font-size: 12px;
    text-decoration: none;
}





.woocommerce-message {
    padding: 10px;
    background-color: #f3f3f3;
    margin: 5px;
    border-radius: 10px;
    font-size: 14px;
}





