/* ============================================================
   MARU GOLD COMPANION — FRONTEND ENHANCEMENTS
   ============================================================ */

/* Premium "Add to Cart" button enhancement when WC active */
.woocommerce ul.products li.product .button.added::after {
    content: '✓';
    margin-left: 6px;
    color: #1E5631;
    font-weight: bold;
}

.woocommerce a.button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mgcRotate 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes mgcRotate { to { transform: rotate(360deg); } }

/* Premium content typography */
.entry-content p,
.elementor-widget-text-editor p {
    line-height: 1.8;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--mg-ink, #14080A);
    margin-top: 2rem;
}

.entry-content blockquote {
    border-left: 3px solid var(--mg-gold, #D4A800);
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--mg-red, #8B1E1E);
}

.entry-content a {
    color: var(--mg-red, #8B1E1E);
    text-decoration: underline;
    text-decoration-color: rgba(212,168,0,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.entry-content a:hover {
    text-decoration-color: var(--mg-gold, #D4A800);
}

/* Premium image styling */
.entry-content img {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(20,8,10,0.08);
}

/* WC Notice override for premium look */
.woocommerce-message,
.woocommerce-info {
    background: #fff !important;
    border-left: 3px solid var(--mg-gold, #D4A800) !important;
    color: var(--mg-ink, #14080A) !important;
    box-shadow: 0 2px 12px rgba(20,8,10,0.06);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--mg-gold, #D4A800) !important;
}

.woocommerce-error {
    background: #fff !important;
    border-left: 3px solid var(--mg-red, #8B1E1E) !important;
    color: var(--mg-ink, #14080A) !important;
}

/* Elementor: respect our spacing inside section blocks */
.elementor-widget-mgc_hero,
.elementor-widget-mgc_products,
.elementor-widget-mgc_process,
.elementor-widget-mgc_testimonials,
.elementor-widget-mgc_story,
.elementor-widget-mgc_why {
    width: 100%;
}

/* Page transition fade */
body.mgc-page-loading { opacity: 0.95; transition: opacity 0.3s ease-out; }
