/*
Theme Name: Local Relove
Theme URI:
Author:
Author URI:
Description: A WooCommerce compatible WordPress theme for second-hand marketplace
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: localrelove
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Darker Grotesque');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/kumbh-sans');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html{
    overflow-x: hidden;
}


html,
body {
    height: 100%;
    font-family: "Poppins", Helvetica,  sans-serif;
    line-height: normal;
    background-color: var(--primary-bg);
    color: var(--primary-color);
    /*overflow-x: hidden;*/
}

ul{
    list-style-type: none;
}

a {
    text-decoration: none;
    color: var(--primary-color) ;
}

.pointer{
    cursor: pointer;
}

.hidden{
    display: none !important;
}

h1, h2, h3, h4, p, span, button, a {
    color: #E8EAED;
    font-style: normal;
    font-feature-settings: 'liga' off, 'clig' off;
    font-weight: 500;
    line-height: normal;
    letter-spacing: normal;
}

h1 {
    font-size: var(--h1-laptop);
}

h2 {
    font-size: var(--h2-laptop);
}

h3 {
    font-size: var(--h3-laptop);
}

h4 {
    font-size: var(--h4-laptop);
}

p {
    font-size: var(--p-main-laptop);
}

span {
    font-size: var(--p-secondary-laptop);
}

button {
    cursor: pointer;
    border:none;
}

button.button--secondary {
    font-size: var(--btn-secondary-laptop);
}

a {
    font-size: var(--link-laptop);
}

fieldset{
    padding: 20px !important;
}

fieldset legend{
    padding: 10px;
}




/* For Desktop (larger screens, 1440px and above) */
@media screen and (min-width: 1440px) {
    h1 {
        font-size: var(--h1-desktop);
    }

    h2 {
        font-size: var(--h2-desktop);
    }

    h3 {
        font-size: var(--h3-desktop);
    }

    h4 {
        font-size: var(--h4-desktop);
    }

    button.button--secondary {
        font-size: var(--btn-secondary-desktop);
    }

    a {
        font-size: var(--link-desktop);
    }

}

.toast {
    background-color: var(--light-blue-color);
    opacity: 1 !important;
    transition: none !important;
    color: #161822 !important;
}


input[type="checkbox"], input[type="radio"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid white;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
    cursor: pointer;
}

input[type="checkbox"]:checked, input[type="radio"]:checked {
    background-color: #55F5FF;
    border-color: #55F5FF;
}

input[type="checkbox"]:checked::after, input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-image: url("./assets/images/check.svg");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

input[type="checkbox"].custom-checked:checked::after, input[type="radio"].custom-checked:checked::after {
    background-image: url("./assets/images/check-white.svg");;
}

input[type="number"]{
    font-size: var(--p-secondary-laptop);
    text-align: center;
    font-weight: 400;
    line-height: 24px;
}

input[type="number"]:focus {
    outline: none;
    border: 3px solid #55F5FF;
    border-radius: inherit;
}

.cta_buttons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta_buttons a, .cta_buttons button{
    text-align: center;
    width: 360px;
    height: 48px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: normal;
    color: #161822 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta_button--primary{
    background-color: var(--light-blue-color);
}

.cta_button--secondary {
    background-color: var(--color-white);
}

.wp-article-container > .wp-block-group__inner-container {
    margin-top: 20px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.wp-block-group > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-article-group {
    padding: 20px 60px;
}

ul.wp-article-list {
    margin: 0 40px;
    list-style-type: disc;
}



/* For Tablets (769px to 1024px) */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: var(--h1-tablet);
        letter-spacing: normal;
    }

    h2 {
        font-size: var(--h2-tablet);
        letter-spacing: normal;
    }

    h3 {
        font-size: var(--h3-tablet);
        letter-spacing: normal;
    }

    h4 {
        font-size: var(--h4-tablet);
    }
    button.button--secondary {
        font-size: var(--btn-secondary-tablet);
    }

}

