/*
Theme Name:   BMCG Child
Theme URI:    https://buymecakeglobal.com
Description:  Buy Me Cake Global - Child theme for Kadence. Custom styling for rescue, food shop, adoption, and donation pages.
Author:       Buy Me Cake Global
Author URI:   https://buymecakeglobal.com
Template:     kadence
Version:      1.0.13
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  bmcg-child
*/

/* ============================================
   BMCG DESIGN TOKENS
   ============================================ */
:root {
    /* Brand colors */
    --bmcg-green: #02a95c;
    --bmcg-green-dark: #028a4a;
    --bmcg-green-light: #e6f7ee;
    --bmcg-blue: #2563eb;
    --bmcg-blue-light: #eff6ff;
    --bmcg-yellow: #FFC439;
    --bmcg-yellow-dark: #e6a800;
    --bmcg-red: #E24B4A;
    --bmcg-red-dark: #c93b3a;

    /* Neutrals */
    --bmcg-text: #1a1a1a;
    --bmcg-text-soft: #555;
    --bmcg-text-muted: #888;
    --bmcg-bg: #ffffff;
    --bmcg-bg-soft: #f7f8fa;
    --bmcg-border: #e5e7eb;

    /* Typography */
    --bmcg-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radius & shadow */
    --bmcg-radius: 10px;
    --bmcg-radius-lg: 16px;
    --bmcg-shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --bmcg-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --bmcg-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* ============================================
   FONT IMPORT
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: var(--bmcg-font) !important;
    color: var(--bmcg-text);
}

/* ============================================
   GLOBAL DONATE BUTTON
   ============================================ */
.bmcg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--bmcg-radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.bmcg-btn-donate {
    background: var(--bmcg-yellow);
    color: #111 !important;
    box-shadow: var(--bmcg-shadow-sm);
}
.bmcg-btn-donate:hover {
    background: var(--bmcg-yellow-dark);
    transform: translateY(-1px);
    box-shadow: var(--bmcg-shadow);
}

.bmcg-btn-green {
    background: var(--bmcg-green);
    color: #fff !important;
}
.bmcg-btn-green:hover {
    background: var(--bmcg-green-dark);
}

.bmcg-btn-blue {
    background: var(--bmcg-blue);
    color: #fff !important;
}

.bmcg-btn-outline {
    background: transparent;
    border: 2px solid var(--bmcg-green);
    color: var(--bmcg-green) !important;
}
.bmcg-btn-outline:hover {
    background: var(--bmcg-green);
    color: #fff !important;
}

/* GCash button */
.bmcg-btn-gcash {
    background: #007DFF;
    border: 2px solid #007DFF;
    color: #fff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.15s;
}
.bmcg-btn-gcash:hover {
    background: #0066cc;
    border-color: #0066cc;
    transform: translateY(-1px);
}

.bmcg-btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
}

/* ============================================
   HEADER STICKY DONATE BUTTON
   ============================================ */
.site-header .bmcg-header-donate {
    background: var(--bmcg-yellow);
    color: #111;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.site-header .bmcg-header-donate:hover {
    background: var(--bmcg-yellow-dark);
    transform: scale(1.03);
}

/* ============================================
   HEADER NAVIGATION — center + bigger + bolder
   ============================================ */

/* Push branding (logo) to the far left, center middle column with menu, leave right column flexible */
.site-header .site-header-row-layout-contained,
.site-header .site-header-row-layout-fullwidth,
.site-header-main-section,
.site-header-section-center {
    justify-content: center !important;
}

/* Allow center section to take available space so menu can sit in the middle */
.site-header-section-center {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
}

/* Menu items themselves */
.site-header .header-navigation .menu > li > a,
.site-header .menu-item > a,
.site-header .primary-menu-container .menu-item a,
.header-menu-container .menu-item a,
.site-header nav.main-navigation .menu li a {
    font-family: var(--bmcg-font), 'DM Sans', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0f1419 !important;
    letter-spacing: 0.01em !important;
    padding: 12px 22px !important;
    transition: color 0.2s, transform 0.15s !important;
}

