/*
Theme Name: Light My World
Theme URI: https://www.lightmyworld.com.au
Description: Light My World
Author: P
Author URI: https://www.lightmyworld.com.au
Template: astra
Version: 1.0.0.9.9.9.9.9.5
*/

:root{
    --colorText: #cdcbab;
    --colorPrimary: #cdcbab;
    --colorTextSecondary: #cdcbab;
    --ast-global-color-0: #947835;
    --ast-global-color-1: white;
    --ast-global-color-4: #090701;
    --ast-global-color-5: rgba(255,255,255,0.07);
    --ast-global-color-subtle-background: rgba(255, 255, 255,0.15);
    --ast-global-mobile-button: #1a1913;
    --ast-global-mobile-shop-button: #967939;
    --ast-global-color-3: #cdcbab;
    --ast-global-color-2: rgba(255,255,255,0.8);
}

/* Custom styling for blog posts */
body.category.category-guides,
body.single.single-post{
    background: url(/wp-content/uploads/2025/05/lmw-bg2.png) center / cover no-repeat fixed;
}

#main article{
    background: rgba(0,0,0,0.4);
}

textarea#comment{
    background: transparent;
    font-family: 'Open Sans', sans-serif;
    color: #cececd;
    border-color: var(--colorPrimary);
    border-radius: 3px;
}

.vh {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1, h2, h3, h4, div{
    font-family: 'Libre Baskerville', sans-serif;
}

*{
    font-family: 'Open Sans', sans-serif;
}

.flex{
    display: flex;
}

.lmw-logo-wrap .custom-logo{
    max-width: 120px;
}

#main input{
    border-radius: 4px;
    color: white;
    border: solid 1px #cdcbab;
    background: rgb(0 0 0 / 50%);
    font-family: 'Open Sans', sans-serif;
}


/* Chrome/Edge/Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;   /* text color */
  caret-color: #fff !important;
  border: 1px solid #cdcbab !important;       /* your border */
  box-shadow: 0 0 0 1000px rgba(0,0,0,1) inset !important; /* fake bg */
  transition: background-color 99999s ease-out 0s; /* prevent flash */
}

/* Firefox */
input:-moz-autofill {
  color: #fff !important;
  caret-color: #fff !important;
  background-color: rgba(0,0,0,0.5) !important;
  border: 1px solid #cdcbab !important;
}

#main label{
    color: white;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
}

#ast-hf-mobile-menu{
    /* max-width: 170px; */
    max-width: 140px;
}

.flex-column{
    flex-direction: column;
}

.logo{
    max-width: 300px;
    height: auto;
}

.mobile ~ #page{
    overflow: scroll;
}

.menu-link{
    font-family: 'Libre Baskerville', sans-serif;
}

a.cta-button{
    color: white;
    background: #876411;
    width: 200px;
    text-align: center;
    padding: 5px 25px;
    font-size: 21px;
    border-radius: 5px;
    margin-top: 10px;
    font-family: 'Open Sans', sans-serif;
}

.cta-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: solid 1px rgb(135 100 18 / 20%);
    margin-top: 40px;
}

.free-shipping-msg{
    font-family: 'Open Sans';
    margin-bottom: 10px;
    color: #ffffffcc;
}

.free-shipping-msg div{
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: bold;
}

.candle-description hr{
    margin: 23px auto;
    width: 100px;
    opacity: 0.25;
}

.lmw-logo-wrap{
    display: flex;
    justify-content: center;
    /* padding: 30px 20px 30px; */
    padding: 40px 20px 20px;
}

.woocommerce-page .custom-logo{
    /* max-width: 130px; */
    max-width: 120px;
}

a.cta-button:hover{
    color: white;
    background: transparent;
    outline: solid #876411 2px;
}

div.woocommerce-notices-wrapper{
    font-family: 'Open Sans', sans-serif;
    color: #cdcbab;
    background: rgb(0 0 0 / 25%);
}

.woocommerce-notces-wrapper::selection{
    background: transparent;
}

