:root {
    --maroon:#7b1e3c;
    --light:#fff6ec;
}
body.food-bg{
    background-image: url("image/food-item-1.png");
}
body.shop-bg{
    background-image: url("image/shopping.png");
}
body.dev-bg{
    background-image: url("image/gsp-logo.png");
}
.list-container {
    max-width: 480px;
    margin: auto;
    padding: 12px;
}

.stall-row {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 18px;
    height: 132px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.06);
    margin-bottom: 12px;

    position: relative;
}
.stall-index {
    min-width: 24px;
    font-weight: 700;
    color: var(--maroon);
    margin-right: 14px;
}
.stall-info {
    flex: 1;
    max-width: calc(100% - 44px);
    padding-right: 36px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.stall-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;

    word-break: break-word;
    overflow-wrap: anywhere;
}
.stall-owner {
    font-size: 13px;
    color: #555;

    display: -webkit-box;
    -webkit-line-clamp: 2;     
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.stall-arrow {
    flex: 0 0 24px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);

    font-size: 20px;
    color: #aaa;
    flex-shrink: 0;

}
@media (min-width: 768px) {
    .list-container {
        max-width: 600px;
    }

    .stall-name {
        font-size: 16px;
    }
}
@media (min-width: 1024px) {
    .list-container {
        max-width: 720px;
    }
}
.stall-page {
    min-height: 100vh;
}
.stall-bg-section {
    padding: 20px 16px;
}
.stall-container {
    max-width: 520px;
    margin: auto;
}
.stall-detail-card {
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.stall-detail-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 14px;
}
.stall-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--maroon);
    text-align: center;
    margin-bottom: 18px;
}
.stall-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: #faf3eb;
    border-radius: 12px;
}

.stall-info-label {
    width: 120px;       
    font-weight: 600;
    color: #555;
    font-size: 14px;
    flex-shrink: 0;    
}

.stall-info-value {
    flex: 1;            
    min-width: 0;       
    font-weight: 600;
    color: #222;
    font-size: 14px;
    line-height: 1.4;
}

.food-section {
    margin-top: 18px;
}

.food-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--maroon);
}
.food-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.food-list li {
    background: #fff6ec;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,.05);
}
.food-list .empty-text {
    text-align: center;
    color: #777;
    font-style: italic;
}
.fade-in {
    animation: fadeInUp .6s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (min-width: 768px) {
    .stall-container {
        max-width: 620px;
    }

    .stall-title {
        font-size: 24px;
    }
}
@media (min-width: 1024px) {
    .stall-container {
        max-width: 700px;
    }
}
