/* Footer-sized newsletter form. Strong selectors prevent WoodMart/theme rules
   from inflating the input/button and causing layout shifts. */
body .yrn-subscribe-wrap{
    display:grid!important;
    grid-template-columns:minmax(135px,175px) minmax(0,1fr)!important;
    gap:18px!important;
    align-items:center!important;
    width:100%!important;
    max-width:760px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
}
body .yrn-subscribe-wrap *,body .yrn-subscribe-wrap *:before,body .yrn-subscribe-wrap *:after{box-sizing:border-box!important}
body .yrn-subscribe-wrap .yrn-subscribe-title{
    margin:0!important;
    padding:0!important;
    max-width:175px!important;
    font-family:inherit!important;
    font-size:17px!important;
    line-height:1.28!important;
    font-weight:700!important;
    letter-spacing:-.01em!important;
    color:#111!important;
    text-transform:none!important;
}
body .yrn-subscribe-wrap .yrn-subscribe-form{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}
body .yrn-subscribe-wrap .yrn-subscribe-field{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 62px!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    margin:0!important;
    padding:0!important;
    border:1.5px solid #111!important;
    border-radius:6px!important;
    overflow:hidden!important;
    background:#fff!important;
    box-shadow:none!important;
}
body .yrn-subscribe-wrap .yrn-subscribe-field input[type=email]{
    all:unset!important;
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:40px!important;
    min-height:40px!important;
    margin:0!important;
    padding:0 13px!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    outline:0!important;
    font-family:inherit!important;
    font-size:14px!important;
    line-height:40px!important;
    font-weight:600!important;
    letter-spacing:0!important;
    color:#111!important;
    background:#fff!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}
body .yrn-subscribe-wrap .yrn-subscribe-field input[type=email]::placeholder{color:#111!important;opacity:1!important;font-weight:600!important}
body .yrn-subscribe-wrap .yrn-subscribe-field button[type=submit]{
    all:unset!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:62px!important;
    min-width:62px!important;
    max-width:62px!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:4px 0 0 4px!important;
    box-shadow:none!important;
    cursor:pointer!important;
    background:#000!important;
    color:#fff!important;
    font-family:inherit!important;
    font-size:16px!important;
    line-height:1!important;
    font-weight:500!important;
    text-transform:none!important;
    letter-spacing:0!important;
    -webkit-appearance:none!important;
    appearance:none!important;
}
body .yrn-subscribe-wrap .yrn-subscribe-field button[type=submit]:hover,
body .yrn-subscribe-wrap .yrn-subscribe-field button[type=submit]:focus{background:#000!important;color:#fff!important;transform:none!important}
body .yrn-subscribe-wrap .yrn-subscribe-field button[type=submit]:disabled{opacity:.65!important;cursor:wait!important}
body .yrn-subscribe-wrap .yrn-subscribe-message{min-height:15px!important;margin:4px 0 0!important;padding:0!important;font-size:11px!important;line-height:1.3!important;color:#111!important}
body .yrn-subscribe-wrap .yrn-subscribe-message.is-error{color:#a40000!important}
body .yrn-subscribe-wrap .yrn-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}

@media(max-width:767px){
    body .yrn-subscribe-wrap{grid-template-columns:1fr!important;gap:9px!important;max-width:100%!important}
    body .yrn-subscribe-wrap .yrn-subscribe-title{max-width:none!important;font-size:17px!important;line-height:1.25!important}
    body .yrn-subscribe-wrap .yrn-subscribe-field{grid-template-columns:minmax(0,1fr) 60px!important;height:40px!important;min-height:40px!important;max-height:40px!important}
    body .yrn-subscribe-wrap .yrn-subscribe-field input[type=email]{height:38px!important;min-height:38px!important;padding:0 12px!important;font-size:14px!important;line-height:38px!important}
    body .yrn-subscribe-wrap .yrn-subscribe-field button[type=submit]{width:60px!important;min-width:60px!important;max-width:60px!important;height:38px!important;min-height:38px!important;max-height:38px!important;font-size:15px!important}
}

/* Newsletter consent on registration. */
body .yrn-account-newsletter-register{margin-top:14px!important;margin-bottom:18px!important}
body .yrn-account-newsletter-register label.checkbox{display:flex!important;align-items:flex-start!important;gap:9px!important;cursor:pointer!important;line-height:1.45!important}
body .yrn-account-newsletter-register input[type=checkbox]{flex:0 0 auto!important;margin:3px 0 0!important}

/* Newsletter menu item uses the same DOM structure as the site's other custom account items:
   <img class="icon-edit-address"> + text + <span class="menu-info">. */
body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--newsletter>a:before,
body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--newsletter>a:after{
    content:none!important;
    display:none!important;
}
body .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--newsletter>a>img.yrn-newsletter-menu-icon{
    display:inline-block!important;
    width:30px!important;
    height:30px!important;
    object-fit:contain!important;
    vertical-align:middle!important;
}

/* Dedicated Newsletter account page. */
body .yrn-myaccount-page{width:100%;max-width:760px}
body .yrn-myaccount-heading{display:flex;align-items:flex-start;gap:16px;margin:0 0 24px}
body .yrn-myaccount-heading-icon{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 44px;width:44px;height:36px;margin-top:1px;color:#798b00;line-height:1}
body .yrn-myaccount-heading-icon svg{display:block;width:34px;height:34px}
body .yrn-myaccount-heading h2{margin:0 0 7px!important;padding:0!important;font-size:26px!important;line-height:1.2!important;font-weight:700!important}
body .yrn-myaccount-heading p{margin:0!important;padding:0!important;font-size:15px!important;line-height:1.55!important;opacity:.75!important}
body .yrn-myaccount-status{display:flex;align-items:center;gap:9px;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(0,0,0,.09);border-radius:8px;background:#fafafa;font-size:14px;line-height:1.4}
body .yrn-myaccount-status-dot{display:block;flex:0 0 9px;width:9px;height:9px;border-radius:50%;background:#a3a3a3}
body .yrn-myaccount-status.is-subscribed .yrn-myaccount-status-dot{background:#798b00}
body .yrn-myaccount-newsletter-form{margin:0!important;padding:0!important}
body .yrn-myaccount-newsletter-choice{display:flex!important;align-items:flex-start!important;gap:12px!important;margin:0 0 18px!important;padding:17px!important;border:1px solid rgba(0,0,0,.10)!important;border-radius:9px!important;background:#fff!important;cursor:pointer!important}
body .yrn-myaccount-newsletter-choice input[type=checkbox]{flex:0 0 auto!important;margin:4px 0 0!important}
body .yrn-myaccount-choice-copy{display:block!important;min-width:0!important}
body .yrn-myaccount-choice-copy strong{display:block!important;margin:0 0 5px!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important}
body .yrn-myaccount-choice-copy small{display:block!important;margin:0!important;font-size:12px!important;line-height:1.45!important;opacity:.65!important}
body .yrn-myaccount-save-button{min-height:44px!important;padding:0 22px!important}

@media(max-width:767px){
    body .yrn-myaccount-heading h2{font-size:22px!important}
}
