.store-header {
    text-align: center;
    margin-bottom: 3rem;
}

.store-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 2.2rem; /* 增大標題尺寸 */
}

@media (max-width: 768px) {
    .store-title {
        font-size: 2rem; /* 在手機上仍維持較大字體 */
    }
}

.title-underline {
    height: 3px;
    width: 60px;
    background: #952B32;
    margin: 1rem auto;
    border-radius: 2px;
}

.store-sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.btn-store {
    display: block;
    padding: 0.75rem 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    font-size: 1.25rem; /* 增大按鈕文字 */
}

@media (min-width: 768px) {
    .btn-store {
        font-size: 1.1rem; /* 在大屏幕上可以稍微縮小 */
    }
}

.btn-store:hover,
.btn-store.active {
    background: #952B32;
    color: white !important;
    text-decoration: none;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

.store-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.store-image {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
}

.store-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.store-name {
    color: #952B32;
    font-size: 1.5rem; /* 增大店家名稱 */
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}

/* 更好的響應式字型大小 */
@media (max-width: 992px) {
    .store-name {
        font-size: 1.4rem; /* 平板上維持較大字體 */
    }
}

@media (max-width: 576px) {
    .store-name {
        font-size: 1.35rem; /* 小手機上維持較大字體 */
        margin-bottom: 0.75rem;
    }
}

.store-detail {
    color: #666;
    margin-bottom: 0.75rem; /* 增加間距以改善可讀性 */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem; /* 增大詳細信息文字 */
}

@media (max-width: 768px) {
    .store-detail {
        font-size: 1.1rem; /* 手機上維持較大字體 */
    }
}

.store-detail i,
.store-detail svg {
    color: #952B32;
    width: 20px; /* 增大圖標尺寸 */
    height: 20px;
    flex-shrink: 0;
}

.store-detail a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-detail a:hover {
    color: #952B32;
}

@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .store-sidebar {
        margin-bottom: 2rem;
        position: static;
    }
}

/* 改善可讀性的額外間距 */
@media (max-width: 576px) {
    .store-info {
        padding: 1.5rem; /* 增加內部間距 */
    }
    
    .store-detail {
        margin-bottom: 1rem; /* 增加詳情間的間距 */
    }
    
    /* 增加點擊目標大小，更易於觸控 */
    .store-detail a {
        padding: 0.25rem 0;
        display: inline-block;
    }
}