/* =========================
   HARD FIX: Force Donate button visible on mobile
   ========================= */

@media (max-width: 768px) {

    /* Force ALL standalone buttons visible */
    a.btn {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Specifically target Donate button */
    a[href="donate/index.php"] {
        display: flex !important;
        width: 100% !important;
        margin-top: 2rem !important;
        justify-content: center;
        align-items: center;
        z-index: 9999 !important;
        position: relative !important;
    }

    /* Kill parent clipping */
    .hero,
    .hero-section,
    .give-back,
    .container,
    .center {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}

/* === HERO === */
.hero-shares {
    background: linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.75)),
        url('../../../images/stock/unsplash-1579532537598-459ecdaf39cc.jpg');
    background-size: cover;
    background-position: center;
    padding: 12rem 0 8rem;
    color: #fff;
    text-align: center;
}

/* === SHARE CARDS === */
.share-card {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: .3s ease;
    position: relative;
    border: 1px solid #eee;
}

.share-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.share-card.popular {
    border: 2px solid var(--color-primary);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--color-primary);
    color: #fff;
    padding: 6px 45px;
    transform: rotate(45deg);
    font-size: .7rem;
    font-weight: 800;
}

.share-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1.2rem;
}

.share-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.share-yield {
    background: #e8f7ef;
    color: var(--color-primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    margin: 1rem 0 2rem;
    display: inline-block;
}

.share-yield.is-unavailable {
    background: #f4f6f3;
    color: #607162;
}

.share-price span {
    font-size: .8em;
    font-weight: 700;
}

.shares-data-state {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 24px;
    border: 1px dashed #c8dfc8;
    border-radius: 16px;
    background: #fbfdf9;
    color: var(--color-text-light);
    text-align: center;
}

.shares-data-state > i {
    color: var(--color-primary);
    font-size: 2.4rem;
}

.shares-data-state h3 {
    margin: 0;
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.shares-data-state p {
    max-width: 31rem;
    margin: 0;
    line-height: 1.6;
}

.shares-data-state.is-error {
    border-color: #efd1d1;
    background: #fffafa;
}

.shares-data-state.is-error > i {
    color: #b14a4a;
}

.share-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
}

.share-features li {
    display: flex;
    gap: 10px;
    margin-bottom: .9rem;
    font-size: .95rem;
    color: var(--color-text-light);
}

.share-features i {
    color: var(--color-primary);
}

/* Buttons */
.share-actions .btn {
    width: 100%;
    margin-bottom: .7rem;
}/* FIX: Reveal bug on desktop */
@media (min-width: 992px) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
