/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It's ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It's fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.3.1793083455
Updated: 2026-10-12 12:46:52

*/
.cta-ambassador > a {
    background-color: #4839eb !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 10px !important;
    display: inline-block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    border: none !important;
}
.cta-ambassador > a:hover {
    background-color: #3a2dc7 !important;
    color: #ffffff !important;
}

/* HIDE SUBTOTAL ROWS IN CHECKOUT ORDER REVIEW */
.woocommerce-checkout-review-order-table tr.cart-subtotal {
    display: none;
}

/* PRODUCT PAGE — MINIMAL REDESIGN */

/* Hide: image, breadcrumb, category, SKU, rating, additional info tabs */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-breadcrumb,
.single-product .product_meta,
.single-product .woocommerce-product-rating,
.single-product .woocommerce-tabs,
.single-product .ast-woo-product-category,
.single-product .posted_in,
.single-product .single-product-category {
    display: none !important;
}

/* Center and constrain the summary card */
.single-product div.product {
    display: flex;
    justify-content: center;
}
.single-product div.product .summary {
    float: none !important;
    width: 100% !important;
    max-width: 520px !important;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem !important;
    display: flex;
    flex-direction: column;
}

/* Reorder: title, price, form, trust text */
.single-product .summary .product_title        { order: 1; }
.single-product .summary .woocommerce-Price-amount-wrapper,
.single-product .summary p.price,
.single-product .summary span.price            { order: 2; }
.single-product .summary form.cart,
.single-product .summary .variations_form      { order: 3; }
.single-product .summary .woocommerce-product-details__short-description { order: 4; }

/* Title */
.single-product .summary .product_title {
    font-size: 28px !important;
    font-weight: 500 !important;
    margin: 0 0 0.4rem !important;
}

/* Price */
.single-product .summary p.price,
.single-product .summary span.price {
    font-size: 14px !important;
    color: #888 !important;
    margin: 0 0 1.5rem !important;
    border-top: 1px solid #e5e5e5;
    padding-top: 1.25rem !important;
}

/* Variations label */
.single-product .summary .variations th.label label {
    font-size: 13px;
    font-weight: 400;
    color: #555;
}

/* Select dropdown */
.single-product .summary .variations select {
    width: 100%;
    font-size: 14px;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    margin-bottom: 1rem;
}

/* Add to cart button */
.single-product .summary .single_add_to_cart_button {
    width: 100% !important;
    padding: 13px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    text-align: center !important;
    cursor: pointer !important;
    margin-top: 0.5rem !important;
}
.single-product .summary .single_add_to_cart_button:hover {
    background: #333 !important;
}

/* Trust text */
.single-product .summary .woocommerce-product-details__short-description {
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid #e5e5e5 !important;
}
.single-product .summary .product-trust {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
}
.single-product .summary .product-trust span {
    font-size: 13px;
    color: #888;
}

/* HIDE PRODUCT IMAGE AND QUANTITY IN CART PAGE */
.woocommerce-cart th.product-thumbnail,
.woocommerce-cart td.product-thumbnail,
.woocommerce-cart th.product-quantity,
.woocommerce-cart td.product-quantity {
    display: none !important;
}

/* Footer legal links - keep default black color */
.ast-footer-copyright a.footer-legal-link {
    color: inherit !important;
}
.ast-footer-copyright a.footer-legal-link:hover {
    color: inherit !important;
    text-decoration: underline !important;
}

/* Override Astra dynamic margin-top on main content area */
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
}

/* AFFILIATE AREA */
.affwp-affiliate-link-copy-link {
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    min-width: fit-content;
}

/* Hide Commission Rate column in affiliate earnings stats */
#affwp-affiliate-dashboard-earnings-stats thead tr th:nth-child(3),
#affwp-affiliate-dashboard-earnings-stats tbody tr td:nth-child(3) {
    display: none !important;
}

/* Hide Campaign stats table entirely */
#affwp-affiliate-dashboard-campaign-stats {
    display: none !important;
}

/* WOOCOMMERCE INFO NOTICES — scoped to .woocommerce-info only, so .woocommerce-error
   notices keep their own color and styling untouched */
.woocommerce-info {
    background: #fff8e1 !important;
    border: 1px solid #ffe082 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #5a4000 !important;
}