.site-header .header-navigation .menu > li > a:hover,
.site-header .menu-item > a:hover,
.site-header .primary-menu-container .menu-item a:hover,
.header-menu-container .menu-item a:hover {
    color: var(--bmcg-green) !important;
    transform: translateY(-1px);
}

/* Active page indicator */
.site-header .menu-item.current-menu-item > a,
.site-header .menu-item.current_page_item > a {
    color: var(--bmcg-green) !important;
    border-bottom: 3px solid var(--bmcg-green) !important;
    padding-bottom: 9px !important;
}

/* Mobile: keep menu compact + readable */
@media (max-width: 768px) {
    .site-header .header-navigation .menu > li > a,
    .site-header .menu-item > a {
        font-size: 16px !important;
        padding: 10px 14px !important;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.bmcg-hero {
    background: linear-gradient(135deg, var(--bmcg-green-light) 0%, #fff 100%);
    padding: 50px 20px 60px;
    text-align: center;
    border-radius: var(--bmcg-radius-lg);
    margin-bottom: 30px;
}
.bmcg-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.15;
}
.bmcg-hero p {
    font-size: 16px;
    color: var(--bmcg-text-soft);
    max-width: 600px;
    margin: 0 auto 24px;
}
@media (max-width: 600px) {
    .bmcg-hero { padding: 36px 16px 40px; margin-bottom: 20px; }
    .bmcg-hero h1 { font-size: 24px; }
    .bmcg-hero p { font-size: 14px; margin-bottom: 18px; }
}

/* ============================================
   IMPACT COUNTER
   ============================================ */
.bmcg-impact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}
@media (max-width: 600px) {
    .bmcg-impact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 16px 30px;
    }
    .bmcg-impact-item { padding: 16px 8px; }
}
.bmcg-impact-item {
    text-align: center;
    padding: 20px 16px;
    background: #fff;
    border-radius: var(--bmcg-radius-lg);
    box-shadow: var(--bmcg-shadow-sm);
}
.bmcg-impact-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--bmcg-green);
    display: block;
    line-height: 1;
}
.bmcg-impact-label {
    font-size: 12px;
    color: var(--bmcg-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}
@media (max-width: 600px) {
    .bmcg-impact-num { font-size: 24px; }
    .bmcg-impact-label { font-size: 10px; }
}

/* ============================================
   STORY GRID (GoFundMe style)
   ============================================ */
.bmcg-stories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.bmcg-stories-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, auto);
    gap: 20px;
}
.bmcg-story-featured {
    grid-row: span 3;
}
.bmcg-story-card {
    background: #fff;
    border-radius: var(--bmcg-radius-lg);
    overflow: hidden;
    box-shadow: var(--bmcg-shadow-sm);
    transition: all 0.2s;
    text-decoration: none;
    color: var(--bmcg-text);
    display: flex;
    flex-direction: column;
}
.bmcg-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bmcg-shadow);
}
.bmcg-story-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.bmcg-story-featured img {
    aspect-ratio: 16/9;
}
.bmcg-story-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bmcg-story-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.bmcg-story-featured .bmcg-story-title {
    font-size: 24px;
}
.bmcg-story-progress {
    height: 6px;
    background: var(--bmcg-border);
    border-radius: 3px;
    overflow: hidden;
    margin-top: auto;
}
.bmcg-story-progress-bar {
    height: 100%;
    background: var(--bmcg-green);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.bmcg-story-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--bmcg-text-muted);
    margin-top: 8px;
}
@media (max-width: 768px) {
    .bmcg-stories-grid { grid-template-columns: 1fr; }
    .bmcg-story-featured { grid-row: auto; }
}

/* ============================================
   FOOD SHOP - Banner & Steps
   ============================================ */
