/* Mobile-specific styles */
:root {
    --primary-color: #f15e75;
    --text-color: #333;
    --bg-color: #fff;
    --header-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    background-color: #f7f8f9;
}

/* Mobile Header */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: var(--header-height);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-logo {
    height: 40px;
    width: auto;
}

.store-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    background: var(--bg-color);
    padding: 15px;
    border-top: 1px solid #eee;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu nav ul li {
    margin: 10px 0;
}

.mobile-menu nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 5px 0;
}

.store-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.store-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.store-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Mobile Hero Section */
.mobile-hero {
    margin-top: var(--header-height) !important;
    background-image: url('../img/mainpagemobile.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    height: 250px !important;
    min-height: 250px !important;
    max-height: none !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    z-index: 1 !important;
    filter: brightness(1.2) !important;
    -webkit-filter: brightness(1.2) !important;
}

/* Override any global overlays */
.mobile-hero::before,
.mobile-hero::after,
body::after {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

/* Ensure no other styles override these */
@media (max-width: 991px) {
    .mobile-hero {
        height: 400px !important;
        min-height: 400px !important;
        max-height: none !important;
    }
}

/* Mobile Content Sections */
.mobile-content {
    padding: 20px 15px;
}

.mobile-section {
    background: var(--bg-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mobile-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.section-content {
    font-size: 14px;
    line-height: 1.6;
}

.section-content p {
    margin-bottom: 15px;
    color: #444;
}

#about .section-content p {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
}

/* Beef Brands Section */
.beef-brands {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    width: 100%;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.brand-logo {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.beef-description {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    padding: 0 20px;
    max-width: 320px;
}

/* Remove old product categories styles */
.product-categories {
    display: none;
}

/* Contact Section */
.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

/* Mobile Footer */
.mobile-footer {
    background: var(--bg-color);
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Featured Products Section */
.featured-products-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    position: relative;
}

.featured-products-scroll {
    display: table;
    table-layout: fixed;
    width: auto;
    min-width: 100%;
    border-spacing: 30px 0;
    padding: 0 20px;
}

.product-item {
    display: table-cell;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    vertical-align: top;
    text-align: center;
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: #fff;
    padding: 10px;
    margin: 0 auto 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: block;
}

.product-info {
    text-align: center;
    width: 100%;
    padding: 0 5px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.4;
    min-height: 40px;
    display: block;
}

.product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: block;
}

/* Hide scrollbar but keep functionality */
.featured-products-wrapper::-webkit-scrollbar {
    display: none;
}

.featured-products-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Reset any potential Bootstrap interference */
.mobile-section#specials * {
    box-sizing: border-box;
}

.mobile-section#specials .featured-products-wrapper,
.mobile-section#specials .featured-products-scroll,
.mobile-section#specials .product-item {
    float: none !important;
    clear: none !important;
    position: static !important;
}

/* Remove old featured products styles */
.featured-products {
    display: none;
}

/* Remove old specials styles */
.specials-grid {
    display: none;
} 