/*
Theme Name: LunaVine Child
Template: astra
Description: A high-conversion aesthetic theme for LunaVine Studio.
Version: 1.8.0
Author: Gemini
*/

/* --- THEME RESET (The "Nuclear Option") --- */

/* 1. Force Full Width & Remove Margins */
body, html, #page, .site-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    background-color: #f5f2f0 !important;
}

/* 2. Kill Astra Containers */
.ast-container, .site-header, .site-footer {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. Hide Default Astra Elements (Just in case) */
.ast-header-breadcrumb, 
.ast-archive-description,
.ast-post-format-meta,
.ast-separate-container .ast-article-inner {
    background: transparent !important;
    border: none !important;
}

/* 4. Fix WP Admin Bar for Sticky Header */
.admin-bar header.sticky {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar header.sticky {
        top: 46px !important;
    }
}

/* 5. Basic Block Styles */
p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
/* Ensure images inside grids don't have default WP margins */
.wp-block-image {
    margin-bottom: 0 !important;
}
.wp-block-image img {
    border-radius: 0 !important;
}

/* 6. GLOBAL FORM & BUTTON STYLING */

/* Inputs */
input[type="text"], 
input[type="email"], 
input[type="url"], 
input[type="tel"], 
textarea,
.wp-block-search__input {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important; /* gray-300 */
    padding: 1rem !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
    color: #000;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
textarea:focus,
.wp-block-search__input:focus {
    border-color: #334B35 !important;
    outline: none !important;
}

/* Buttons - The "All Catch" Selector */
/* This targets standard buttons, Astra buttons, WP Block buttons, and Form buttons */
input[type="submit"], 
button[type="submit"], 
.btn-primary,
.wp-block-button__link,
.wp-block-search__button,
button.ast-search-submit,
.ast-button,
a.ast-button {
    background-color: #000000 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    padding: 1rem 2.5rem !important;
    border: 1px solid #000000 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.2;
    margin-top: 0.5rem;
}

/* Button Hover State */
input[type="submit"]:hover, 
button[type="submit"]:hover, 
.btn-primary:hover,
.wp-block-button__link:hover,
.wp-block-search__button:hover,
button.ast-search-submit:hover,
.ast-button:hover,
a.ast-button:hover {
    background-color: #334B35 !important;
    border-color: #334B35 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}