.bmcg-food-banner {
    background: linear-gradient(135deg, var(--bmcg-green) 0%, var(--bmcg-green-dark) 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--bmcg-radius-lg);
    margin-bottom: 30px;
}
.bmcg-food-banner h1 { color: #fff; font-size: 32px; margin-bottom: 10px; line-height: 1.2; }
.bmcg-food-banner p { color: rgba(255,255,255,0.9); font-size: 16px; margin: 0; }

@media (max-width: 600px) {
    .bmcg-food-banner { padding: 28px 16px; }
    .bmcg-food-banner h1 { font-size: 22px; }
    .bmcg-food-banner p { font-size: 14px; }
}

.bmcg-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
@media (max-width: 600px) {
    .bmcg-steps { gap: 10px; margin-bottom: 24px; }
    .bmcg-steps h3 { font-size: 15px; margin: 6px 0; }
    .bmcg-steps p { font-size: 13px; margin: 0; }
}
.bmcg-step {
    text-align: center;
    padding: 20px 16px;
    background: var(--bmcg-bg-soft);
    border-radius: var(--bmcg-radius);
}
.bmcg-step-num {
    width: 48px;
    height: 48px;
    background: var(--bmcg-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 12px;
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.bmcg-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
@media (max-width: 600px) {
    .bmcg-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.bmcg-product {
    background: #fff;
    border: 1px solid var(--bmcg-border);
    border-radius: var(--bmcg-radius);
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}
.bmcg-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--bmcg-shadow);
}
.bmcg-product-img {
    aspect-ratio: 4/3;
    background: var(--bmcg-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
@media (max-width: 600px) {
    .bmcg-product-img { font-size: 28px; }
}
.bmcg-product-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.bmcg-product-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}
.bmcg-product-desc {
    font-size: 12px;
    color: var(--bmcg-text-muted);
    line-height: 1.4;
    flex: 1;
}
.bmcg-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bmcg-green);
}

/* Quantity controls (replaces single Add button) */
.bmcg-qty {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--bmcg-border);
    border-radius: 6px;
    overflow: hidden;
    height: 36px;
}
.bmcg-qty-btn {
    background: var(--bmcg-bg-soft) !important;
    border: none !important;
    padding: 0 !important;
    width: 32px;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--bmcg-text) !important;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1;
}
.bmcg-qty-btn:hover { background: var(--bmcg-green) !important; color: #fff !important; }
.bmcg-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.bmcg-qty-input {
    flex: 1;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    -moz-appearance: textfield;
}
.bmcg-qty-input::-webkit-outer-spin-button,
.bmcg-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bmcg-product-add {
    background: var(--bmcg-green) !important;
    color: #fff !important;
    border: none !important;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
}
.bmcg-product-add:hover { background: var(--bmcg-green-dark) !important; }
.bmcg-product-add.added { background: var(--bmcg-text-muted) !important; }

/* ============================================
   SHOP LAYOUT (products + cart sidebar)
   ============================================ */
.bmcg-shop-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.bmcg-cart-sidebar {
    background: #fff;
    border: 1px solid var(--bmcg-border);
    border-radius: var(--bmcg-radius-lg);
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 100px;
}
.bmcg-cart-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.bmcg-cart-empty { color: var(--bmcg-text-muted); font-size: 14px; padding: 20px 0; text-align: center; }
.bmcg-cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--bmcg-border);
    font-size: 13px;
}
.bmcg-cart-item-name { font-weight: 600; line-height: 1.3; }
.bmcg-cart-item-price { color: var(--bmcg-text-muted); font-size: 12px; }
.bmcg-cart-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--bmcg-border);
    border-radius: 6px;
    overflow: hidden;
    height: 28px;
}
.bmcg-cart-qty-btn {
    background: var(--bmcg-bg-soft); border: none;
    width: 24px; font-size: 14px; font-weight: 700;
    cursor: pointer;
}
.bmcg-cart-qty-btn:hover { background: var(--bmcg-green); color: #fff; }
.bmcg-cart-qty-num {
    min-width: 26px; text-align: center;
    line-height: 26px; font-weight: 600;
    font-size: 13px; padding: 0 4px;
}
.bmcg-cart-item-remove {
    background: none; border: none; color: var(--bmcg-red);
    cursor: pointer; font-size: 18px; padding: 0 4px; line-height: 1;
}
.bmcg-cart-item-line { font-weight: 700; }
.bmcg-cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 0;
    border-top: 2px solid var(--bmcg-text);
    margin-top: 12px;
}
@media (max-width: 900px) {
    .bmcg-shop-layout { grid-template-columns: 1fr; }
    .bmcg-cart-sidebar { position: static; }
}

