/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child
Template: astra
*/

/* Fix invisible mobile menu toggle */
.ast-header-break-point .ast-button-wrap,
.ast-header-break-point .ast-button-wrap .menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.ast-header-break-point .ast-button-wrap .menu-toggle.main-header-menu-toggle {
    color: #333333 !important;
    background: #f0f0f0 !important; /* temporary - remove after testing */
    padding: 10px !important;
}
.ast-header-break-point .ast-button-wrap .menu-toggle svg {
    fill: #333333 !important;
    width: 24px !important;
    height: 24px !important;
}

body .edd-cart-added-alert {
    color: #fff;
}


/* === EDD Checkout Modern Styling === */


#edd_checkout_form_wrap {
    max-width: 700px;
    margin-top: 40px;
}
body .edd-blocks__checkout-user,
#edd_checkout_user_info > legend {
    display: none!important;
}

#edd-email-wrap {
    display: flex;
    flex-direction: column;
}
#edd-email-wrap .edd-description {
    order: 5;
    margin-left: 0px;
    font-size: 13px;
    margin-top: 5px;
}

body .edd-blocks-form__cart .edd_cart_item_name {
    gap: 2px;
}

/* General Form Layout */
body .edd-blocks-form fieldset {
  border: none!important;
  padding: 0;
  margin: 0 0 2rem 0!important;
}

.edd-blocks-form legend {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

/* Label & Inputs */
.edd-blocks-form label.edd-label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.edd-blocks-form input.edd-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  background-color: #fff;
}

.edd-blocks-form input.edd-input:focus {
  outline: none;
  border-color: #357E44;
  box-shadow: 0 0 0 2px rgba(53, 126, 68, 0.2);
}

/* Descriptions: hidden */
.edd-blocks-form .edd-description {
  display: none;
}

/* Required Indicator Cleanup */
.edd-required-indicator {
  color: #e53935;
  margin-left: 0.25rem;
}

/* Error styling */
.edd-alert-error {
  background: #ffeaea;
  border: 1px solid #f44336;
  padding: 1rem;
  color: #b71c1c;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Cart Table Styling */
.edd-blocks-cart {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.edd-blocks-cart__row {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
  background-color: #fafafa;
}

.edd-blocks-cart__row:last-child {
  border-bottom: none;
}

.edd-blocks-cart__row-header {
  font-weight: 600;
  background: #f6f6f6;
}

.edd_cart_item_price {
  text-align: right;
  white-space: nowrap;
}

/* Button cleanup */
.edd-blocks-form input[type="submit"],
.edd-blocks-form button {
  background-color: #357E44;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.edd-blocks-form input[type="submit"]:hover,
.edd-blocks-form button:hover {
  background-color: #2e6f3b;
}



/* === GPT-Team Docs Markdown Styling === */
.gpt-docs {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #2b2b2b;
  line-height: 1.75;
}

.gpt-docs h1, .gpt-docs h2, .gpt-docs h3 {
  font-weight: 700;
  color: #1a1a1a;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.gpt-docs ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.gpt-docs li {
  margin-bottom: 0.6rem;
}

.gpt-docs code {
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: Menlo, monospace;
}

.gpt-docs pre {
  background-color: #f0f0f0;
  padding: 1em;
  overflow-x: auto;
  border-radius: 6px;
}

.gpt-docs a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px dotted rgba(37, 99, 235, 0.3);
}

.gpt-docs a:hover {
  text-decoration: underline;
}


/* Hide default Astra header and footer */
header.site-header#masthead,
footer.site-footer#colophon {
    display: none !important;
}

/* === Custom Site Header === */
.custom-site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.custom-site-header .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.custom-site-header .header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.custom-site-header .logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.custom-site-header .logo-chat {
    color: #4b42c6;
    margin-right: 2px;
}

.custom-site-header .logo-projects {
    color: #000000;
}

.custom-site-header .header-nav {
    display: flex;
}

.custom-site-header .header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

.custom-site-header .header-menu li {
    margin: 0;
}

.custom-site-header .header-menu a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.custom-site-header .header-menu a:hover {
    color: #1a4b8c;
}

.custom-site-header .header-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #374151;
}

/* Mobile Header */
@media (max-width: 768px) {
    .custom-site-header .header-container {
        height: 60px;
        padding: 0 20px;
    }

    .custom-site-header .header-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-site-header .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .custom-site-header .header-nav.is-open {
        display: block;
    }

    .custom-site-header .header-menu {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .custom-site-header .header-menu li {
        border-bottom: 1px solid #f3f4f6;
    }

    .custom-site-header .header-menu li:last-child {
        border-bottom: none;
    }

    .custom-site-header .header-menu a {
        display: block;
        padding: 14px 20px;
    }

    .custom-site-header .header-menu a:hover {
        background: #f9fafb;
    }
}

/* === Custom Site Footer === */
.custom-site-footer {
    position: relative;
    background-color: #1a2332;
    color: #a8b5c7;
    font-size: 0.95rem;
}

.custom-site-footer .footer-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #0ea5e9);
}

.custom-site-footer .footer-main {
    padding: 60px 0 40px;
}

.custom-site-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.custom-site-footer .footer-col {
    min-width: 0;
}

.custom-site-footer .footer-brand {
    padding-right: 40px;
}

.custom-site-footer .footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.custom-site-footer .footer-logo span {
    color: #f97316;
}

.custom-site-footer .footer-tagline {
    color: #8899aa;
    line-height: 1.6;
    margin: 0;
}

.custom-site-footer .footer-heading {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: none;
}

.custom-site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-site-footer .footer-links li {
    margin-bottom: 12px;
}

.custom-site-footer .footer-links a {
    color: #8899aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-site-footer .footer-links a:hover {
    color: #ffffff;
}

.custom-site-footer .footer-bottom {
    border-top: 1px solid #2d3a4d;
    padding: 25px 0;
}

.custom-site-footer .footer-bottom .footer-container {
    display: block;
}

.custom-site-footer .footer-bottom p {
    margin: 0;
    text-align: center;
    color: #6b7a8c;
    font-size: 0.9rem;
}

/* Back to top button */
.custom-site-footer .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #3b82f6;
    color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
}

.custom-site-footer .back-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .custom-site-footer .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .custom-site-footer .footer-brand {
        grid-column: span 2;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .custom-site-footer .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .custom-site-footer .footer-brand {
        grid-column: span 1;
    }

    .custom-site-footer .footer-main {
        padding: 40px 0 30px;
    }

    .custom-site-footer .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}