/* Astra's own dynamic CSS sets this icon color to global-color-0 by default */
.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--ast-global-color-2) !important;
}

/* MY ACCOUNT — Horizontal tab navigation (mirrors AffiliateWP style) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    display: inline-block !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 10px 10px 0 !important;
    border: none !important;
    background: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active,
body .woocommerce-MyAccount-navigation-link.is-active a {
    font-weight: bold;
    background: none !important;
    background-color: transparent !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active {
    border-bottom: 3px solid var(--ast-global-color-0) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:not(.is-active):hover {
    border-bottom: 2px solid var(--ast-global-color-0) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    text-decoration: none;
}

body .woocommerce-MyAccount-navigation-link a {
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
}

/* BLOG ARCHIVE — hide post meta, resize banner h1 */
.blog .ast-dynamic-header-bg h1,
.blog .site-above-header-wrap h1,
.blog h1.entry-title { font-size: 48px !important; }
.blog .entry-meta { display: none !important; }

/* SINGLE POST — hide entry-meta inside related posts header */
.related-entry-header > .entry-meta { display: none !important; }

/* SINGLE POST — category and tag bar above the title */
.ceo-post-terms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    font-weight: bold;
}
a.ceo-post-cat {
    font-size: 14px;
    font-weight: bold;
    color: #4839eb;
    text-decoration: none;
}
a.ceo-post-cat:hover { text-decoration: underline; }
a.ceo-post-tag {
    font-size: 14px;
    font-weight: bold;
    color: #888;
    text-decoration: none;
}
a.ceo-post-tag:hover { text-decoration: underline; }

.affwp-link-sharing {
    width: fit-content;
    display: inline-flex;
}

/* BLOG LISTING (/my-courses/) + CATEGORY/TAG ARCHIVES (/category/*, /tag/*) — make category, tag and title links read as clickable */
.blog .cat-links a,
.blog .tags-links a,
.archive .cat-links a,
.archive .tags-links a {
    display: inline-block;
    padding: 3px 12px;
    border: 1.5px solid #e5e5e5;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.blog .cat-links a:hover,
.blog .tags-links a:hover,
.archive .cat-links a:hover,
.archive .tags-links a:hover {
    border-color: #1a1a1a;
    background-color: #1a1a1a;
    color: #fff;
}
.blog .entry-title a,
.archive .entry-title a,
.ast-related-post-title a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.25s ease, color 0.15s ease;
}
.blog .entry-title a:hover,
.archive .entry-title a:hover,
.ast-related-post-title a:hover {
    background-size: 100% 2px;
    color: #4839eb;
}

/* The My Network tree and genealogy chart styles moved to the cc-affwp-multitier
   plugin (assets/network-tree.css), which loads them on the affiliate area AND in
   wp-admin. Do not re-add them here. */

/* --- Mobile header for guests ---------------------------------------------------------
   functions.php hides the hamburger and adds a direct Login / Register button to the
   mobile header (marker class ceo-mobile-login-btn). Logged-in visitors keep the menu. */
body:not(.logged-in) .ast-mobile-menu-buttons,
body:not(.logged-in) .ast-builder-menu-mobile .menu-toggle,
body:not(.logged-in) .ast-mobile-menu-trigger-fill,
body:not(.logged-in) .ast-mobile-menu-trigger-minimal,
body:not(.logged-in) .ast-mobile-menu-trigger-outline {
    display: none !important;
}
.ceo-mobile-login-btn {
    margin-left: auto;
}
.ceo-mobile-login-btn a {
    display: inline-block;
    background: var(--ast-global-color-0, #4b64e2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 10px; /* as the desktop header button and the language switcher */
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
/* On a phone the logo, the language switcher and this button do not fit on one line in
   every language ("Connexion / Inscription" is ~190px): the page scrolled sideways. The
   button wraps onto two lines inside a fixed width (the logo is 100px wide on mobile, set in
   the Customizer). */
@media (max-width: 480px) {
    .ceo-mobile-login-btn {
        flex: 0 0 auto;
    }
    .ceo-mobile-login-btn a {
        font-size: 13px;
        line-height: 16px;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
        max-width: 116px; /* with the switcher, fits the 200px the header leaves */
    }
}