/* ============================================
   PET LISTING
   ============================================ */
.bmcg-adopt-banner {
    background: linear-gradient(135deg, var(--bmcg-blue) 0%, #1d4ed8 100%);
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-radius: var(--bmcg-radius-lg);
    margin-bottom: 30px;
}
.bmcg-adopt-banner h1 { color: #fff; font-size: 36px; margin-bottom: 8px; }

.bmcg-pet-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}
.bmcg-filter-btn {
    background: #fff;
    border: 2px solid var(--bmcg-border);
    padding: 8px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
    color: var(--bmcg-text) !important;
    transition: all 0.2s;
}
.bmcg-filter-btn:hover { border-color: var(--bmcg-green); color: var(--bmcg-green) !important; }
.bmcg-filter-btn.active {
    background: var(--bmcg-green);
    color: #fff !important;
    border-color: var(--bmcg-green);
}

.bmcg-pets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.bmcg-pet-card {
    background: #fff;
    border-radius: var(--bmcg-radius-lg);
    overflow: hidden;
    box-shadow: var(--bmcg-shadow-sm);
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.bmcg-pet-card:hover { transform: translateY(-4px); box-shadow: var(--bmcg-shadow); }
.bmcg-pet-img-wrap { position: relative; }
.bmcg-pet-img-wrap img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.bmcg-pet-status {
    position: absolute; top: 12px; left: 12px;
    background: var(--bmcg-green); color: #fff;
    padding: 4px 12px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase;
}
.bmcg-pet-status.reserved { background: #f59e0b; }
.bmcg-pet-status.adopted { background: var(--bmcg-text-muted); }
.bmcg-pet-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.bmcg-pet-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.bmcg-pet-info { font-size: 14px; color: var(--bmcg-text-soft); margin-bottom: 4px; }
.bmcg-pet-location { font-size: 13px; color: var(--bmcg-text-muted); margin-bottom: 12px; }
.bmcg-pet-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.bmcg-pet-tag {
    background: var(--bmcg-green-light); color: var(--bmcg-green-dark);
    padding: 3px 10px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.bmcg-pet-price-row {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--bmcg-border);
}
.bmcg-pet-price-free { font-weight: 700; color: var(--bmcg-green); font-size: 16px; }
.bmcg-pet-price-delivery { font-size: 13px; color: var(--bmcg-text-muted); }

/* ============================================
   PET DETAIL PAGE
   ============================================ */
.bmcg-pet-detail {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.bmcg-pet-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}
.bmcg-pet-gallery img:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.bmcg-pet-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--bmcg-radius); }
.bmcg-pet-traits {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px; margin: 24px 0;
}
.bmcg-pet-trait {
    background: var(--bmcg-bg-soft); padding: 12px 16px; border-radius: var(--bmcg-radius);
}
.bmcg-pet-trait-label { font-size: 12px; color: var(--bmcg-text-muted); text-transform: uppercase; }
.bmcg-pet-trait-value { font-weight: 600; margin-top: 2px; }

.bmcg-pet-sidebar {
    background: #fff;
    border: 1px solid var(--bmcg-border);
    border-radius: var(--bmcg-radius-lg);
    padding: 28px;
    position: sticky;
    top: 100px;
    height: fit-content;
    box-shadow: var(--bmcg-shadow);
}
.bmcg-cost-row {
    display: flex; justify-content: space-between;
    padding: 10px 0; border-bottom: 1px solid var(--bmcg-border);
    font-size: 15px;
}
.bmcg-cost-row.total {
    font-weight: 700; font-size: 18px;
    border-top: 2px solid var(--bmcg-text); border-bottom: none;
    padding-top: 14px; margin-top: 8px;
}
.bmcg-cost-free { color: var(--bmcg-green); font-weight: 700; }
.bmcg-steps-vertical { margin: 24px 0; }
.bmcg-step-vertical {
    display: flex; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid var(--bmcg-border);
}
.bmcg-step-vertical:last-child { border-bottom: none; }
.bmcg-step-num-sm {
    flex-shrink: 0;
    width: 32px; height: 32px;
    background: var(--bmcg-green); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px;
}
.bmcg-step-vertical-text { font-size: 14px; line-height: 1.5; }
.bmcg-step-vertical-text strong { display: block; margin-bottom: 2px; }

@media (max-width: 900px) {
    .bmcg-pet-detail { grid-template-columns: 1fr; }
    .bmcg-pet-sidebar { position: static; }
}

/* ============================================
   RESCUE POST (GoFundMe layout)
   ============================================ */
.bmcg-rescue {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.bmcg-rescue-main { min-width: 0; }

.bmcg-slideshow {
    position: relative;
    border-radius: var(--bmcg-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    margin-bottom: 20px;
}
.bmcg-slideshow img,
.bmcg-slideshow video {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0;
    opacity: 0; transition: opacity 0.5s ease;
}
.bmcg-slideshow img.active,
.bmcg-slideshow video.active { opacity: 1; }
.bmcg-slide-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.5); color: #fff; border: none;
    width: 40px; height: 40px; border-radius: 50%;
    cursor: pointer; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.bmcg-slide-prev { left: 12px; }
.bmcg-slide-next { right: 12px; }
.bmcg-slide-dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.bmcg-slide-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.5); cursor: pointer;
    border: none;
}
.bmcg-slide-dot.active { background: #fff; }

.bmcg-author-row {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 0; border-bottom: 1px solid var(--bmcg-border);
    margin-bottom: 20px;
}
.bmcg-author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bmcg-green); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px;
}
.bmcg-author-name { font-weight: 600; }
.bmcg-author-role { font-size: 13px; color: var(--bmcg-text-muted); }
.bmcg-protected-badge {
    margin-left: auto;
    background: var(--bmcg-green-light); color: var(--bmcg-green-dark);
    padding: 4px 12px; border-radius: 100px;
    font-size: 12px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 4px;
}

