.header-left h1 {
    color: #000000;
    font-size: 24px;
    margin-bottom: 4px;
}

.header-subtitle {
    color: var(--text-grey);
}

.location-icon-down {
    font-size: 10px;
}

.header-right {
    display: flex;
    gap: 8px;
}

.header-cart-wrapper {
    position: relative;
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories-section-container {
    padding: 12px 16px 16px;
}

.seo-hidden-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cat-card-v2 {
    text-decoration: none;
}

.cat-card-mini {
    text-decoration: none;
}

.quick-service-section-padding {
    padding: 0 16px 20px;
}

.seo-keywords-container {
    padding: 24px 16px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.seo-text-container {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 14px;
}

.seo-section-center {
    text-align: center;
    margin-bottom: 24px;
}

.seo-section-title {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    margin-top: 0;
}

.seo-content-justify {
    line-height: 1.8;
    text-align: justify;
}

.seo-subsection-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.seo-content-p {
    margin-bottom: 20px;
}

.seo-link-grey {
    color: #666;
    text-decoration: none;
}

.seo-content-summary-p {
    margin-bottom: 15px;
}

.seo-internal-links-section {
    background: #f9f9f9;
    padding: 40px 16px;
    border-top: 1px solid #eee;
}

.seo-links-container {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-link-group-wrapper {
    margin-bottom: 30px;
}

.seo-link-group-title {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding-left: 10px;
}

.seo-link-group-title.blue {
    color: #0288d1;
    border-left: 4px solid #0288d1;
}

.seo-link-group-title.orange {
    color: #ff9800;
    border-left: 4px solid #ff9800;
}

.seo-link-group-title.green {
    color: #4caf50;
    border-left: 4px solid #4caf50;
}

.seo-link-group-title.dark {
    color: #333;
    border-left: 4px solid #333;
}

.seo-link-clean {
    text-decoration: none;
    color: inherit;
}

.seo-grid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-pill-link {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.seo-areas-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.category-grid-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 82%; /* Approx 80% width */
    margin-left: auto;
    margin-bottom: 16px;
    padding: 0 6px;
}

/* Adjust card styles for smaller grid view */
.category-grid-right .cat-card-v2, 
.category-grid-right .cat-card-mini {
    height: 120px; /* Base height for rectangular cards */
    margin: 0 !important;
    display: flex;
}

.category-grid-right .cat-card-square {
    aspect-ratio: 1 / 1;
    height: auto !important; /* Allow aspect-ratio to take over */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-grid-right .cat-left {
    padding: 12px 15px;
    max-width: 65%;
    min-height: 110px;
}

.category-grid-right .cat-left h3 {
    font-size: 15px;
}

.category-grid-right .cat-left p {
    font-size: 11px;
}

.category-grid-right .cat-mini-content {
    padding: 10px;
}

.category-grid-right .cat-mini-content h4 {
    font-size: 14px;
}

.category-grid-right .cat-mini-content p {
    font-size: 10px;
}

/* Ensure images cover correctly in square view */
.cat-card-square .cat-bg-img {
    object-position: center !important;
}

/* Mobile specific overrides to ensure they stay side-by-side */
@media (max-width: 768px) {
    .category-grid-right {
        width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    .category-grid-right .cat-card-v2, 
    .category-grid-right .cat-card-mini {
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .category-grid-right .cat-card-square {
        aspect-ratio: 1 / 1 !important;
    }
    
    .category-grid-right .cat-left {
        padding: 10px !important;
        max-width: 80% !important;
        min-height: unset !important;
    }
    
    .category-grid-right .cat-left h3 {
        font-size: 13px !important;
    }
    
    .category-grid-right .cat-left p {
        font-size: 10px !important;
    }
}
