/**
 * Layout público Mercado Gado — header, home e footer
 */

.mg-custom-layout,
.mg-custom-layout body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mg-custom-layout h1,
.mg-custom-layout h2,
.mg-custom-layout h3,
.mg-custom-layout h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.02em;
}

body.mg-custom-layout {
    padding-top: var(--mg-header-height, 40px);
}

.mg-custom-layout #content,
.mg-custom-layout .site-main,
.mg-custom-layout main.site-main {
    padding-top: 0;
}

.mg-custom-home .entry-content,
.mg-custom-home .page-content {
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Home full width — Hello Elementor limita .site-main a ~800–1140px */
body.mg-custom-home .site-main,
body.mg-custom-home #primary,
body.mg-custom-home #content,
body.mg-custom-home .page-content,
body.mg-custom-home .entry-content,
body.mg-custom-home .mg-home {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.mg-category-page .site-main,
body.mg-category-page #primary,
body.mg-category-page #content,
body.mg-category-page .page-content,
body.mg-category-page .entry-content,
body.mg-category-page .mg-home {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.mg-category-page .entry-content {
    padding-top: 0;
}

.mg-home {
    width: 100%;
    overflow-x: clip;
}

.mg-home__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Header ── */
.mg-site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    height: 40px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(9, 65, 30, 0.08);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 12px rgba(9, 65, 30, 0.04);
}

.admin-bar .mg-site-header {
    top: 32px;
}

.mg-site-header__inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    min-height: 0;
}

.mg-site-header__brand {
    display: flex;
    align-items: center;
    max-height: 40px;
    overflow: hidden;
}

.mg-site-header__logo-link {
    display: flex;
    align-items: center;
    line-height: 0;
    max-height: 28px;
}

.mg-site-header__logo {
    display: block;
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    max-width: 100px !important;
    object-fit: contain;
}

.mg-site-header img {
    height: 22px !important;
    max-height: 22px !important;
    width: auto !important;
    object-fit: contain;
}

.mg-site-header__search {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
}

.mg-site-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 4px 0 12px;
    border: 1px solid #dfe3e6;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mg-site-search:focus-within {
    border-color: var(--mg-green, #61ce70);
    box-shadow: 0 0 0 3px rgba(97, 206, 112, 0.16);
}

.mg-site-search__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #94a3b8;
    pointer-events: none;
}

.mg-site-search__input {
    flex: 1;
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #1e293b;
    outline: none;
    background: transparent;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
}

.mg-site-search__input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.mg-site-search__input::-webkit-search-cancel-button,
.mg-site-search__input::-webkit-search-decoration,
.mg-site-search__input::-webkit-search-results-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.mg-site-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--mg-green, #61ce70);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.mg-site-search__submit:hover {
    background: var(--mg-green-dark, #09411e);
}

.mg-site-search__submit svg {
    display: block;
}

.mg-site-header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.mg-site-header__anunciar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 9px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--mg-green, #61ce70) 0%, #4fbf62 100%);
    color: #fff !important;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 6px rgba(97, 206, 112, 0.3);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.mg-site-header__anunciar:hover {
    background: linear-gradient(135deg, var(--mg-green-dark, #09411e) 0%, #0d5c28 100%);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(9, 65, 30, 0.25);
}

.mg-site-header__cta {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
}

.mg-site-header__cta--orange {
    color: var(--mg-orange, #ff6600);
    animation: mg-blink 1.8s ease-in-out infinite;
}

@keyframes mg-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mg-site-header__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 5px;
    background: var(--mg-green, #61ce70);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}

.mg-site-header__btn:hover {
    background: var(--mg-green-dark, #09411e);
    color: #fff !important;
    transform: translateY(-1px);
}

.mg-site-header__account {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 26px;
    padding: 0 6px 0 3px;
    border-radius: 999px;
    border: 1px solid #e8ece9;
    background: #fff;
    text-decoration: none;
    color: #5a6570;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.mg-site-header__account:hover {
    border-color: rgba(97, 206, 112, 0.45);
    color: var(--mg-green-dark, #09411e);
    box-shadow: 0 2px 8px rgba(9, 65, 30, 0.06);
}

.mg-site-header__account-name {
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: none;
}

.mg-site-header__account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f3f6f4;
    color: #7a858f;
    flex-shrink: 0;
}

.mg-site-header__account--guest {
    padding: 0 10px;
    font-size: 10px;
    letter-spacing: 0.02em;
    text-transform: none;
}

.mg-site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #e8ece9;
    border-radius: 8px;
    background: #fff;
    padding: 0;
    color: #444;
    cursor: pointer;
}

/* ── Home Hero ── */
.mg-home__hero {
    position: relative;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 44px 16px 40px;
    overflow: hidden;
}

.mg-home__hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 30%, var(--mg-green, #61ce70) 0%, var(--mg-green-dark, #09411e) 72%);
    z-index: 0;
}

.mg-home__hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(9, 65, 30, 0.4) 100%);
}

.mg-home__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}