.bmcg-rescue-content { font-size: 16px; line-height: 1.7; color: var(--bmcg-text); }
.bmcg-rescue-content h2 { font-size: 24px; margin: 28px 0 12px; }
.bmcg-rescue-content p { margin-bottom: 16px; }

.bmcg-before-after {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin: 24px 0;
}
.bmcg-before-after figure {
    margin: 0;
    border-radius: var(--bmcg-radius); overflow: hidden;
    position: relative;
}
.bmcg-before-after img {
    width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
}
.bmcg-before-after figcaption {
    position: absolute; top: 12px; left: 12px;
    background: rgba(0,0,0,0.7); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
}

.bmcg-donate-explain {
    background: var(--bmcg-bg-soft);
    padding: 20px; border-radius: var(--bmcg-radius);
    margin: 24px 0;
}
.bmcg-donate-explain h3 { margin-top: 0; }
.bmcg-donate-explain ul { padding-left: 20px; }
.bmcg-donate-explain li { padding: 4px 0; }

.bmcg-live-stats {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
    padding: 14px 18px; background: var(--bmcg-bg-soft);
    border-radius: var(--bmcg-radius); margin: 24px 0;
    position: relative;
}
.bmcg-live-stat {
    font-size: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--bmcg-text);
}
.bmcg-stat-icon {
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--bmcg-green);
}
.bmcg-stat-icon svg { display: block; }

