/* ===== MOTOPI FARM BEEF PAGE HERO SECTION ===== */
/* Mobile-first approach with cross-browser compatibility */
/* Compatible with in-app browsers (Facebook, Instagram, etc.) */

.mf-beef-hero {
    position: relative;
    height: 100svh;
    height: 100vh; /* Fallback */
    width: 100%;
    overflow: hidden;
}

/* Video Background for Beef Hero */
.mf-beef-hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.mf-beef-hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Content - Consistent with site style */
.mf-beef-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
}

.mf-beef-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    text-align: left;
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .mf-beef-hero-title {
        font-size: 3.2rem;
        margin-bottom: 24px;
    }

    .mf-beef-hero-subtitle {
        font-size: 1.3rem;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .mf-beef-hero-title {
        font-size: 3.8rem;
        margin-bottom: 28px;
    }

    .mf-beef-hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .mf-beef-hero-title {
        font-size: 4.2rem;
        margin-bottom: 32px;
    }

    .mf-beef-hero-subtitle {
        font-size: 1.5rem;
    }
}

/* Cross-browser fixes */
@supports (-webkit-appearance: none) {
    .mf-beef-hero-background-video {
        -webkit-appearance: none;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .mf-beef-hero-content {
        -webkit-transition: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mf-beef-hero {
        border-top: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }
}

/* In-app browser compatibility */
.mf-beef-hero-background-video::-webkit-media-controls {
    display: none !important;
}

.mf-beef-hero-background-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.mf-beef-hero-background-video::-moz-media-controls {
    display: none !important;
}

.mf-beef-hero-background-video::-ms-media-controls {
    display: none !important;
}
/* ===== MOTOPI FARM BEEF CULTURAL SECTION ===== */
/* Mobile-first approach with cross-browser compatibility */
/* Compatible with in-app browsers (Facebook, Instagram, etc.) */

.mf-beef-cultural-section {
    position: relative;
    padding: 20px 20px 20px;
    background-color: #ffffff;
}

.mf-beef-cultural-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mf-beef-cultural-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-beef-cultural-fadeInUp 0.8s ease-out 0.2s forwards;
    animation: mf-beef-cultural-fadeInUp 0.8s ease-out 0.2s forwards;
    will-change: opacity, transform;
}

.mf-beef-cultural-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.mf-beef-cultural-hero-image {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    width: 100%;
}

.mf-beef-cultural-headline {
    font-family: 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2420;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
}

.mf-beef-cultural-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #5a4f42;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
}

.mf-beef-cultural-hero-img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    will-change: transform;
}

.mf-beef-cultural-hero-img:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.mf-beef-cultural-gallery {
    margin: 30px 0 40px 0;
}

.mf-beef-cultural-gallery-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 15px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mf-beef-cultural-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-cultural-gallery-item:hover {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mf-beef-cultural-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    will-change: transform;
}

.mf-beef-cultural-gallery-item:hover .mf-beef-cultural-gallery-img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.mf-beef-cultural-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.mf-beef-cultural-gallery-item:hover .mf-beef-cultural-gallery-overlay {
    opacity: 1;
}

.mf-beef-cultural-view-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mf-beef-cultural-cta {
    margin-top: 30px;
}

.mf-beef-cultural-recipe-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    background-color: #d6b278;
    color: #221e1b;
    padding: 16px 32px;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid #d6b278;
    will-change: transform, background-color;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-cultural-recipe-btn:hover {
    background-color: #b5996e;
    border-color: #b5996e;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 25px rgba(214, 178, 120, 0.3);
    box-shadow: 0 8px 25px rgba(214, 178, 120, 0.3);
}

.mf-beef-cultural-recipe-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Recipe CTA Section (Like Onions) */
.mf-beef-cultural-cta-section {
    position: relative;
    padding: 0 20px 60px;
    background-color: #ffffff;
}