.mg-home__hero-kicker {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.88;
}

.mg-home__hero-heading {
    margin: 0 0 10px;
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.mg-home__hero-lead {
    margin: 0 0 20px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 300;
    line-height: 1.5;
    opacity: 0.92;
}

.mg-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.mg-home__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}

.mg-home__btn:hover {
    transform: translateY(-2px);
}

.mg-home__btn--gold {
    background: #ffc100;
    color: #1a1a1a !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.mg-home__btn--ghost {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff !important;
    background: transparent;
}

.mg-home__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

.mg-home__btn--lg {
    padding: 16px 36px;
    font-size: 15px;
}

.mg-home__stats {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mg-home__stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mg-home__stats strong {
    font-size: 18px;
    font-weight: 800;
}

.mg-home__stats span {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.04em;
}

.mg-home__whatsapp {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mg-home__wa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    opacity: 0.95;
    transition: opacity 0.2s, transform 0.15s;
}

.mg-home__wa-item:hover {
    opacity: 1;
    transform: scale(1.04);
}

.mg-home__social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mg-home__social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.mg-home__social a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mg-home__hero-chevron {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    opacity: 0.7;
    animation: mg-bounce 2s ease-in-out infinite;
}

@keyframes mg-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ── Categories ── */
.mg-home__categories {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 14px;
    margin-top: -1px;
    width: 100%;
}

.mg-home__categories-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mg-home__cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.mg-home__cat-card:hover {
    border-color: var(--mg-green, #61ce70);
    box-shadow: 0 8px 24px rgba(9, 65, 30, 0.08);
    transform: translateY(-2px);
}

.mg-home__cat-card--highlight {
    background: linear-gradient(135deg, var(--mg-green, #61ce70), var(--mg-green-dark, #09411e));
    border-color: transparent;
    color: #fff;
}

.mg-home__cat-icon {
    font-size: 22px;
    line-height: 1;
}

.mg-home__cat-card,
.mg-home__cat-card:hover,
.mg-home__cat-card:focus {
    text-decoration: none;
}

.mg-home__cat-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.mg-home__archive-title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--mg-green-dark, #09411e);
}

.mg-home__archive-cta {
    margin: 28px 0 0;
    text-align: center;
}

/* ── Product sections ── */
.mg-home__products {
    padding: 36px 0;
}

.mg-home__products--alt {
    background: #f7faf8;
}

.mg-home__section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.mg-home__section-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mg-green, #61ce70);
    margin-bottom: 4px;
}

.mg-home__section-head h2 {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: #2d3748;
    letter-spacing: -0.02em;
}

.mg-home__section-desc {
    margin: 6px 0 0;
    color: #718096;
    font-size: 14px;
}

.mg-home__section-link {
    color: var(--mg-green-dark, #09411e);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 8px 0;
}

.mg-home__section-link:hover {
    text-decoration: underline;
}

.mg-home__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.mg-home__product {
    margin: 0;
}

.mg-home__product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.15s ease, border-color 0.2s;
}

.mg-home__product-link:hover {
    box-shadow: 0 6px 18px rgba(9, 65, 30, 0.1);
    transform: translateY(-2px);
    border-color: rgba(97, 206, 112, 0.4);
}

.mg-home__product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #f0f4f1, #e2ebe4);
}

.mg-home__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.mg-home__product-link:hover .mg-home__product-image img {
    transform: scale(1.06);
}

.mg-home__product-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e8f5ea, #d4e8d8);
}

.mg-home__product-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    background: var(--mg-green, #61ce70);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 999px;
}