/* Clickable button stats */
.bmcg-stat-btn {
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 999px;
    font: inherit;
    color: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.bmcg-stat-btn:hover {
    background: #fff;
    border-color: var(--bmcg-border, #e2e8f0);
}
.bmcg-stat-btn:active { transform: scale(0.96); }
.bmcg-stat-btn.bmcg-stat-active .bmcg-stat-icon { color: #e91e63; }
.bmcg-stat-btn.bmcg-stat-active .bmcg-stat-icon svg { fill: #e91e63; stroke: #e91e63; }
.bmcg-stat-btn.bmcg-stat-pop { animation: bmcgStatPop 0.4s ease; }
@keyframes bmcgStatPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

.bmcg-live-stat-num {
    font-weight: 700; font-size: 18px; color: var(--bmcg-green);
    transition: color 0.3s;
}
.bmcg-live-stat-num.flash { color: var(--bmcg-yellow-dark); }
.bmcg-live-stat-label { color: var(--bmcg-text-muted); margin-left: 2px; }

/* Toast (shared / liked feedback) */
.bmcg-stat-toast {
    position: fixed;
    bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #1a1a1a; color: #fff;
    padding: 10px 18px; border-radius: 8px;
    font-size: 14px; font-weight: 500;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.bmcg-stat-toast.bmcg-stat-toast-show {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

.bmcg-rescue-actions {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin: 28px 0;
}
@media (max-width: 600px) {
    .bmcg-rescue-actions { grid-template-columns: 1fr; }
    .bmcg-before-after { grid-template-columns: 1fr; }
}

.bmcg-social-bar {
    display: flex; gap: 12px; padding: 20px 0;
    border-top: 1px solid var(--bmcg-border);
    border-bottom: 1px solid var(--bmcg-border);
    margin: 24px 0;
}
.bmcg-social-bar a {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bmcg-bg-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--bmcg-text); text-decoration: none;
    transition: all 0.2s;
}
.bmcg-social-bar a:hover { background: var(--bmcg-green); color: #fff; }

/* RESCUE SIDEBAR (sticky) */
.bmcg-rescue-sidebar {
    position: sticky; top: 100px; height: fit-content;
}
.bmcg-progress-circle {
    width: 200px; height: 200px;
    margin: 0 auto 20px;
    position: relative;
}
.bmcg-progress-circle svg { transform: rotate(-90deg); }
.bmcg-progress-circle-bg { stroke: var(--bmcg-border); }
.bmcg-progress-circle-fill {
    stroke: var(--bmcg-green);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}
.bmcg-progress-text {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
}
.bmcg-progress-pct {
    font-size: 36px; font-weight: 700; color: var(--bmcg-green);
    line-height: 1;
}
.bmcg-progress-label {
    font-size: 12px; color: var(--bmcg-text-muted);
    text-transform: uppercase; margin-top: 4px;
}
.bmcg-raised-row {
    text-align: center; margin-bottom: 20px;
}
.bmcg-raised-amount {
    font-size: 28px; font-weight: 700;
    transition: color 0.3s;
}
.bmcg-raised-amount.flash { color: var(--bmcg-green); }
.bmcg-raised-goal {
    font-size: 14px; color: var(--bmcg-text-muted);
}

.bmcg-amount-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; margin: 16px 0;
}
.bmcg-amount-btn {
    background: #fff; border: 2px solid var(--bmcg-border);
    padding: 12px 8px; border-radius: 10px;
    cursor: pointer; font-weight: 700;
    font-size: 17px;
    color: var(--bmcg-text) !important;
    transition: all 0.15s;
    line-height: 1.2;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.bmcg-amount-btn:hover {
    border-color: var(--bmcg-green);
    color: var(--bmcg-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2,169,92,0.15);
}
.bmcg-amount-btn.active {
    background: var(--bmcg-green); color: #fff !important;
    border-color: var(--bmcg-green);
}
.bmcg-amt-emoji {
    font-size: 22px;
    line-height: 1;
    display: block;
}
.bmcg-amt-val {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.bmcg-amt-desc {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.7;
    line-height: 1.1;
}
.bmcg-amount-btn.active .bmcg-amt-desc { opacity: 0.95; }

.bmcg-custom-amount {
    width: 100%; padding: 12px;
    border: 2px solid var(--bmcg-border); border-radius: 8px;
    margin-top: 8px; font-size: 16px;
}
.bmcg-custom-amount:focus { border-color: var(--bmcg-green); outline: none; }

.bmcg-donate-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ========================================
   CUSTOM FOOTER (3 columns + social icons)
   ======================================== */
body.bmcg-has-custom-footer .site-footer,
body.bmcg-has-custom-footer .footer-widgets,
body.bmcg-has-custom-footer .site-bottom-footer-wrap,
body.bmcg-has-custom-footer .site-info {
    display: none !important;
}

.bmcg-footer {
    background: #0f1419;
    color: #cbd5e1;
    padding: 60px 24px 30px;
    margin-top: 60px;
    font-family: var(--bmcg-font);
}
.bmcg-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.15s; }
.bmcg-footer a:hover { color: var(--bmcg-green); }
.bmcg-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .bmcg-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.bmcg-footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}
.bmcg-footer-brand {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.bmcg-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 380px;
    margin: 0 0 18px;
}
.bmcg-footer-list { list-style: none; padding: 0; margin: 0; }
.bmcg-footer-list li { padding: 5px 0; font-size: 14px; }

.bmcg-footer-socials {
    display: flex; gap: 10px; margin-top: 4px;
}
.bmcg-social-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: transform 0.15s, opacity 0.15s;
    cursor: pointer;
}
.bmcg-social-icon:hover { transform: translateY(-2px); opacity: 0.9; }
.bmcg-social-icon svg {
    width: 20px; height: 20px; fill: #fff;
}
.bmcg-social-fb       { background: #1877F2; }
.bmcg-social-ig       { background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.bmcg-social-whatsapp { background: #25D366; }

.bmcg-footer-contact {
    font-size: 14px;
    line-height: 1.8;
}
.bmcg-footer-contact a { color: #cbd5e1; }
.bmcg-footer-contact strong {
    color: #fff;
    display: block;
    font-weight: 600;
    margin-top: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bmcg-footer-contact strong:first-child { margin-top: 0; }

.bmcg-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 24px 0 0;
    border-top: 1px solid #1f2937;
    font-size: 13px;
    color: #94a3b8;
}
.bmcg-footer-bottom .bmcg-btn-donate {
    background: var(--bmcg-yellow) !important;
    color: #1a1a1a !important;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.bmcg-footer-bottom .bmcg-btn-donate:hover {
    background: var(--bmcg-yellow-dark) !important;
    color: #1a1a1a !important;
}

.bmcg-donor-feed {
    margin-top: 24px;
    border-top: 1px solid var(--bmcg-border);
    padding-top: 20px;
}
.bmcg-donor-feed-title { font-weight: 700; margin-bottom: 12px; font-size: 14px; text-transform: uppercase; color: var(--bmcg-text-muted); }
.bmcg-donor-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0;
    animation: bmcgFadeIn 0.4s ease;
}
@keyframes bmcgFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.bmcg-donor-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bmcg-green-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--bmcg-green-dark);
    font-size: 14px;
}
.bmcg-donor-info { flex: 1; }
.bmcg-donor-name { font-weight: 600; font-size: 14px; }
.bmcg-donor-time { font-size: 12px; color: var(--bmcg-text-muted); }
.bmcg-donor-amt { font-weight: 700; color: var(--bmcg-green); }

@media (max-width: 900px) {
    .bmcg-rescue { grid-template-columns: 1fr; }
    .bmcg-rescue-sidebar { position: static; }
}

/* ============================================
   USDT QR BOX
   ============================================ */
.bmcg-usdt-box {
    background: var(--bmcg-bg-soft);
    border: 1px solid var(--bmcg-border);
    border-radius: var(--bmcg-radius);
    padding: 20px;
    text-align: center;
    margin-top: 12px;
}
.bmcg-usdt-box img,
.bmcg-usdt-box canvas {
    margin: 0 auto 12px;
    display: block;
    border-radius: 8px;
}
.bmcg-usdt-addr {
    font-family: monospace; font-size: 13px;
    word-break: break-all; padding: 8px 12px;
    background: #fff; border-radius: 6px;
    border: 1px solid var(--bmcg-border);
    margin: 8px 0;
}
.bmcg-copy-btn {
    background: var(--bmcg-green); color: #fff;
    padding: 6px 14px; font-size: 13px;
    border: none; border-radius: 6px;
    cursor: pointer;
}
.bmcg-copy-btn:hover { background: var(--bmcg-green-dark); }

/* ============================================
   UTILITIES
   ============================================ */
.bmcg-hidden { display: none !important; }
.bmcg-flash { animation: bmcgFlash 0.3s ease; }
@keyframes bmcgFlash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