.woocommerce-notces-wrapper .woocommerce-message{
    font-family: 'Open Sans', sans-serif;
    color: #cdcbab;
    background: rgb(0 0 0 / 25%);
    outline-color: transparent;
    border-top: none;
    display: flex;
    justify-content: center;
    text-align: center;
    outline: #cdcbab;
    border-radius: 4px;
}

#main a.wc-block-components-button{
    border-radius: 5px;
}

header.entry-header h1.entry-title{
    color: #cdcbab;
    font-size: 40px;
    font-family: 'Libre Baskerville', serif;
}

#main a.wc-block-components-button:hover,
#main button:hover{
    color: white;
    background: transparent;
    outline: solid #876411 2px;
}

.tagline{
    margin-top: 40px;
    color: rgb(255 253 214 / 80%);
    font-family: 'Libre Baskerville', serif;
    text-transform: uppercase;
    font-size: 42px;
    max-width: 500px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.candle-description{
    color: #ffffffcc;
    /* font-family: 'Libre Baskerville', serif; */
    font-family: 'Open Sans', serif;
    text-align: center;
    max-width: 500px;
    font-size: 22px;
    margin-top: 10px;
    border-radius: 5px;
    padding: 10px;
}

div.wc-block-components-notice-banner.wc-block-components-notice-snackbar.is-info{
    background: black;
    color: rgb(255 253 214 / 80%);
}

::selection {
    color: unset !important;
    background: unset !important;
}

.no-underline{
    text-decoration: none;
}

.no-underline a{
    text-decoration: none !important;
}

.container{
    justify-content: center;
    align-items: center;
    margin: 50px;
}

div.center-element{
    display: flex;
    justify-content: center;
    padding: 20px;
}

.content-area > .container{
    z-index: 10;
    position: relative;
}

#ast-hf-menu-1 li.menu-item a:hover{
    color: rgb(255 253 214);
}

.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .inline-on-mobile .menu-item.current-menu-item > .ast-menu-toggle,
.ast-builder-menu-1 .current-menu-ancestor > .menu-link{
    color: white;
}

a{
    color: rgb(255 253 214 / 80%);
    font-family: 'Libre Baskerville', serif;
}

/* Create a black overlay */
.site-content{
    background: rgb(0 0 0 / 25%);
    /* height: 100vh;                       //Removed for the checkout page- stops page from scaling correctly
    max-height: 100vh; */
    z-index: 12;
    /* overflow-y: scroll;               // May be required for laptop screens */
}

.main-header-menu .menu-link{
    text-decoration-color: rgb(255 253 214);
}

div.hfeed.site{
    /* background: url('/wp-content/uploads/2025/05/lmw-bg2.png'); */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* height: 100vh;               // Removed for the checkout page- stops page from scaling
    overflow: hidden; */
}

/* Set the background behind the picture */
body.wp-child-theme-lightmyworld{
    /* background: black; */
    background: #0a0702;
}

/* Remove the logo from its default location */
div.site-header-primary-section-left{
    display: none;
}

/* Header styling */
div.ast-primary-header-bar{
    background: rgb(0 0 0 / 40%);
    color: rgb(255 253 214 / 20%);
    border-bottom: solid rgb(255 255 255 / 15%) 1px;
}

/* Mobile header stlying */

#ast-mobile-header{
    border-bottom: solid rgb(255 255 255 / 15%) 1px;
}

/* Header links*/
.ast-builder-menu-1 .menu-item > a.menu-link{
    color: rgb(255 253 214 / 80%);
    font-size: 18px;
    text-transform: uppercase;
}

/* Footer styling */
footer#colophon .site-below-footer-wrap{
    background: rgb(0 0 0 / 40%);
    color: rgb(255 253 214 / 20%);
    border: none;
    height: 61px;
}

footer#colophon{
    background: #100b06;
}

.ast-builder-grid-row-container-inner{
    border-top: solid rgb(255 255 255 / 15%) 1px
}

.ast-footer-copyright p{
    color: rgb(255 253 214 / 68%);
    font-size: 12px;
    font-family: 'Lato';
}