/* For Mobile (up to 768px) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: var(--h1-mobile);
    }

    h2 {
        font-size: var(--h2-mobile);
    }

    h3 {
        font-size: var(--h3-mobile);
    }

    h4 {
        font-size: var(--h4-mobile);
    }

    p {
        font-size: var(--p-main-mobile);
    }

    button.button--secondary {
        font-size: var(--btn-secondary-mobile);
    }

    a {
        font-size: var(--link-mobile);
    }
    span {
        font-size: var(--p-secondary-mobile);
    }

}

/* For Small Mobile (up to 480px) */
@media screen and (max-width: 480px) {
    h1 {
        font-size: var(--h1-mobile-small);
    }

    h2 {
        font-size: var(--h2-mobile-small);
    }

    h3 {
        font-size: var(--h3-mobile-small);
    }

    h4 {
        font-size: var(--h4-mobile-small);
    }
}

.post__content-area{
    width: 100%;
    padding: 30px 0;
}

.post_thumbnail-container {
    position: relative;
    overflow: hidden;
    max-height: 382px; /*598px;*/
}

.post_thumbnail-container img {
    width: 100%;
    height: auto;
    max-height: 382px;
    object-fit: cover;
    display: block;
}

.post_thumbnail-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.title-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0px;
    color: white;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
}

.entry-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 69px;
    text-align: center;
    padding: 30px;
    position: absolute;
    bottom: 50px;
    width: 100%;
}

.post_content {
    display : flex;
}

.post_content--leftSide {
    flex:1;
    display: flex;
    flex-direction: column;
}

.post_content--rightSide {
    width:30%;
}

.post__content-part, .post__content-side-part {
    border: 1px solid #262626;
    display: flex;
    flex-direction: column;
}

.post__content-part .wp-block-group {
    gap:24px;
}

.post__content-part {
    padding: 80px;
}
.post__content-side-part {
    padding: 50px;
}

.post__content-part h3{
    font-weight: 500;
    font-size: 28px;
    line-height: 42px;
}

.post__content-part p, .post__content-part li, .post__content-side-part p{
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: white;
	margin: 5px 0;
}

.post__content-part ul {
    margin: 0 40px;
    list-style-type: disc;
}

.post__content-part ul li::marker{
    font-size: 30px;
}

.post_content-side-infos{
    display: flex;
    flex-direction: column;
    gap:10px;
}

.post_content-infos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.post_content-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post_content-info span {
    font-size: 18px;
    line-height: 27px;
}

.post_content-infos-left, .post_content-infos-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post_content-views {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.post_content-counter {
    width: 100%;
    padding : 10px 24px;
    border-radius: 100px;
    background: #141414;
    border: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.post_content-counter span, .wpulike-heart .count-box {
    font-family: Kumbh Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #98989A;
}

.wpulike, .wpulike-heart .wp_ulike_general_class,
.wpulike-heart .count-box{
    padding: 0;
}

.wpulike-heart .wp_ulike_general_class {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: unset;
    border-radius: unset;
}

.wpulike-heart .wp_ulike_put_image:after {
    width: 25px;
    height: 25px;
}

.post_content-store-infos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-store-infos {
    border-radius: 10px;
    background: #262626;
    padding: 24px;
    border: 1px solid #262626;
}

.post-store-infos p{
    color: var(--color-white);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
}

.post-store-info {
    border-radius: 8px;
    background: #002832;
    border: 1px solid #55F5FF;
    margin: 20px 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.post-store-info p{
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
}

.post-store-info span, .post-store-info a{
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #B6B8C2;
}
.post-store-info a{
    text-decoration: underline;
}

.post-store-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-store-rating span{
    color: #D2F00F;
}

.post-store-time {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.post-store-time span, .post-store-time li{
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #98989A;
}

.wp-block-media-text__content p {
    margin-bottom: 24px;
}

ul.post-store-time-slots {
    padding-left: 40px;
    list-style-type: disc;
}

.post-store-time-open, .post-store-time-close {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-store-time-open span, .post-store-time-close span {
    text-decoration: underline;
}

.wp-block-uagb-post-grid {
    padding: 30px;
}
.uagb-post-grid-byline,  .uagb-post-grid-byline .uagb-post__author, .uagb-post-grid-byline .uagb-post__date,
.uagb-post-grid-byline .uagb-post__text{
    display: flex;
    align-items: center;
}

.wpulike-notification .wpulike-message.wpulike-success,
.wpulike-notification .wpulike-message.wpulike-info{
    background-color: var(--light-blue-color);
    color:#161822;
}