/*
Theme Name: Astra Child
Template: astra
Version: 1.0
Description: WEBiC-ART Creative Studio child theme
*/
@import url("../astra/style.css");

/* ═══════════════════════════════════════════════════════════════
   WEBIC-ART TEMPLATE OVERRIDES
   Forces full-width layout, removes Astra sidebars & padding
   ═══════════════════════════════════════════════════════════════ */

/* Full width container for all WEBiC-ART templates + EDD products */
.webicart-template #primary,
.webicart-template .site-content,
.webicart-template #content,
.single-download #primary,
.single-download .site-content,
.single-download #content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide sidebars completely */
.webicart-template #secondary,
.webicart-template .widget-area,
.webicart-template aside,
.single-download #secondary,
.single-download .widget-area,
.single-download aside,
.webicart-template #ast-left-sidebar,
.webicart-template #ast-right-sidebar,
.single-download #ast-left-sidebar,
.single-download #ast-right-sidebar {
    display: none !important;
}

/* Remove all Astra content wrappers padding */
.webicart-template .ast-container,
.webicart-template .entry-content,
.webicart-template .post-content,
.webicart-template article,
.webicart-template .ast-article-single,
.single-download .ast-container,
.single-download .entry-content,
.single-download article,
.single-download .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* Remove entry header (title, meta) */
.webicart-template .entry-header,
.webicart-template .ast-post-format-,
.single-download .entry-header,
.single-download .ast-breadcrumbs,
.webicart-template .ast-breadcrumbs {
    display: none !important;
}

/* Full width Astra main area */
.webicart-template #main,
.webicart-template .ast-separate-container,
.single-download #main {
    padding: 0 !important;
    margin: 0 !important;
}

/* Astra row stretch */
.webicart-template .ast-row,
.single-download .ast-row {
    max-width: 100% !important;
    width: 100% !important;
}

/* Override any Astra two-column layout */
.webicart-template.ast-two-container #primary,
.webicart-template.ast-right-sidebar #primary,
.webicart-template.ast-left-sidebar #primary,
.single-download.ast-right-sidebar #primary,
.single-download.ast-left-sidebar #primary {
    width: 100% !important;
    float: none !important;
}

/* Astra header — apply WEBiC-ART colours */
.ast-primary-header-bar,
.site-header,
#masthead {
    background: #d8e3e5 !important;
    border-bottom: 1.5px solid #a4bdc2 !important;
}

.main-header-menu .menu-item > a,
.ast-header-break-point .menu-link,
.main-navigation .menu-item > a {
    color: #6b6464 !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

.main-header-menu .menu-item > a:hover,
.main-navigation .menu-item > a:hover {
    color: #7a8a60 !important;
}

.site-title a,
.ast-site-name {
    font-family: 'Playfair Display', serif !important;
    color: #3a3535 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
}

/* EDD purchase button override to match our style */
.edd-submit,
.edd-add-to-cart,
button.edd-submit {
    background: #7a8a60 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 1.05rem 1.5rem !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.25s !important;
    letter-spacing: 0.02em !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    margin-bottom: 0.75rem !important;
}

.edd-submit:hover,
.edd-add-to-cart:hover {
    background: #c9c697 !important;
    color: #3a3535 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(122,138,96,0.3) !important;
}

/* EDD quantity field — hide it for digital downloads */
.single-download .edd-cart-quantity {
    display: none !important;
}

/* Footer */
.site-footer .ast-footer-copyright,
.ast-small-footer {
    background: #192021 !important;
    color: rgba(255,255,255,0.4) !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.75rem !important;
}

.site-footer .ast-footer-copyright a {
    color: #c9c697 !important;
}