/* Colour the mobile menu */
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg{
    fill: #947835;
    outline: transparent;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .ast-mobile-menu-trigger-minimal{
    border: transparent;
}

/* Color the nav menus */
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link{
    color: #d4d2b0;
}

/* Navbar settings */
.ast-mobile-header-wrap .ast-mobile-header-content{
    background: transparent;
}

footer#colophon .site-footer-section{
    margin: 0;
}

/* Bg for the main page */
.video-background{
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    inset: 0;                /* top:0 right:0 bottom:0 left:0 */
    z-index: -1;
    overflow: hidden;
}

#bgvid{
    position: absolute;
    z-index: 9;
    bottom: 30px;
    width: 100vw;
    max-width: 2000px;

    width: 100%;
    height: 100%;
    object-fit: cover;       /* acts like background-size: cover */
    object-position: center;
    display: block;          /* avoids inline whitespace bumps */
    pointer-events: none;
}

@media (max-width: 530px){
    #ast-mobile-header{
        height: 60px;
    }

    .ast-primary-header-bar > .ast-builder-grid-row{
        height: 60px;
    }

    .logo{
        max-width: 200px;
    }
    .tagline{
        font-size: 20px;
        margin-top: 20px;
    }
    .candle-description{
        font-size: 16px;
        margin-top: 0px;
        padding: 5px;
    }
    .cta-button{
        width: 150px;
        margin-top: 20px;
    }
    .container{
        margin: 20px;
    }
    a.cta-button{
        font-size: 16px;
    }
}

@media (max-width: 399px){
    .wc-block-checkout__actions .wc-block-checkout__actions_row{
        flex-direction: revert;
    }
    .wc-block-checkout__actions .wc-block-checkout__actions_row button,
    .wc-block-checkout__actions .wc-block-checkout__actions_row a{
        width: 45%;
    }
}

@media (max-width: 908px){
    .tagline{
        max-width: 60vw;
    }
    #bgimg,
    #bgvid{
        width: auto;
    }
    /* Calibrate the nav menu for mobile screens */
    .ast-mobile-header-content.content-align-flex-start{
        background: rgba(0,0,0,0.7);
        position: absolute;
        top: 0px;
    }
    .ast-mobile-header-content > .ast-builder-menu-mobile{
        /* height: calc(100vh - 80px); */
        width: 50vw;
        background: #0a0904;
        border-right: solid 1px #a1844375;
        border-top: solid 1px #a18443;
        border-bottom: solid 1px #a18443;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 15px;
        border-width: thin;
        top: 0;
        height: 565px;
    }
    .ast-main-header-wrap.main-header-bar-wrap{
        width: 40px;
    }
    .main-header-bar-wrap div.ast-primary-header-bar{
        border: transparent;
        background: transparent;
    }

    /* Only set the menu font to Open Sans on smaller screens */
    .ast-mobile-header-inline .menu-link{
        font-family: 'Open Sans';
    }

    /* Animation for slide on mobile nav*/
    .ast-mobile-header-content.content-align-flex-start {
        transition: transform 0.4s ease;
        transform: translateX(-100%);
        height: calc(100vh - 61px);
    }

    .ast-mobile-header-content.content-align-flex-start.slide-in {
        transform: translateX(0%);
        height: calc(100vh - 61px);
    }

    .ast-mobile-header-content.content-align-flex-start.slide-out {
        transform: translateX(-100%);
    }

    .ast-header-break-point .ast-builder-menu-mobile .main-navigation{
        display: flex;
        justify-content: center;
    }

    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link{
        background: var(--ast-global-mobile-button);
        margin: 9px 0;
        border-radius: 5px;
    }
    .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item:last-child > .menu-link{
        text-align: center;
        font-weight: 500;
        background: #876411;
        margin-top: 0;
        border-radius: 5px;
        margin-bottom: 0;
        margin-top: 20px;
        text-transform: uppercase;
        font-size: 16px;
        padding: 0;
        color: white;
        height: 40px;
        justify-content: center;
        align-items: center;
        display: flex;
    }
}

@media (min-width: 922px){
    div.ast-container{
        max-width: 1000px;
    }
}