.mf-beef-cultural-cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mf-beef-cultural-cta-box {
    background: linear-gradient(135deg, #f8f5f2 0%, #ede8e3 100%);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(226, 209, 192, 0.3);
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-beef-cultural-fadeInUp 0.8s ease-out 0.8s forwards;
    animation: mf-beef-cultural-fadeInUp 0.8s ease-out 0.8s forwards;
    will-change: opacity, transform;
}

.mf-beef-cultural-cta-headline {
    font-family: 'Manrope', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2c2420;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
}

.mf-beef-cultural-cta-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5a4f42;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mf-beef-cultural-final-recipe-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    background-color: #5a4f42;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid #5a4f42;
    will-change: transform, background-color;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-cultural-final-recipe-btn:hover {
    background-color: #4a3f35;
    border-color: #4a3f35;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 25px rgba(90, 79, 66, 0.3);
    box-shadow: 0 8px 25px rgba(90, 79, 66, 0.3);
}

.mf-beef-cultural-final-recipe-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Modal Overlay */
.mf-beef-cultural-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity, visibility;
}

.mf-beef-cultural-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mf-beef-cultural-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    will-change: transform;
}

.mf-beef-cultural-modal-overlay.active .mf-beef-cultural-modal {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.mf-beef-cultural-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    will-change: transform, background-color;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-cultural-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.mf-beef-cultural-modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.mf-beef-cultural-modal-caption {
    padding: 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #2c2420;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    background: #ffffff;
}

/* Animations */
@-webkit-keyframes mf-beef-cultural-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes mf-beef-cultural-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .mf-beef-cultural-section {
        padding: 30px 40px 30px;
    }

    .mf-beef-cultural-content {
        gap: 50px;
    }

    .mf-beef-cultural-headline {
        font-size: 2.6rem;
        margin-bottom: 24px;
    }

    .mf-beef-cultural-description {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .mf-beef-cultural-hero-image {
        margin: 0;
        padding: 0;
    }

    .mf-beef-cultural-hero-img {
        min-height: 400px;
    }

    .mf-beef-cultural-gallery-grid {
        -ms-grid-columns: 1fr 20px 1fr 20px 1fr 20px 1fr;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .mf-beef-cultural-view-icon {
        width: 28px;
        height: 28px;
    }

    .mf-beef-cultural-cta-section {
        padding: 0 40px 80px;
    }

    .mf-beef-cultural-cta-box {
        padding: 40px 30px;
    }

    .mf-beef-cultural-cta-headline {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .mf-beef-cultural-cta-text {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .mf-beef-cultural-section {
        padding: 40px 50px 40px;
    }

    .mf-beef-cultural-content {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        gap: 40px;
    }

    .mf-beef-cultural-hero-image {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        margin: 0;
        padding: 0;
    }

    .mf-beef-cultural-text {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .mf-beef-cultural-headline {
        font-size: 2.8rem;
        margin-bottom: 24px;
    }

    .mf-beef-cultural-description {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .mf-beef-cultural-hero-img {
        min-height: 100%;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .mf-beef-cultural-gallery {
        margin: 20px 0 30px 0;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .mf-beef-cultural-gallery-grid {
        -ms-grid-columns: 1fr 12px 1fr 12px 1fr;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .mf-beef-cultural-cta {
        margin-top: auto;
        padding-top: 20px;
    }

    .mf-beef-cultural-view-icon {
        width: 28px;
        height: 28px;
    }

    .mf-beef-cultural-cta-section {
        padding: 0 50px 100px;
    }

    .mf-beef-cultural-cta-box {
        padding: 50px 40px;
    }

    .mf-beef-cultural-cta-headline {
        font-size: 2rem;
        margin-bottom: 24px;
    }

    .mf-beef-cultural-cta-text {
        font-size: 1.2rem;
        margin-bottom: 35px;
        max-width: 700px;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .mf-beef-cultural-section {
        padding: 50px 60px 50px;
    }

    .mf-beef-cultural-content {
        gap: 50px;
    }

    .mf-beef-cultural-headline {
        font-size: 3.2rem;
        margin-bottom: 28px;
    }

    .mf-beef-cultural-description {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }

    .mf-beef-cultural-gallery {
        margin: 24px 0 32px 0;
    }

    .mf-beef-cultural-gallery-grid {
        gap: 15px;
    }

    .mf-beef-cultural-cta-section {
        padding: 0 60px 120px;
    }
}

/* Cross-browser compatibility */
@supports (-webkit-appearance: none) {
    .mf-beef-cultural-recipe-btn,
    .mf-beef-cultural-final-recipe-btn,
    .mf-beef-cultural-modal-close {
        -webkit-appearance: none;
    }
}

/* Grid fallback for older browsers */
@supports not (display: grid) {
    .mf-beef-cultural-gallery-grid {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .mf-beef-cultural-gallery-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 8px);
        flex: 1 1 calc(50% - 8px);
    }
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 1) {
    .mf-beef-cultural-gallery-item {
        position: relative;
        padding-bottom: 100%;
        height: 0;
    }
    
    .mf-beef-cultural-gallery-item .mf-beef-cultural-gallery-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .mf-beef-cultural-content,
    .mf-beef-cultural-cta-box {
        -webkit-animation: none;
        animation: none;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    
    * {
        -webkit-transition: none !important;
        transition: none !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mf-beef-cultural-hero-img:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-beef-cultural-gallery-item:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-beef-cultural-recipe-btn:hover,
    .mf-beef-cultural-final-recipe-btn:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-beef-cultural-recipe-btn:hover {
        background-color: #d6b278;
    }
    
    .mf-beef-cultural-final-recipe-btn:hover {
        background-color: #5a4f42;
    }
    
    .mf-beef-cultural-gallery-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.2);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mf-beef-cultural-section {
        border-top: 2px solid #2c2420;
        border-bottom: 2px solid #2c2420;
    }
    
    .mf-beef-cultural-hero-img {
        border: 2px solid #2c2420;
    }
}

/* In-app browser compatibility */
.mf-beef-cultural-section * {
    -webkit-tap-highlight-color: transparent;
}

/* ===== MOTOPI FARM PREMIUM MEAT SECTION ===== */
/* Mobile-first approach with cross-browser compatibility */
/* Compatible with in-app browsers (Facebook, Instagram, etc.) */

.mf-premium-meat-section {
    position: relative;
    background-color: #5a4f42;
    padding: 20px 0 40px;
    width: 100%;
    overflow: hidden;
}

.mf-premium-meat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.mf-premium-meat-content {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-premium-meat-fadeInUp 0.8s ease-out 0.2s forwards;
    animation: mf-premium-meat-fadeInUp 0.8s ease-out 0.2s forwards;
    will-change: opacity, transform;
}

/* Section Header */
.mf-premium-meat-header {
    margin-bottom: 30px;
    text-align: left;
}

.mf-premium-meat-headline {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #f5f1ee;
    line-height: 1.3;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.mf-premium-meat-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #f5f1ee;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    text-align: left;
}

/* Interactive Layout - Mobile First */
.mf-premium-meat-interactive {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 25px;
}

/* Cow Diagram */
.mf-premium-meat-diagram {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px;
    background-color: #746859;
    border: 2px solid #473c2f;
    border-radius: 8px;
}

.mf-premium-meat-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Beef Sections */
.mf-beef-section {
    fill: #d3c7b0;
    stroke: #473c2f;
    stroke-width: 1px;
    -webkit-transition: fill 0.3s ease;
    transition: fill 0.3s ease;
    cursor: pointer;
    will-change: fill;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-section:hover,
.mf-beef-section.active {
    fill: #974240;
    cursor: pointer;
}

.mf-beef-section:focus {
    outline: none;
}

.mf-beef-section:focus-visible {
    outline: none;
}

.mf-beef-section.disabled {
    fill: #b8ab9e;
    cursor: default;
    opacity: 0.6;
}

.mf-beef-section.disabled:hover {
    fill: #b8ab9e;
}

/* Info Panel */
.mf-premium-meat-info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.mf-premium-meat-panel {
    position: relative; /* For z-index stacking context and absolute positioning of children */
    background-color: #3d362d; /* Fallback background for the panel itself */
    border: 2px solid #473c2f;
    border-radius: 8px;
    min-height: 280px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.mf-premium-meat-panel-bg { /* This div will hold the dynamic image and its overlay */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0; /* Image layer starts transparent */
    transition: opacity 0.5s ease-in-out;
    z-index: 1; /* Above panel's direct background, below content */
}

.mf-premium-meat-panel-bg.image-active {
    opacity: 0.6; /* Fades in the image */
}

/* Darkening overlay for the background image */
.mf-premium-meat-panel-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 32, 29, 0.7); /* #22201d with 70% opacity */
    /* Overlay visibility is tied to the parent's opacity when .image-active is present */
}

.mf-premium-meat-panel-content { /* Holds the text */
    position: relative;
    z-index: 2; /* Ensures text is above panel-bg and its pseudo-elements */
    padding: 25px 20px;
    width: 100%;
    text-align: center;
}

.mf-premium-meat-cut-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #f5f1ee; /* MODIFIED: White text */
    margin-bottom: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0; /* Base state for animation */
    -webkit-transform: translateY(20px); /* Base state for animation */
    transform: translateY(20px); /* Base state for animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    will-change: opacity, transform;
}

.mf-premium-meat-cut-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #f5f1ee; /* MODIFIED: White text */
    line-height: 1.6;
    margin: 0;
    opacity: 0; /* Base state for animation */
    -webkit-transform: translateY(20px); /* Base state for animation */
    transform: translateY(20px); /* Base state for animation */
    -webkit-transition: all 0.4s ease 0.1s;
    transition: all 0.4s ease 0.1s;
    will-change: opacity, transform;
}

/* Content Animation States */
.mf-premium-meat-panel-content.animate .mf-premium-meat-cut-title,
.mf-premium-meat-panel-content.animate .mf-premium-meat-cut-description {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* Animation */
@-webkit-keyframes mf-premium-meat-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes mf-premium-meat-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .mf-premium-meat-section { padding: 30px 0 60px; }
    .mf-premium-meat-container { padding: 0 40px; }
    .mf-premium-meat-header { margin-bottom: 40px; }
    .mf-premium-meat-headline { font-size: 2.8rem; margin-bottom: 20px; }
    .mf-premium-meat-description { font-size: 1.2rem; }
    .mf-premium-meat-interactive { flex-direction: row; align-items: stretch; gap: 30px; }
    .mf-premium-meat-diagram { flex: 0 0 50%; padding: 30px; }
    .mf-premium-meat-info { flex: 0 0 50%; }
    .mf-premium-meat-svg { max-width: 100%; }
    .mf-premium-meat-panel { min-height: 400px; }
    .mf-premium-meat-panel-content { padding: 40px 30px; text-align: left; }
    .mf-premium-meat-cut-title { font-size: 2rem; margin-bottom: 20px; }
    .mf-premium-meat-cut-description { font-size: 1.1rem; }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .mf-premium-meat-section { padding: 40px 0 80px; }
    .mf-premium-meat-container { padding: 0 50px; }
    .mf-premium-meat-header { margin-bottom: 50px; }
    .mf-premium-meat-headline { font-size: 3.2rem; margin-bottom: 24px; }
    .mf-premium-meat-description { font-size: 1.3rem; }
    .mf-premium-meat-interactive { gap: 40px; }
    .mf-premium-meat-diagram { padding: 40px; }
    .mf-premium-meat-panel { min-height: 450px; }
    .mf-premium-meat-panel-content { padding: 50px 40px; }
    .mf-premium-meat-cut-title { font-size: 2.2rem; margin-bottom: 24px; }
    .mf-premium-meat-cut-description { font-size: 1.2rem; line-height: 1.7; }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .mf-premium-meat-section { padding: 50px 0 100px; }
    .mf-premium-meat-container { padding: 0 60px; }
    .mf-premium-meat-header { margin-bottom: 60px; }
    .mf-premium-meat-headline { font-size: 3.6rem; margin-bottom: 28px; }
    .mf-premium-meat-description { font-size: 1.4rem; }
    .mf-premium-meat-interactive { gap: 50px; }
    .mf-premium-meat-panel { min-height: 500px; }
    .mf-premium-meat-panel-content { padding: 60px 50px; }
    .mf-premium-meat-cut-title { font-size: 2.4rem; margin-bottom: 28px; }
    .mf-premium-meat-cut-description { font-size: 1.3rem; }
}

/* Cross-browser compatibility */
@supports (-webkit-appearance: none) {
    .mf-beef-section { -webkit-appearance: none; }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .mf-premium-meat-content { -webkit-animation: none; animation: none; opacity: 1; -webkit-transform: none; transform: none; }
    .mf-beef-section, .mf-premium-meat-panel-bg, .mf-premium-meat-cut-title, .mf-premium-meat-cut-description { -webkit-transition: none; transition: none; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mf-beef-section:hover { fill: #d3c7b0; }
    .mf-premium-meat-svg { cursor: default; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mf-premium-meat-section { border-top: 2px solid #d3c7b0; border-bottom: 2px solid #d3c7b0; }
    .mf-premium-meat-diagram, .mf-premium-meat-panel { border-width: 3px; }
}

/* In-app browser compatibility */
.mf-premium-meat-section * { -webkit-tap-highlight-color: transparent; }

/* ===== MOTOPI FARM PERFECT GALLERY GRID ===== */
/* Mobile-first approach with cross-browser compatibility */
/* Compatible with in-app browsers (Facebook, Instagram, etc.) */

.mf-perfect-gallery-section {
    position: relative;
    padding: 20px 20px 60px;
    background-color: #ffffff;
}

.mf-perfect-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Section Header */
.mf-perfect-gallery-header {
    margin-bottom: 30px;
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-perfect-gallery-fadeInUp 0.8s ease-out 0.2s forwards;
    animation: mf-perfect-gallery-fadeInUp 0.8s ease-out 0.2s forwards;
}

.mf-perfect-gallery-headline {
    font-family: 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2420;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
}

.mf-perfect-gallery-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #5a4f42;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    max-width: 900px;
}

/* Gallery Grid Layout */
.mf-perfect-gallery {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-perfect-gallery-fadeInUp 0.8s ease-out 0.4s forwards;
    animation: mf-perfect-gallery-fadeInUp 0.8s ease-out 0.4s forwards;
}

.mf-perfect-gallery-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}

/* Gallery Column */
.mf-perfect-gallery-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 15px;
}

/* Gallery Item Styles */
.mf-perfect-gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    will-change: transform;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
}

/* Mobile: All same height */
@media (max-width: 767px) {
    .mf-perfect-gallery-item {
        aspect-ratio: 4/3;
    }
}

/* Tablet: 3 columns with calculated heights */
@media (min-width: 768px) and (max-width: 1023px) {
    .mf-perfect-gallery-grid {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 15px;
    }
    
    .mf-perfect-gallery-column {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
    
    /* Hide columns 4 and 5 on tablet */
    .mf-col-4, .mf-col-5 {
        display: none;
    }
    
    /* Perfect alignment heights for 3 columns - tablet */
    .mf-item-1-1 { height: 280px; }
    .mf-item-1-2 { height: 220px; }
    .mf-item-1-3 { height: 240px; }
    
    .mf-item-2-1 { height: 200px; }
    .mf-item-2-2 { height: 300px; }
    .mf-item-2-3 { height: 240px; }
    
    .mf-item-3-1 { height: 260px; }
    .mf-item-3-2 { height: 200px; }
    .mf-item-3-3 { height: 280px; }
}

/* Desktop: 5 columns with perfect mathematical alignment */
@media (min-width: 1024px) {
    .mf-perfect-gallery-grid {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 15px;
        /* Total height calculation: 740px */
        min-height: 740px;
    }
    
    .mf-perfect-gallery-column {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        height: 740px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    
    /* Perfect mathematical alignment - Column 1: Total 740px */
    .mf-item-1-1 { height: 280px; }  /* 280px */
    .mf-item-1-2 { height: 220px; }  /* 220px */
    .mf-item-1-3 { height: 225px; }  /* 225px + 30px gaps = 740px */
    
    /* Perfect mathematical alignment - Column 2: Total 740px */
    .mf-item-2-1 { height: 200px; }  /* 200px */
    .mf-item-2-2 { height: 300px; }  /* 300px */
    .mf-item-2-3 { height: 225px; }  /* 225px + 30px gaps = 740px */
    
    /* Perfect mathematical alignment - Column 3: Total 740px */
    .mf-item-3-1 { height: 260px; }  /* 260px */
    .mf-item-3-2 { height: 200px; }  /* 200px */
    .mf-item-3-3 { height: 265px; }  /* 265px + 30px gaps = 740px */
    
    /* Perfect mathematical alignment - Column 4: Total 740px */
    .mf-item-4-1 { height: 240px; }  /* 240px */
    .mf-item-4-2 { height: 280px; }  /* 280px */
    .mf-item-4-3 { height: 205px; }  /* 205px + 30px gaps = 740px */
    
    /* Perfect mathematical alignment - Column 5: Total 740px */
    .mf-item-5-1 { height: 270px; }  /* 270px */
    .mf-item-5-2 { height: 220px; }  /* 220px */
    .mf-item-5-3 { height: 235px; }  /* 235px + 30px gaps = 740px */
}

.mf-perfect-gallery-item:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mf-perfect-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    will-change: transform;
}

.mf-perfect-gallery-item:hover .mf-perfect-gallery-img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Overlay with Title */
.mf-perfect-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 20px 15px 15px;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.mf-perfect-gallery-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Modal Overlay */
.mf-perfect-gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    padding: 20px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: opacity, visibility;
}

.mf-perfect-gallery-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mf-perfect-gallery-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    will-change: transform;
}

.mf-perfect-gallery-modal-overlay.active .mf-perfect-gallery-modal {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.mf-perfect-gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    will-change: transform, background-color;
    -webkit-tap-highlight-color: transparent;
}

.mf-perfect-gallery-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.mf-perfect-gallery-modal-image {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.mf-perfect-gallery-modal-caption {
    padding: 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #2c2420;
    text-align: left;
    margin: 0;
    line-height: 1.6;
    background: #ffffff;
}

/* Animations */
@-webkit-keyframes mf-perfect-gallery-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes mf-perfect-gallery-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Tablet Responsive */
@media (min-width: 768px) {
    .mf-perfect-gallery-section {
        padding: 30px 40px 80px;
    }

    .mf-perfect-gallery-headline {
        font-size: 2.6rem;
        margin-bottom: 24px;
    }

    .mf-perfect-gallery-description {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .mf-perfect-gallery-header {
        margin-bottom: 40px;
    }

    .mf-perfect-gallery-title {
        font-size: 1.1rem;
    }

    .mf-perfect-gallery-overlay {
        padding: 25px 20px 20px;
    }
}

/* Desktop Responsive */
@media (min-width: 1024px) {
    .mf-perfect-gallery-section {
        padding: 40px 50px 100px;
    }

    .mf-perfect-gallery-headline {
        font-size: 3rem;
        margin-bottom: 28px;
    }

    .mf-perfect-gallery-description {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .mf-perfect-gallery-header {
        margin-bottom: 50px;
    }

    .mf-perfect-gallery-title {
        font-size: 1.2rem;
    }

    .mf-perfect-gallery-overlay {
        padding: 30px 25px 25px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .mf-perfect-gallery-section {
        padding: 50px 60px 120px;
    }

    .mf-perfect-gallery-headline {
        font-size: 3.4rem;
        margin-bottom: 32px;
    }

    .mf-perfect-gallery-description {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    .mf-perfect-gallery-header {
        margin-bottom: 60px;
    }

    .mf-perfect-gallery-title {
        font-size: 1.3rem;
    }
}

/* Cross-browser compatibility */
@supports (-webkit-appearance: none) {
    .mf-perfect-gallery-modal-close {
        -webkit-appearance: none;
    }
}

/* Fallback for browsers without aspect-ratio support */
@supports not (aspect-ratio: 4/3) {
    @media (max-width: 767px) {
        .mf-perfect-gallery-item {
            position: relative;
            padding-bottom: 75%;
            height: 0;
        }
        
        .mf-perfect-gallery-item .mf-perfect-gallery-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .mf-perfect-gallery-header,
    .mf-perfect-gallery {
        -webkit-animation: none;
        animation: none;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-perfect-gallery-item,
    .mf-perfect-gallery-img,
    .mf-perfect-gallery-modal-close {
        -webkit-transition: none;
        transition: none;
    }
    
    .mf-perfect-gallery-item:hover,
    .mf-perfect-gallery-modal-close:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-perfect-gallery-item:hover .mf-perfect-gallery-img {
        -webkit-transform: none;
        transform: none;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mf-perfect-gallery-item:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-perfect-gallery-item:hover .mf-perfect-gallery-img {
        -webkit-transform: none;
        transform: none;
    }
    
    .mf-perfect-gallery-modal-close:hover {
        background: rgba(0, 0, 0, 0.7);
        -webkit-transform: none;
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mf-perfect-gallery-section {
        border-top: 2px solid #2c2420;
        border-bottom: 2px solid #2c2420;
    }
    
    .mf-perfect-gallery-item {
        border: 2px solid #2c2420;
    }
    
    .mf-perfect-gallery-overlay {
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    }
}

/* In-app browser compatibility */
.mf-perfect-gallery-section * {
    -webkit-tap-highlight-color: transparent;
}

/* ===== MOTOPI FARM BEEF WHOLESALE SECTION ===== */
/* Mobile-first approach with cross-browser compatibility */
/* Compatible with in-app browsers (Facebook, Instagram, etc.) */

.mf-beef-wholesale-section {
    position: relative;
    padding: 20px 20px 60px;
    background: linear-gradient(135deg, #f8f5f2 0%, #ede8e3 100%);
}

.mf-beef-wholesale-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.mf-beef-wholesale-content {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-animation: mf-beef-wholesale-fadeInUp 0.8s ease-out 0.2s forwards;
    animation: mf-beef-wholesale-fadeInUp 0.8s ease-out 0.2s forwards;
    will-change: opacity, transform;
}

.mf-beef-wholesale-intro {
    position: relative;
    margin-bottom: 40px;
}

.mf-beef-wholesale-graphic {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
    display: none;
}

.mf-beef-wholesale-headline {
    font-family: 'Manrope', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2420;
    line-height: 1.3;
    margin-bottom: 20px;
    text-align: left;
}

.mf-beef-wholesale-description {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #5a4f42;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
}

.mf-beef-wholesale-benefits {
    margin: 40px 0 50px 0;
}

.mf-beef-wholesale-benefit-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(226, 209, 192, 0.3);
    -webkit-box-shadow: 0 4px 20px rgba(44, 36, 32, 0.06);
    box-shadow: 0 4px 20px rgba(44, 36, 32, 0.06);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    will-change: transform, box-shadow;
}

.mf-beef-wholesale-benefit-item:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 8px 30px rgba(44, 36, 32, 0.1);
    box-shadow: 0 8px 30px rgba(44, 36, 32, 0.1);
}

.mf-beef-wholesale-benefit-item:last-child {
    margin-bottom: 0;
}

.mf-beef-wholesale-benefit-icon {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.mf-beef-wholesale-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    will-change: transform;
}

.mf-beef-wholesale-benefit-item:hover .mf-beef-wholesale-icon-img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.mf-beef-wholesale-benefit-text h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c2420;
    margin: 0 0 12px 0;
    line-height: 1.3;
    text-align: left;
}

.mf-beef-wholesale-benefit-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #5a4f42;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.mf-beef-wholesale-cta {
    text-align: center;
    margin-top: 40px;
}

.mf-beef-wholesale-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    background-color: #974240;
    color: #ffffff;
    padding: 18px 36px;
    border-radius: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border: 2px solid #974240;
    will-change: transform, background-color;
    -webkit-tap-highlight-color: transparent;
}

.mf-beef-wholesale-btn:hover {
    background-color: #7a3632;
    border-color: #7a3632;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 8px 25px rgba(151, 66, 64, 0.3);
    box-shadow: 0 8px 25px rgba(151, 66, 64, 0.3);
}

.mf-beef-wholesale-btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Animations */
@-webkit-keyframes mf-beef-wholesale-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes mf-beef-wholesale-fadeInUp {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .mf-beef-wholesale-section {
        padding: 30px 40px 80px;
    }

    .mf-beef-wholesale-intro .mf-beef-wholesale-graphic {
        width: 140px;
        height: 140px;
        right: 20px;
        top: 0;
    }

    .mf-beef-wholesale-headline {
        font-size: 2.6rem;
        margin-bottom: 24px;
    }

    .mf-beef-wholesale-description {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .mf-beef-wholesale-benefit-item {
        padding: 30px 25px;
        margin-bottom: 35px;
    }

    .mf-beef-wholesale-benefit-text h4 {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .mf-beef-wholesale-benefit-text p {
        font-size: 1.1rem;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .mf-beef-wholesale-section {
        padding: 40px 50px 100px;
    }

    .mf-beef-wholesale-intro .mf-beef-wholesale-graphic {
        display: block;
        width: 160px;
        height: 160px;
        right: 40px;
        top: 0;
    }

    .mf-beef-wholesale-headline {
        font-size: 3rem;
        margin-bottom: 28px;
    }

    .mf-beef-wholesale-description {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .mf-beef-wholesale-benefits {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 40px 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin: 50px 0 60px 0;
    }

    .mf-beef-wholesale-benefit-item {
        margin-bottom: 0;
        padding: 35px 30px;
    }

    .mf-beef-wholesale-benefit-text h4 {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .mf-beef-wholesale-benefit-text p {
        font-size: 1.2rem;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .mf-beef-wholesale-section {
        padding: 50px 60px 120px;
    }

    .mf-beef-wholesale-intro .mf-beef-wholesale-graphic {
        width: 280px;
        height: auto;
        right: 60px;
        top: 0;
    }

    .mf-beef-wholesale-headline {
        font-size: 3.4rem;
        margin-bottom: 32px;
    }

    .mf-beef-wholesale-description {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }

    .mf-beef-wholesale-benefits {
        gap: 50px;
        margin: 60px 0 70px 0;
    }

    .mf-beef-wholesale-benefit-item {
        padding: 40px 35px;
    }
}

/* Cross-browser compatibility */
@supports (-webkit-appearance: none) {
    .mf-beef-wholesale-btn {
        -webkit-appearance: none;
    }
}

/* Grid fallback for older browsers */
@supports not (display: grid) {
    .mf-beef-wholesale-benefits {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .mf-beef-wholesale-benefit-item {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 20px);
        flex: 1 1 calc(50% - 20px);
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .mf-beef-wholesale-content {
        -webkit-animation: none;
        animation: none;
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
    
    * {
        -webkit-transition: none !important;
        transition: none !important;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .mf-beef-wholesale-benefit-item:hover {
        -webkit-transform: none;
        transform: none;
        -webkit-box-shadow: 0 4px 20px rgba(44, 36, 32, 0.06);
        box-shadow: 0 4px 20px rgba(44, 36, 32, 0.06);
    }
    
    .mf-beef-wholesale-btn:hover {
        background-color: #974240;
        -webkit-transform: none;
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mf-beef-wholesale-section {
        border-top: 2px solid #2c2420;
        border-bottom: 2px solid #2c2420;
    }
    
    .mf-beef-wholesale-benefit-item {
        border-width: 2px;
        border-color: #2c2420;
    }
}

/* In-app browser compatibility */
.mf-beef-wholesale-section * {
    -webkit-tap-highlight-color: transparent;
}