.mg-home__product-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mg-home__product-vendor {
    font-size: 9px;
    font-weight: 600;
    color: var(--mg-green-dark, #09411e);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.mg-home__product-title {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mg-home__product-price {
    margin-top: auto;
    padding-top: 4px;
    color: var(--mg-green-dark, #09411e);
    font-weight: 800;
    font-size: 13px;
}

.mg-home__product-price--consult {
    font-size: 11px;
    font-weight: 600;
    color: #718096;
}

.mg-home__empty {
    text-align: center;
    color: #718096;
    padding: 20px 16px;
    font-size: 14px;
    background: #f7faf8;
    border-radius: 8px;
    border: 1px dashed #cbd5e0;
}

/* ── Features band ── */
.mg-home__features {
    background: radial-gradient(ellipse at center, var(--mg-green, #61ce70) 0%, var(--mg-green-dark, #09411e) 100%);
    color: #fff;
    padding: 56px 20px;
}

.mg-home__features-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.mg-home__feature {
    text-align: center;
}

.mg-home__feature-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.mg-home__feature h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.mg-home__feature p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 300;
    opacity: 0.92;
}

/* ── CTA ── */
.mg-home__cta {
    background: #fff;
    padding: 64px 20px;
    text-align: center;
}

.mg-home__cta-inner {
    max-width: 640px;
    margin: 0 auto;
}

.mg-home__cta h2 {
    margin: 0 0 12px;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #2d3748;
}

.mg-home__cta p {
    margin: 0 0 20px;
    color: #718096;
    line-height: 1.65;
    font-size: 16px;
}

.mg-home__cta-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.mg-home__cta-list li {
    font-size: 14px;
    font-weight: 600;
    color: var(--mg-green-dark, #09411e);
}

.mg-home__cta-list li::before {
    content: '✓ ';
    color: var(--mg-green, #61ce70);
}

/* ── Footer ── */
.mg-site-footer {
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mg-site-footer h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

.mg-site-footer a {
    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    outline: none;
}

.mg-site-footer a::before,
.mg-site-footer a::after {
    display: none !important;
    content: none !important;
}

.mg-site-footer__contact-bar {
    background: var(--mg-green-dark, #09411e);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
}

.mg-site-footer__contact-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.mg-site-footer__wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.01em;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.mg-site-footer__wa:hover {
    opacity: 1;
    color: #fff !important;
    text-decoration: none !important;
}

.mg-site-footer__grid-section {
    background: linear-gradient(165deg, #1a6b38 0%, var(--mg-green-dark, #09411e) 55%, #062a14 100%);
    padding: 48px 20px 36px;
}

.mg-site-footer__grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) auto;
    gap: 32px;
    align-items: start;
}

.mg-site-footer__logo-link {
    display: inline-block;
    line-height: 0;
    margin-bottom: 14px;
}

.mg-site-footer__logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mg-site-footer__brand-text {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 280px;
    letter-spacing: -0.01em;
}

.mg-site-footer__social-icons {
    display: flex;
    gap: 8px;
}

.mg-site-footer__social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
}

.mg-site-footer__social-icons a:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.mg-site-footer__col h4 {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.mg-site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.mg-site-footer__col a {
    display: block;
    padding: 7px 0;
    color: rgba(255, 255, 255, 0.88) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
    border: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
    transition: color 0.15s;
}

.mg-site-footer__col a:hover,
.mg-site-footer__col a:focus {
    color: #fff !important;
    text-decoration: none !important;
    border: 0 !important;
    opacity: 1;
    transform: none;
}

.mg-site-footer__cta-col {
    text-align: right;
}

.mg-site-footer__anunciar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    background: linear-gradient(135deg, var(--mg-green, #61ce70) 0%, #4fbf62 100%);
    color: #fff !important;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none !important;
    line-height: 1;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s, box-shadow 0.2s;
}

.mg-site-footer__anunciar:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.mg-site-footer__cta-col p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: -0.01em;
}

.mg-site-footer__partners {
    background: #062a14;
    padding: 32px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mg-site-footer__partners h4 {
    margin: 0 0 20px;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}

.mg-site-footer__partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.mg-site-footer__partners-logos img {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.mg-site-footer__partners-logos img:hover {
    opacity: 1;
}

.mg-site-footer__partner-mg {
    max-height: 32px !important;
}

.mg-site-footer__bottom {
    background: #041c0e;
    padding: 28px 20px 32px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mg-site-footer__about {
    max-width: 640px;
    margin: 0 auto 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    letter-spacing: -0.01em;
}

.mg-site-footer__copy {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0;
}

.mg-site-footer__copy a {
    color: rgba(255, 255, 255, 0.62) !important;
    text-decoration: none !important;
}

.mg-site-footer__copy a:hover {
    color: #fff !important;
    text-decoration: none !important;
}

.mg-site-footer__payments {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mg-site-footer__payments span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.55);
}

/* Overrides de tema (Hello Elementor, links com traço/sublinhado) */
body.mg-custom-layout .mg-site-footer a,
body.mg-custom-layout .mg-site-footer .mg-site-footer__col a {
    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.mg-custom-layout .mg-site-footer a:hover,
body.mg-custom-layout .mg-site-footer a:focus,
body.mg-custom-layout .mg-site-footer .mg-site-footer__col a:hover,
body.mg-custom-layout .mg-site-footer .mg-site-footer__col a:focus {
    text-decoration: none !important;
    border: 0 !important;
    background-image: none !important;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .mg-home__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mg-site-footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .mg-site-footer__brand-col {
        grid-column: 1 / -1;
    }

    .mg-site-footer__cta-col {
        grid-column: 1 / -1;
        text-align: left;
    }
}

@media (max-width: 782px) {
    .admin-bar .mg-site-header {
        top: 46px;
    }
}

@media (max-width: 900px) {
    .mg-site-header__inner {
        grid-template-columns: auto 1fr auto;
        padding: 0 10px;
        gap: 8px;
        min-height: 40px;
    }

    .mg-site-header__account-name {
        display: none;
    }

    .mg-site-header__account {
        padding: 0;
        width: 26px;
        justify-content: center;
    }

    .mg-site-header__account--guest span:first-child {
        display: none;
    }

    .mg-site-header__account--guest {
        width: auto;
        padding: 0 6px;
        font-size: 9px;
    }

    .mg-site-header__search {
        grid-column: auto;
        order: 0;
        max-width: none;
        padding: 0;
    }

    .mg-site-search {
        height: 32px;
    }

    .mg-site-search__input {
        font-size: 14px;
    }

    .mg-site-search__submit {
        width: 28px;
        height: 28px;
    }

    .mg-site-header__toggle {
        display: none;
    }

    .mg-site-header__nav {
        display: flex !important;
        grid-column: auto;
        flex-direction: row;
        align-items: center;
        padding-top: 0;
        gap: 6px;
    }

    .mg-site-header__anunciar {
        height: 26px;
        padding: 0 8px;
        font-size: 8px;
    }

    .mg-home__categories-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-home__features-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 560px) {
    .mg-home__hero {
        padding: 32px 14px 28px;
    }

    .mg-home__stats {
        gap: 20px;
    }

    .mg-home__categories-inner {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mg-home__features-inner {
        grid-template-columns: 1fr;
    }

    .mg-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mg-home__product-body {
        padding: 6px 8px 8px;
    }

    .mg-home__product-title {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }

    .mg-home__product-price {
        font-size: 12px;
        padding-top: 2px;
    }

    .mg-home__product-vendor {
        font-size: 8px;
    }

    .mg-home__empty {
        padding: 16px 12px;
        font-size: 13px;
    }

    .mg-site-footer__grid {
        grid-template-columns: 1fr;
    }

    body.mg-category-page .mg-section--compact {
        padding: 12px 12px 20px;
    }

    body.mg-category-page .mg-section__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    body.mg-category-page .mg-section__title {
        font-size: 1.25rem;
    }

    .mg-site-header__inner {
        gap: 6px;
        padding: 0 8px;
    }

    .mg-site-header__logo {
        max-width: 72px !important;
    }

    .mg-site-header__anunciar {
        display: none;
    }

    .mg-site-search__input {
        font-size: 13px;
        padding: 0 6px;
    }

    .mg-site-search__input::placeholder {
        font-size: 12px;
    }
}

/* ==========================================================================
   HOMEPAGE PREMIUM — Mercado Gado v2
   ========================================================================== */

.mg-home {
    color: #1a2433;
    background: #fff;
}

/* ── Botões padrão ── */
.mg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.mg-btn--sm {
    padding: 10px 18px;
    font-size: 13px;
}

.mg-btn--primary {
    background: linear-gradient(135deg, #1ea54a 0%, #0d6f33 100%);
    color: #fff !important;
    box-shadow: 0 8px 24px rgba(13, 111, 51, 0.32);
}
.mg-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(13, 111, 51, 0.42);
    color: #fff !important;
}

.mg-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
}
.mg-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff !important;
}

.mg-btn--ghost-dark {
    background: transparent;
    color: #0d6f33 !important;
    border-color: rgba(13, 111, 51, 0.3);
}
.mg-btn--ghost-dark:hover {
    background: #f0faf2;
    border-color: #0d6f33;
}

.mg-btn--gold {
    background: linear-gradient(135deg, #ffd33d 0%, #ffb800 100%);
    color: #1a1a1a !important;
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.4);
}
.mg-btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 184, 0, 0.5);
    color: #1a1a1a !important;
}

.mg-btn--whatsapp {
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.mg-btn--whatsapp:hover {
    background: #1ebc59;
    transform: translateY(-2px);
    color: #fff !important;
}

/* ── Container/section base ── */
.mg-section {
    padding: 56px 20px;
}

.mg-section--alt {
    background: #f6f9f7;
}

.mg-section__container {
    max-width: 1200px;
    margin: 0 auto;
}

.mg-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.mg-section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

.mg-section__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: #e8f6ec;
    color: #0d6f33;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 12px;
}

.mg-section__tag--gold {
    background: rgba(255, 184, 0, 0.18);
    color: #b88500;
}

.mg-section__title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 800;
    color: #0c1727;
    line-height: 1.15;
}

.mg-section__title--light {
    color: #fff;
}

.mg-section__desc {
    margin: 0;
    max-width: 620px;
    color: #5a6779;
    font-size: 15px;
    line-height: 1.6;
}

.mg-section__head--center .mg-section__desc {
    margin-left: auto;
    margin-right: auto;
}

.mg-section__desc--light {
    color: rgba(255, 255, 255, 0.85);
}

.mg-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0d6f33;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s;
}
.mg-section__link:hover {
    gap: 10px;
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.mg-hero {
    position: relative;
    isolation: isolate;
    padding: 64px 20px 72px;
    background: #052816;
    color: #fff;
    overflow: hidden;
}

.mg-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, #0d6f33 0%, transparent 60%),
        linear-gradient(180deg, #052816 0%, #041d10 100%);
}

.mg-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    z-index: 0;
}

.mg-hero__glow--1 {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, #1ea54a 0%, transparent 70%);
}

.mg-hero__glow--2 {
    width: 360px;
    height: 360px;
    bottom: -100px;
    right: -80px;
    background: radial-gradient(circle, #ffb800 0%, transparent 70%);
    opacity: 0.25;
}

.mg-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 80%);
}

.mg-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.mg-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d8f5e2;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.mg-hero__kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px #4ade80;
    animation: mg-pulse 1.8s ease-in-out infinite;
}

@keyframes mg-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.mg-hero__heading {
    margin: 0 0 16px;
    font-size: clamp(32px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #fff;
}

.mg-hero__heading-accent {
    background: linear-gradient(135deg, #4ade80 0%, #ffd33d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.mg-hero__lead {
    margin: 0 auto 28px;
    max-width: 640px;
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.mg-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 44px;
}

.mg-hero__stats {
    list-style: none;
    margin: 0;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    margin-inline: auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    backdrop-filter: blur(12px);
}

.mg-hero__stats li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.mg-hero__stats strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.mg-hero__stats span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
}

/* ──────────────────────────────────────────────────────────
   QUICK CATEGORIES
   ────────────────────────────────────────────────────────── */
.mg-quick-cats {
    padding: 0 20px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.mg-quick-cats__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.mg-quick-cat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 18px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8ebe9;
    text-decoration: none;
    color: #1a2433;
    box-shadow: 0 10px 30px rgba(5, 40, 22, 0.08);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mg-quick-cat:hover {
    transform: translateY(-3px);
    border-color: #0d6f33;
    box-shadow: 0 16px 40px rgba(5, 40, 22, 0.12);
    color: #1a2433;
}

.mg-quick-cat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0faf2;
    color: #0d6f33;
    margin-bottom: 6px;
}

.mg-quick-cat__title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0c1727;
}

.mg-quick-cat__sub {
    font-size: 12px;
    color: #6b7785;
    line-height: 1.4;
}

.mg-quick-cat--highlight {
    background: linear-gradient(135deg, #1ea54a 0%, #0d6f33 100%);
    border-color: transparent;
    color: #fff;
}
.mg-quick-cat--highlight:hover {
    color: #fff;
    box-shadow: 0 16px 40px rgba(13, 111, 51, 0.4);
}
.mg-quick-cat--highlight .mg-quick-cat__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.mg-quick-cat--highlight .mg-quick-cat__title {
    color: #fff;
}
.mg-quick-cat--highlight .mg-quick-cat__sub {
    color: rgba(255, 255, 255, 0.85);
}

/* ──────────────────────────────────────────────────────────
   BREEDS / CATEGORIES
   ────────────────────────────────────────────────────────── */
.mg-breeds {
    padding: 64px 20px;
}

.mg-breeds__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mg-breed {
    padding: 24px;
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mg-breed:hover {
    transform: translateY(-4px);
    border-color: #0d6f33;
    box-shadow: 0 16px 40px rgba(5, 40, 22, 0.1);
}

.mg-breed__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f6ec 0%, #d0ecd9 100%);
    color: #0d6f33;
    margin-bottom: 16px;
}

.mg-breed__name {
    margin: 0 0 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0c1727;
}

.mg-breed__desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5a6779;
}

/* ──────────────────────────────────────────────────────────
   MARKET STATS (dark)
   ────────────────────────────────────────────────────────── */
.mg-market {
    padding: 72px 20px;
    background: linear-gradient(135deg, #052816 0%, #0a3a1f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.mg-market::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 600px at 20% 0%, rgba(30, 165, 74, 0.25) 0%, transparent 60%),
        radial-gradient(circle 500px at 80% 100%, rgba(255, 184, 0, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.mg-market > .mg-section__container {
    position: relative;
    z-index: 1;
}

.mg-market__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.mg-market__card {
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    text-align: left;
    transition: transform 0.2s, background 0.2s;
}
.mg-market__card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.mg-market__icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.mg-market__value {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.mg-market__label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.mg-market__source {
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-style: italic;
}

/* ──────────────────────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────────────────────── */
.mg-about {
    padding: 72px 20px;
    background: #fff;
}

.mg-about__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
}

.mg-about__text {
    margin: 0 0 16px;
    color: #4a5567;
    font-size: 15px;
    line-height: 1.7;
}

.mg-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.mg-about__values {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.mg-about__values li {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: #f6f9f7;
    border: 1px solid #e8ebe9;
    border-radius: 12px;
}

.mg-about__value-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #1ea54a 0%, #0d6f33 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.mg-about__values strong {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: #0c1727;
    margin-bottom: 4px;
}

.mg-about__values p {
    margin: 0;
    font-size: 13px;
    color: #6b7785;
    line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   HOW IT WORKS
   ────────────────────────────────────────────────────────── */
.mg-how {
    padding: 72px 20px;
    background: #f6f9f7;
}

.mg-how__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    counter-reset: mg-step;
}

.mg-how__step {
    position: relative;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e8ebe9;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mg-how__step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(5, 40, 22, 0.08);
}

.mg-how__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1ea54a 0%, #0d6f33 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.mg-how__step h3 {
    margin: 0 0 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0c1727;
}

.mg-how__step p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5a6779;
}

/* ──────────────────────────────────────────────────────────
   FINAL CTA
   ────────────────────────────────────────────────────────── */
.mg-final-cta {
    padding: 64px 20px 80px;
    background: #fff;
}

.mg-final-cta__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 40px;
    background: linear-gradient(135deg, #052816 0%, #0a3a1f 60%, #0d6f33 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(5, 40, 22, 0.25);
}

.mg-final-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 400px at 0% 100%, rgba(255, 184, 0, 0.25) 0%, transparent 60%),
        radial-gradient(circle 400px at 100% 0%, rgba(74, 222, 128, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.mg-final-cta__content {
    position: relative;
    text-align: center;
    color: #fff;
}

.mg-final-cta__content h2 {
    margin: 14px 0 12px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.mg-final-cta__content p {
    margin: 0 auto 24px;
    max-width: 540px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.6;
}

.mg-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .mg-hero__stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
    }

    .mg-quick-cats__inner,
    .mg-market__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-breeds__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mg-about__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mg-how__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mg-hero {
        padding: 44px 16px 56px;
    }

    .mg-quick-cats {
        margin-top: -28px;
    }

    .mg-quick-cats__inner {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mg-quick-cat {
        padding: 14px;
    }

    .mg-breeds__grid {
        grid-template-columns: 1fr;
    }

    .mg-market__grid {
        grid-template-columns: 1fr;
    }

    .mg-final-cta__inner {
        padding: 40px 24px;
    }

    .mg-section {
        padding: 44px 16px;
    }

    .mg-about,
    .mg-breeds,
    .mg-how,
    .mg-market {
        padding: 48px 16px;
    }
}

/* ── Páginas de categoria (animais, fazendas) ── */
.mg-section--compact {
    padding: 24px 16px 32px;
}

.mg-section--compact .mg-section__head {
    margin-bottom: 16px;
}

.mg-section--compact .mg-section__title {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 0;
}

.mg-archive-cta {
    margin: 20px 0 0;
    text-align: center;
}

.mg-home--archive .mg-btn--sm {
    padding: 8px 16px;
    font-size: 12px;
}
